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]

Re: Illegal instructions for 68000 generated with gcc -qrtems -m68000


Richard Pack wrote:
> 
> 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,

Since you mention compiling Ada, am I correct in remembering that you
are using gcc 2.8.1?  

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

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel@OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985

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