Hi Dan!

Am Donnerstag, 20. April 2006 00:16 schrieb Dan Nicholson:
> On 4/19/06, Mag. Leonhard Landrock <[EMAIL PROTECTED]> wrote:
> > [EMAIL PROTECTED]:~$ gcc -v
> > Using built-in specs.
> > Target: i486-linux-gnu
> > Configured
> > with: ../src/configure -v
> > --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr
> > --enable-shared --with-system-zlib --libexecdir=/usr/lib
> > --without-included-gettext --enable-threads=posix --enable-nls
> >  --program-suffix=-4.0 --enable-__cxa_atexit --enable-clocale=gnu
> >  --enable-libstdcxx-debug --enable-java-awt=gtk-default
> > --enable-gtk-cairo
> > --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre
> > --enable-mpfr --disable-werror --enable-checking=release i486-linux-gnu
> > Thread model: posix
> > gcc version 4.0.3 20051201 (prerelease) (Debian 4.0.2-5)
>
> When you're outside the chroot, as the lfs user, this is what gcc you
> get?  Is /tools/bin at the beginning of PATH for the lfs user?  This
> doesn't seem to be the case.  As the lfs user, what's the output of
> `echo $PATH'?

Outside the chroot environment:
=====================

[EMAIL PROTECTED]:~$ su lfs
Password:
[EMAIL PROTECTED]:/home/leo$ echo $PATH
/tools/bin:/bin:/usr/bin
[EMAIL PROTECTED]:/home/leo$


Inside the chroot environment:
=====================

veneto:~# chroot "$LFS" /tools/bin/env -i \
>     HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \
>     PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \
>     /tools/bin/bash --login +h
root:/# echo $PATH
/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin

> --
> Dan

Kind regards,
Leonhard.

PS: Yesterday I took another try. For whatever reason did the not get through. 
=> I'll post it (with the result of the second try) once again.
-- 
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