This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I just want to inform you, that building gcc-3.0.4 on HPUX-10.20 fails with the 20020303 snapshot of binutils. The error message is: ../../gcc-3.0.4/gcc/libgcc1-test.c:119: warning: function declaration isn't a prototype Testing libgcc1. Ignore linker warning messages. /home/hpj/work/build-gcc-3.0.4/gcc/xgcc -B/home/hpj/work/build-gcc-3.0.4/gcc/ -B/opt/local/arm-elf-gcc3.0.4/arm-elf/bin/ -B/opt/local/arm-elf-gcc3.0.4/arm-elf/lib/ -isystem /opt/local/arm-elf-gcc3.0.4/arm-elf/include -DCROSS_COMPILE -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include libgcc1-test.o -o libgcc1-test \ -nostartfiles -nostdlib `/home/hpj/work/build-gcc-3.0.4/gcc/xgcc -B/home/hpj/work/build-gcc-3.0.4/gcc/ -B/opt/local/arm-elf-gcc3.0.4/arm-elf/bin/ -B/opt/local/arm-elf-gcc3.0.4/arm-elf/lib/ -isystem /opt/local/arm-elf-gcc3.0.4/arm-elf/include --print-libgcc-file-name` /opt/local/arm-elf-gcc3.0.4/arm-elf/bin/ld:built in linker script:57: parse error collect2: ld returned 1 exit status gmake[1]: *** [libgcc1-test] Error 1 gmake[1]: Leaving directory `/home/hpj/work/build-gcc-3.0.4/gcc' gmake: *** [all-gcc] Error 2 With binutils-2.11.2 the are no problems. But only if the host gcc is version 3.0.4. With gcc-2.95.2 as host gcc the build fails. I use these commands: cd build-binutils-020303/ ../binutils-020303/configure --target=arm-elf --prefix=/opt/local/arm-elf-gcc3.0.4 gmake all info install cd ../gcc-3.0.4/gcc/ ln -s ../../newlib-1.10.0/newlib . cd ../../build-gcc-3.0.4/ PATH=/opt/local/arm-elf-gcc3.0.4/bin:/usr/local/bin:$PATH ../gcc-3.0.4/configure --target=arm-elf --prefix=/opt/local/arm-elf-gcc3.0.4 --with-gnu-as --with-gnu-ld -- with-newlib --enable-threads --enable-languages=c,c+ kind regards Hans Peter Jepsen -- Hans Peter Jepsen Phone: +45 74 88 50 11 Danfoss Drives A/S, Fax: +45 74 88 32 26 DG-1204, Ulsnaes 1, Email: Hans_Peter_Jepsen@danfoss.com DK-6300 Graasten, Denmark or: hpj@computer.org ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |