This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
issues with gcc 4.4.6
- From: "GUPTA, GAURAV G (GAURAV)" <gaurav dot g dot gupta at alcatel-lucent dot com>
- To: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Cc: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Thu, 7 Mar 2013 14:39:03 +0530
- Subject: issues with gcc 4.4.6
Hello there
I have 2 broad level question .
1. Whether it is compulsory to build all the library inside gcc source rpm .If yes what are the configure options that helps in building or not building the library .
2.Do I need to build gcc in 1 one pass or 2 pass if building the cross compiler for linux
DFLAGS="-Wl,-rpath,/local/gagupta/gccfolder" \
${SOURCES_GCC}/configure \
--prefix=${CLFS_CROSS_TOOLS} --target=${CLFS_TARGET} --disable-decimal-float --with-sysroot=${CLFS} --with-native-system-header-dir=${CLFS}/usr --enable-languages=c,c++,objc,obj-c++ --enable-shared --disable-nls --disable-libgomp --enable-__cxa_atexit --enable-long-long --disable-libmudflap --enable-threads=posix --enable-checking=release --enable-c99
make[2]: Leaving directory `/local/gagupta/gccfolder/crosscompile/gcc-build/libiberty'
I am still getting these error .I have extracted stdc++ rpm in my sysroot.
/bin/sh: line 3: cd: x86_64-redhat-linux-gnu/libstdc++-v3: No such file or directory
make[1]: *** [install-target-libstdc++-v3] Error 1
make[1]: Leaving directory `/local/gagupta/gccfolder/crosscompile/gcc-build'
make: *** [install] Error 2
pwd
[1]+ Exit 2
Thanks
Gaurav