This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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:68000 cross compiler with newlib problems


I just used the following command lines using my bootstrap gcc-4.8.3 compiler to produce hello.s and hello.o while using the -mcpu=68000 flag to it.

/usr/local/m68k-elf/bin/m68k-elf-gcc -mcpu=68000 ../cprograms/hello.c -I/usr/include -S

/usr/local/m68k-elf/bin/m68k-elf-gcc -mcpu=68000 ../cprograms/hello.c -I/usr/include -c

The assembler didn't complain about that flag in the '-c' line- which tells me there is something strange is going on in the Newlib build and somehow the wrong assembler is being invoked.

Maybe the 'AS=' variable in one of the subdirectory Makefile's isn't being set correctly?


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