This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcc assembler output


>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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]