[Clfs-support] Can i go chroot?

William Harrington kb0iic at berzerkula.org
Fri Sep 6 08:30:14 PDT 2013


On Sep 6, 2013, at 5:08 AM, san wrote:

> checking compiler gcc -isystem /usr/include -m32 -O2 -pedantic - 
> fomit-frame-pointer -fexceptions... no, program does not run
> checking compiler gcc -isystem /usr/include -O2 -pedantic -fomit- 
> frame-pointer -fexceptions... no, program does not run

Okay,

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 ?

http://cross-lfs.org/view/CLFS-2.0.0/x86/final-system/gmp.html

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.

Sincerely,

William Harrington

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clfs.org/pipermail/clfs-support-clfs.org/attachments/20130906/0aa66c58/attachment-0001.htm>


More information about the Clfs-support mailing list