Problem building stage 1 ARM C compiler

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

 



Hi. I just built binutils, and am trying to build a stage 1 C compiler, targeting ARM (actually -mcpu=xscale -march=armv5te). Make results in an error (see below). xgcc is passing -m to the as it built, it seems, and as doesn't like that. Any suggestions?

TIA,
Rick


../configure --prefix=/usr/local/arm-elf --target=arm-elf --with- cpu=xscale --with-arch=armv5te --with-float=soft --with-newlib -- disable-nls --enable-threads=no --enable-symvers=gnu --enable- __cxa_atexit --enable-languages=c --disable-shared


/Users/rmann/Desktop/gcc/gcc-4.2.1/arm-elf-build/./gcc/xgcc -B/Users/ rmann/Desktop/gcc/gcc-4.2.1/arm-elf-build/./gcc/ -B/usr/local/arm-elf/ arm-elf/bin/ -B/usr/local/arm-elf/arm-elf/lib/ -isystem /usr/local/ arm-elf/arm-elf/include -isystem /usr/local/arm-elf/arm-elf/sys- include -O2 -O2 -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite- strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style- definition -isystem ./include -I. -I. -I../../gcc -I../../gcc/. - I../../gcc/../include -I../../gcc/../libcpp/include -I../../gcc/../ libdecnumber -I../libdecnumber -g0 -finhibit-size-directive -fno- inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno- toplevel-reorder -Dinhibit_libc \
  -c ../../gcc/crtstuff.c -DCRT_BEGIN \
  -o crtbegin.o
/Users/rmann/Desktop/gcc/gcc-4.2.1/arm-elf-build/./gcc/as: line 2: exec: -m: invalid option
exec: usage: exec [-cl] [-a name] file [redirection ...]
make[3]: *** [crtbegin.o] Error 1
make[2]: *** [extra] Error 2
make[1]: *** [stmp-multilib] Error 2
make: *** [all-gcc] Error 2


[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