Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: nyteschayde on January 09, 2012, 06:47:00 PM

Title: Coding: CubicIDE, GCC and ixemul.library
Post by: nyteschayde on January 09, 2012, 06:47:00 PM
I wanted as good of a dev environment as I could get on the Amiga and so I picked up CubicIDE. It comes with vbcc and two versions of GCC. One is 2.95 and the other, I want to say, is like 3.33.

I wrote a small CLI utility last night, but after getting it all compiled I booted with no startup sequence and gave it a go and got an immediate request for ixemul.library.

So here are my questions:


I was able to get it going in vbcc without requiring ixemul.library, but it would be nice to know how to do it in gcc as well.
Title: Re: Coding: CubicIDE, GCC and ixemul.library
Post by: mongo on January 09, 2012, 06:58:52 PM
I don't know how to set compiler flags with CubicIDE, but you need to pass the -noixemul flag to GCC to produce code that doesn't require ixemul.library.
Title: Re: Coding: CubicIDE, GCC and ixemul.library
Post by: nyteschayde on January 09, 2012, 07:05:12 PM
Quote from: mongo;675048
I don't know how to set compiler flags with CubicIDE, but you need to pass the -noixemul flag to GCC to produce code that doesn't require ixemul.library.

Excellent! I'll give that a try.