This is the mail archive of the crossgcc@sourceware.cygnus.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]

Illegal instructions for 68000 generated with gcc -qrtems -m68000


I have been using gcc  linux pc (host) -> m68k (target) cross compiler
to compile a simple ADA program to run with the RTEMS operating system
on a 68000 based SBC. I have the above options to gcc in my Makefile but

the compiler produces extb  instructions (op code 0x49XX) which are
illegal for the 68000 (valid for 68020 etc) is there a switch to prevent

this? Looking at the help file I can't see anything appropriate.Using
68000 code two ext would be required  to take a byte to a long. I would
have assumed the -m68000 would do it.
Thanks for anticipated help,


------
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]