<div dir="ltr"><div>configure:3569: checking whether to enable maintainer-specific portions of Makefiles<br>configure:3578: result: no<br>User:<br>ABI=<br>CC=<br>CFLAGS=(unset)<br>CPPFLAGS=(unset)<br>MPN_PATH=<br>GMP:<br>abilist=32<br>
cclist=gcc icc cc<br>configure:5560: gcc 2>&1 | grep xlc >/dev/null<br>configure:5563: $? = 1<br>configure:5617: checking compiler gcc -m32 -O2 -pedantic -fomit-frame-pointer <br>Test compile: <br>configure:5631: gcc -m32 -O2 -pedantic -fomit-frame-pointer  conftest.c >&5<br>
configure:5634: $? = 0<br>configure:5639: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest<br>./configure: line 5640: ./a.out: No such file or directory<br>./configure: line 5640: ./b.out: No such file or directory<br>
./configure: line 5640: ./a.exe: No such file or directory<br>./configure: line 5640: ./a_out.exe: No such file or directory<br>./configure: line 5640: ./conftest: No such file or directory<br>configure:5642: $? = 127<br>
failed program was:<br><br>int main () { return 0; }<br>configure:6657: result: no, program does not run<br>configure:5617: checking compiler gcc -O2 -pedantic -fomit-frame-pointer <br>Test compile: <br>configure:5631: gcc -O2 -pedantic -fomit-frame-pointer  conftest.c >&5<br>
configure:5634: $? = 0<br>configure:5639: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest<br>./configure: line 5640: ./a.out: No such file or directory<br>./configure: line 5640: ./b.out: No such file or directory<br>
./configure: line 5640: ./a.exe: No such file or directory<br>./configure: line 5640: ./a_out.exe: No such file or directory<br>./configure: line 5640: ./conftest: No such file or directory<br>configure:5642: $? = 127<br>
failed program was:<br><br>int main () { return 0; }<br>configure:6657: result: no, program does not run<br>configure:5538: icc -c conftest.c >&5<br>./configure: line 5539: icc: command not found<br>configure:5541: $? = 127<br>
configure:5560: icc 2>&1 | grep xlc >/dev/null<br>configure:5563: $? = 1<br>configure:5617: checking compiler icc -no-gcc <br>Test compile: <br>configure:5631: icc -no-gcc  conftest.c >&5<br>./configure: line 5632: icc: command not found<br>
configure:5634: $? = 127<br>failed program was:<br><br>int main () { return 0; }<br>configure:6657: result: no<br>configure:5538: cc -c conftest.c >&5<br>./configure: line 5539: cc: command not found<br>configure:5541: $? = 127<br>
configure:5560: cc 2>&1 | grep xlc >/dev/null<br>configure:5563: $? = 1<br>configure:5617: checking compiler cc -O <br>Test compile: <br>configure:5631: cc -O  conftest.c >&5<br>./configure: line 5632: cc: command not found<br>
configure:5634: $? = 127<br>failed program was:<br><br>int main () { return 0; }<br>configure:6657: result: no<br>configure:6895: error: could not find a working compiler, see config.log for details<br><br><br></div>I do not get it. What did i miss?<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/9/7 san <span dir="ltr"><<a href="mailto:san@plusnet.pl" target="_blank">san@plusnet.pl</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Nope, it does not work too.<br></div><div class="gmail_extra"><div><div class="h5"><br><br><div class="gmail_quote">2013/9/7 san <span dir="ltr"><<a href="mailto:san@plusnet.pl" target="_blank">san@plusnet.pl</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I downloaded daily gmp (20130906) and it seems to work.<br></div><div class="gmail_extra"><div><div>
<br><br><div class="gmail_quote">2013/9/7 san <span dir="ltr"><<a href="mailto:san@plusnet.pl" target="_blank">san@plusnet.pl</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Yup!<br><br>root:/sources/gmp-5.1.2# mv -v config{fsf,}.guess<br>'configfsf.guess' -> 'config.guess'<br>


root:/sources/gmp-5.1.2# mv -v config{fsf,}.sub<br>'configfsf.sub' -> 'config.sub'<div><br>
root:/sources/gmp-5.1.2# CPPFLAGS=-fexceptions CC="gcc -isystem /usr/include" \<br>> CXX="g++ -isystem /usr/include" \<br>> LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib" \<br>>   ./configure --prefix=/usr --enable-cxx --enable-mpbsd<br>



configure: WARNING: unrecognized options: --enable-mpbsd<br></div><div>checking build system type... i586-pc-linux-gnu<br>checking host system type... i586-pc-linux-gnu<br>checking for a BSD-compatible install... /tools/bin/install -c<br>



checking whether build environment is sane... yes<br>checking for a thread-safe mkdir -p... /tools/bin/mkdir -p<br>checking for gawk... gawk<br>checking whether make sets $(MAKE)... yes<br>checking whether to enable maintainer-specific portions of Makefiles... no<br>



checking ABI=32<br></div><div>checking compiler gcc -isystem /usr/include -m32 -O2 -pedantic -fomit-frame-pointer -fexceptions... no, program does not run<br>checking compiler gcc -isystem /usr/include -O2 -pedantic -fomit-frame-pointer -fexceptions... no, program does not run<br>


</div><div>
configure: error: could not find a working compiler, see config.log for details<br><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/9/6 William Harrington <span dir="ltr"><<a href="mailto:kb0iic@berzerkula.org" target="_blank">kb0iic@berzerkula.org</a>></span><br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div style="word-wrap:break-word"><div><br><div><div>On Sep 6, 2013, at 5:08 AM, san wrote:</div>
<br><blockquote type="cite">
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">checking compiler gcc -isystem /usr/include -m32 -O2 -pedantic -fomit-frame-pointer -fexceptions... no, program does not run<br>



checking compiler gcc -isystem /usr/include -O2 -pedantic -fomit-frame-pointer -fexceptions... no, program does not run</span></blockquote></div><br></div><div>Okay,</div><div><br></div><div>When you built GMP did you read the note about if you are running on a different machine than the target and to copy configfsf.guess and configfsf.sub ?</div>



<div><br></div><div><a href="http://cross-lfs.org/view/CLFS-2.0.0/x86/final-system/gmp.html" target="_blank">http://cross-lfs.org/view/CLFS-2.0.0/x86/final-system/gmp.html</a></div><div><br></div><div>If you are using an i686 host to build an i586 toolchain, your i586 toolchain won't be able to run programs unless you do that during GMP, because GMP will configure and optimize itself for the current CPU it is being built with.  If you look in your config.log when after configure fails, you will find the error of why the program can't run. It probably has illegal instructions or such.</div>



<div><br></div><div>Sincerely,</div><div><br></div><div>William Harrington</div><div><br></div></div><br></div></div><div>_______________________________________________<br>
Clfs-support mailing list<br>
<a href="mailto:Clfs-support@lists.cross-lfs.org" target="_blank">Clfs-support@lists.cross-lfs.org</a><br>
<a href="http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org" target="_blank">http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org</a><br>
<br></div></blockquote></div><span><font color="#888888"><br><br clear="all"><br>-- <br>[ e-San.info | <a href="mailto:San@plusnet.pl" target="_blank">San@plusnet.pl</a> ]
</font></span></div>
</blockquote></div><br><br clear="all"><br></div></div><span><font color="#888888">-- <br>[ e-San.info | <a href="mailto:San@plusnet.pl" target="_blank">San@plusnet.pl</a> ]
</font></span></div>
</blockquote></div><br><br clear="all"><br></div></div><span class="HOEnZb"><font color="#888888">-- <br>[ e-San.info | <a href="mailto:San@plusnet.pl" target="_blank">San@plusnet.pl</a> ]
</font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br>[ e-San.info | <a href="mailto:San@plusnet.pl">San@plusnet.pl</a> ]
</div>