OK, I stumbled again on glibc

Mike McCarty Mike.McCarty at sbcglobal.net
Mon Feb 1 12:41:03 PST 2010


brown wrap wrote:
> OK, I see where as and ld was built and installed in /tools/bin, but thats not the exact name:
> 
> lfs:/mnt/lfs/sources/6.4$ ls -l /tools/bin
> total 55160
> -rwxr-xr-x 1 lfs lfs 3633288 Feb  1 12:27 x86_64-lfs-linux-gnu-addr2line
> -rwxr-xr-x 2 lfs lfs 3785792 Feb  1 12:27 x86_64-lfs-linux-gnu-ar
> -rwxr-xr-x 2 lfs lfs 5103634 Feb  1 12:28 x86_64-lfs-linux-gnu-as

It looks like you are doing something close to a cross compile, which
makes sense. However, when you tried to build later, you somehow didn't
instruct the configure to look for cross development tools. That may
be (part of) the problem you are experiencing. Building for a 64 bit
architecture, even if the same physical machine, but a different
run mode, requires essentially a cross build, as if for a completely
different machine.

I recall Hitachi (I think) produced a machine which could execute
the 8085 instruction set, and could also be put into a mode where
it executed 8088 instructions. One had to treat the two modes as
two different machines, even though they were physically the same
silicon. The situation here is roughly the same.

Mike
-- 
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
Oppose globalization and One World Governments like the UN.
This message made from 100% recycled bits.
You have found the bank of Larn.
I speak only for myself, and I am unanimous in that!



More information about the lfs-support mailing list