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 have build binutil, bootstrap gcc(Part1),glibc.Checked sh-linux-gcc by compiling small program (Hello.c).Compiling succesfully. During the build of complete gcc(part2) i get the following error :
checking whether the C compiler (/home/spsingh/Src-2003/tools/GCC/part2-sh4-gcc/gcc/xgcc -B/home/spsingh/Src-2003/tools/GCC/part2-sh4-gcc/gcc/ -B/mytoolchain/sh-linux/bin/ -B/mytoolchain/sh-linux/lib/ -isystem /mytoolchain/sh-linux/include -mb -O2 -g -O2 ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
make: *** [configure-target-libiberty] Error 1
If you will see it is taking mb (big endian) as below: -isystem /mytoolchain/sh-linux/include -mb -O2 -g -O2 ) works... no
though i have given CC="sh-linux-gcc -ml -m4" during
the make of glibc
I dont no why and from where it is taking.Moreover folder of mb have been created. This is the cause of problem. Can you give me some hint? I will be thankful to you.
I can't really tell without seeing how you configured gcc. It would also help to know which version of gcc you're building.
Have you tried using my crosstool.sh script to build the toolchain? It seems to work, maybe you could use it at least as a guide. It's at http://kegel.com/crosstool - Dan
-- My technical stuff: http://kegel.com My politics: see http://www.misleader.org for examples of why I'm for regime change
------ 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] |