Re: Problems with assembler files (gcc/CPU32)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



GermanMike <cd-rom@xxxxxx> writes:

>> To get the Motorola syntax, rebuild gcc with -DMOTOROLA=1.  Or, 
>> teach your tools to recognize MIT syntax.  You can find a complete
>>  list of both in the file opcodes/m68k-opc.c in the GNU binutils.
>> 
>> 
>
> As I was unsuccessful to find the file m68k-opc.c I used the option 
> -DMOTOROLA=1. The resulting assembler files match the ones I created without
> this option. E.g. there is still a "jbsr" instruction.

I meant that you need to rebuild gcc itself with -DMOTOROLA=1.

gcc 3.4 is pretty old, I don't actually know whether that will work
with gcc 3.4.

m68k-opc.c is here:

http://sourceware.org/cgi-bin/cvsweb.cgi/src/opcodes/m68k-opc.c?rev=1.32&content-type=text/x-cvsweb-markup&cvsroot=src

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux