This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problems with assembler files (gcc/CPU32)


GermanMike <cd-rom@gmx.de> 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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]