wrong to compile the gcc-4.1.2,everyone could help me .
I need mips-cross-tools. so I download the binulite-17 and its patch, gcc-4.1.2 and its patch ,glibc-2.5 and glibc-linuxthreads-2.5 glibc-ports-2.5 glibc-libin-2.5 .
to compile the binulite-17, OK!
to compile the gcc-4.1.2 , it show err!
I tar the gcc-4.1.2 , entry it , patch the patches, mkdir cross and cd cross,configure with ../configure --target=mipsel-linux --prefix=/opt/linux/bin (where the binulite tools ld . ranlib ...were here) --enable-languages=c --disable-shared --without-headers --with-newlib
that is OK!
But when I run make, it show err those:
checking target system type... mipsel-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for mipsel-linux-strip... mipsel-linux-strip
checking for --enable-version-specific-runtime-libs... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for mipsel-linux-gcc... /home/panger123/patch/gcc-4.1.2/little-cross/./gcc/xgcc -B/home/panger123/patch/gcc-4.1.2/little-cross/./gcc/ -B/opt/linux/little/mipsel-linux/bin/ -B/opt/linux/little/mipsel-linux/lib/ -isystem /opt/linux/little/mipsel-linux/include -isystem /opt/linux/little/mipsel-linux/sys-include
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
make: *** [configure-target-libmudflap] 错误 1
So I see the config.log , it show like this:
68 configure:5775: checking where to find the target gcj
69 configure:5803: checking where to find the target gfortran
70 configure:5831: checking where to find the target ld
71 configure:5856: checking where to find the target lipo
72 configure:5871: checking where to find the target nm
73 configure:5896: checking where to find the target objdump
74 configure:5921: checking where to find the target ranlib
75 configure:5946: checking where to find the target strip
76 configure:5971: checking where to find the target windres
77 configure:6024: checking whether to enable maintainer-specific portions of Makefiles
78 configure:6071: checking if symbolic links between directories work
No errs were show !
Maybe it is my wrong configuration , could anyone help me? thanks. My MSN is :email@example.com
Off the top of my head, I wonder if you have /tmp or $TMPDIR mounted -noexec.
Aside from that, I might need to wake up fully to have a better guess.
thanks you very much!
I'm happy to have helped... I can't tell you how many times I've run into this issue myself because I have a couple machines intentionally mounting /tmp -noexec. I either have to reset $TMPDIR before building or remount /tmp before building.
This isn't arcane knowledge... it's only from accidentally running headfirst into this wall myself... repeatedly.
|All times are GMT -5. The time now is 08:36 AM.|