This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
re:68000 cross compiler with newlib problems
- From: rcanup at hal-pc dot org
- To: newlib at sourceware dot org
- Date: Sun, 23 Mar 2014 11:35:42 -0500
- Subject: re:68000 cross compiler with newlib problems
- Authentication-results: sourceware.org; auth=none
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?