This is the mail archive of the gcc@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]

GCC not finding target as


The GCC build (svn revision 118976) is not finding the target as,
although it appears to be in the right place.

Thanks,
Shaun

$ ../configure --target=avr --enable-languages=c --prefix=/usr
...
$ cat gcc/as
#!/bin/sh
exec  "$@"
$ /usr/bin/avr-as --version | head -1
GNU assembler 2.16.1
$ make
...
make[3]: Entering directory
`/home/sjackman/src/toolchain/gcc-svn/_build-avr/gcc'
/home/sjackman/src/toolchain/gcc-svn/_build-avr/./gcc/xgcc
-B/home/sjackman/src/toolchain/gcc-svn/_build-avr/./gcc/
-B/usr/avr/bin/ -B/usr/avr/lib/ -isystem /usr/avr/include -isystem
/usr/avr/sys-include -O2  -O2 -g -O2  -DIN_GCC -DCROSS_COMPILE   -W
-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include  -DDF=SF -Dinhibit_libc
-mcall-prologues -Os -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED
-Dinhibit_libc -I. -I. -I../../gcc -I../../gcc/.
-I../../gcc/../include -I../../gcc/../libcpp/include
-I../../gcc/../libdecnumber -I../libdecnumber -DL_mulqi3
-xassembler-with-cpp -c ../../gcc/config/avr/libgcc.S -o
libgcc/./_mulqi3.o
/home/sjackman/src/toolchain/gcc-svn/_build-avr/./gcc/as: line 2:
exec: -o: invalid option
exec: usage: exec [-cl] [-a name] file [redirection ...]
make[3]: *** [libgcc/./_mulqi3.o] Error 1
make[3]: Leaving directory `/home/sjackman/src/toolchain/gcc-svn/_build-avr/gcc'
make[2]: *** [stmp-multilib] Error 2
make[2]: Leaving directory `/home/sjackman/src/toolchain/gcc-svn/_build-avr/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/home/sjackman/src/toolchain/gcc-svn/_build-avr'
make: *** [all] Error 2


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