On Saturday 23 January 2010 09:32:12 you wrote:
> On Saturday 23 January 2010 08:26:53 haiye1018 wrote:
> > hello
> >
> > In LFS6.4 step 5.17 compile coreutils-6.12 error:
> >
> >
> > How to edit coreutils'configure scriptsss to get rid of selinux support?
> >
> > Can anyone help me to fix it?
> 
> I'm not sure the configure file is the problem.
> 
> Can you try to issue:
> 
> echo 'main(){}' > dummy.c
> cc -v dummy.c 2>&1 |grep include
> rm dummy.c
> 
> and include the output here, I have a feeling there may be a problem with
>  gcc on your build.
> 
> 
> Regards,
> Trent.
> 

Just for kicks I just built up to gcc pass 2 in chapter 5 and issued the 
commands above and this is my output:

<snipped some junk> 
#include "..." search starts here:
#include <...> search starts here:
 /mnt/data/data/build/lfs-main/lfs/lfs-testing/tools/bin/../lib/gcc/i686-pc-
linux-gnu/4.4.1/include
 /mnt/data/data/build/lfs-main/lfs/lfs-testing/tools/bin/../lib/gcc/i686-pc-
linux-gnu/4.4.1/include-fixed
 /tools/include


 If I'm reading the above correctly we're isolated from the host at this 
point, with the exception of PATH. Binutils takes care of the library search 
path and gcc takes care of the headers search path. Of course, there could be 
some evil configure scripts that look in well known locations... I'm mostly 
just thinking out loud here, but I'm hoping this can be confirmed so that I can 
give advice and help troubleshoot in the future with a bit more certainty.

-- 
Regards,
Trent.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to