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] |
Hello Peter, > >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+ It might be a typo when you did the copy&paste, but "--enable-languages=c,c+" should read "--enable-languages=c,c++". Or --enable-languages="c,c++". I don't know if your way is a good way on HPUX, but most people first make a bootstrap ( --with-newlib --without-headers --enable-languages=c ) to make the newlib libraries before they make a full C/C++ compiler. Checkout http://crossgcc.billgatliff.com for more information. When building the same GCC with the previous binutils (2.11.2), did you also use the same configure commands? Btw, why do you use a binutils snapshot? Jan ------ 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] |