MorphOS Developer
Posts: 510 from 2003/4/11
Quote:
do I use the same command lines in my makefiles/gcc command line...
that one would use to compile under MorphOS for the Peg2 for instance?
Yes.
Quote:
should it be something like... -elf32 -morphos...
Neither of those two exist ;)
Quote:
what are the defaults of the MOS hosted MOS targetted gcc environment?
The default is to create PPC code with System V ABI and output ELF files
Quote:
my specs are a 233mhz/060 if it has any bearing on anything... perhaps I could use a -cpu=233 command...
The -mcpu option doesn't really matter much in my experience, better avoid using it. It'd be -mcpu=604e if you really wanted to.
Anyway, to compile a file with optimisations for Ixemul, you'd use gcc -O2 -Wall myprogram.c -o myprogram. If you want to use Libnix instead (and you probably do), then add -noixemul to that line.
I rarely log in to MorphZone which means that I often miss private messages sent on here. If you wish to contact me, please email me at [username]@asgaard.morphos-team.net, where [username] is my username here on MorphZone.