On Mon, Sep 1, 2014 at 9:57 PM, Bruce Dubbs <[email protected]> wrote:

> Dmitry Zakharov wrote:
>
>> On Mon, Sep 1, 2014 at 8:52 PM, Bruce Dubbs <[email protected]>
>> wrote:
>>
>>  Pierre Labastie wrote:
>>>
>>>  Le 01/09/2014 07:54, Dmitry Zakharov a écrit :
>>>>
>>>>
>>>>> binutils 2nd pass was configured as
>>>>>
>>>>>   ../binutils-2.24/configure --prefix=/tools --with-sysroot=$LFS
>>>>> --with-lib-path=/tools/lib --target=$LFS_TGT --disable-nls
>>>>> --disable-werror
>>>>>
>>>>>   Hi Dmitry,
>>>>>
>>>>
>>>> I think the --with-sysroot=$LFS is the culprit. It is --with-sysroot and
>>>> nothing more.
>>>>
>>>>
>>> Pierre, why do you think this?  --with-sysroot=$LFS is used in both
>>> binutils-pass1 and gcc-pass1.  I think it's more likely that the LFS
>>> environment variable was not set properly.
>>>
>>
>  If the LFS environment variable was not ser properly, could i compile all
>> other packages? In the same environment...
>>
>
> Well you could compile the other packages, but not properly.
>
>
OK. Here is it.

$ printenv
TERM=xterm
OLDPWD=/mnt/lfs/sources
LC_ALL=POSIX
LFS=/mnt/lfs
PATH=/tools/bin:/bin:/usr/bin
PWD=/home/lfs
LFS_TGT=i686-lfs-linux-gnu
PS1=${debian_chroot:+($debian_chroot)}\u@\h:\w\$
SHLVL=1
HOME=/home/lfs
_=/tools/bin/printenv

Looks like it is set right. To /mnt/lfs, where target partition is mounted.
Is the environment correct?
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to