gcc assembler output

Ken Rose rose@netcom.com
Wed Aug 23 08:18:00 GMT 2000


>I'm working on a cross-gcc from i386-linux to coldfire-elfwhich works fine
>so far but now I want to have "gcc -S" to generate assembler output in
>the Motorola syntax, so "gas" will work with the -M or -mri option.
>I haven't found a option for this.
There is no run-time switch for this, though you could probably hack one in in
a few hours.

>Which switch in the source hsa to be set therefor?
The config/m68k*.h file for your target should define MOTOROLA

The hack would be to add a -m switch, and then modify config/m68k.c to do 
run-time tests in all the places that are now #ifdef MOTOROLA.

Good luck
 Ken Rose

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com



More information about the crossgcc mailing list