This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
need help on 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>
- Date: Fri, 8 Mar 2013 03:48:51 +0530
- Subject: need help on 4.4.6
Folks
I really need some help on building gcc 4.4.6 .I have tried looking nearly all the gnu gcc material configure option.Nothing seems to be working out .
If some one can point me to some worth while material /notes for building it on linux without referring anything on the host .Even that will be great .
Here is the snapshot of the steps I am doing .I have my sysroot has /local/gagupta/gccfolder .I have extracted kernel and glibc-headers into sysroot .Now I am trying to build gcc in two step by a script .I keep hitting the wall now and then .
1.Some times it failes in stage2 not able to find some header files . where as the headers files are all good in sysroot .
checking for suffix of object files... configure: error: in `/local/gagupta/gccfolder/crosscompileorig/gcc-build/x86_64-unknown-linux-gnu/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
2. Some time it failes trying to locate a directory /bin/sh /local/gagupta/gccfolder/crosscompileorig/gcc-4.4.6-20120305/mkinstalldirs /local/gagupta/gccfolder/crosstoolsv1 /local/gagupta/gccfolder/crosstoolsv1
/bin/sh: line 3: cd: ./fixincludes: No such file or directory
make[1]: *** [install-fixincludes] Error 1
make[1]: Leaving directory `/local/gagupta/gccfolder/crosscompileorig/gcc-build'
make: *** [install] Error 2
3. Some time I see hell lot of directories mentiond in the below list and some time only 2 .based on changing the configure options .
The following languages will be built: c,c++,fortran,java,objc
*** This configuration is not supported in the following subdirectories:
???? target-libada gnattools
??? (Any other directories should still work fine.)
Thanks
Gaurav