It seems like there's more to it than just the architecture, but you should 
probably re-read the intro portion on "LFS Target Architectures". I think you 
might need to start over and be sure to follow the parts of the book for 64-bit 
systems, but hopefully one of the gurus will respond if I've said anything 
incorrect. 


On Jan 6, 2013, at 11:20 AM, matthew gruda <matthewgr...@gmail.com> wrote:

> so how do i fix this?
> 
> On Sun, Jan 6, 2013 at 10:44 AM, Roy Birk <rab...@gmail.com> wrote:
> I think it's because you're on a 64-bit system.
> 
> 
> 
> On Jan 6, 2013, at 8:51 AM, matthew gruda <matthewgr...@gmail.com> wrote:
> 
> > now i got up to 6.10 and i tried:
> > echo 'main(){}' > dummy.c
> > cc dummy.c -v -Wl, --verbose
> >
> > and got:
> > GNU assembler version 2.22 (x86_64-unknown-linux-gnu) using BFD version 
> > (GNU Binutils) 2.22
> > COMPILER_PATH=/tools/libexec/gcc/x86_64-unknown-linux-gnu/4.7.1/:/tools/libexec/gcc/x86_64-unknown-linux-gnu/4.7.1/:/tools/libexec/gcc/x86_64-unknown-linux-gnu/:/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/:/tools/lib/gcc/x86_64-unknown-linux-gnu/:/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../x86_64-unknown-linux-gnu/bin/
> > LIBRARY_PATH=/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/:/usr/lib/../lib64/:/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../x86_64-unknown-linux-gnu/lib/:/usr/lib/
> > COLLECT_GCC_OPTIONS='-v' '-v' '-mtune=generic' '-march=x86-64'
> >  /tools/libexec/gcc/x86_64-unknown-linux-gnu/4.7.1/collect2 --eh-frame-hdr 
> > -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 
> > /usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o 
> > /tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/crtbegin.o 
> > -L/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1 -L/usr/lib/../lib64 
> > -L/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../x86_64-unknown-linux-gnu/lib
> >  /tmp/ccm2lzhu.o "" -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc 
> > --as-needed -lgcc_s --no-as-needed 
> > /tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/crtend.o 
> > /usr/lib/../lib64/crtn.o
> > /tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../x86_64-unknown-linux-gnu/bin/ld:
> >  cannot find : No such file or directory
> > collect2: error: ld returned 1 exit status
> >
> > so why? glibc was just checked and installed right, and set up, and i 
> > followed instructions for changing the path
> > --
> > http://linuxfromscratch.org/mailman/listinfo/lfs-support
> > FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> > Unsubscribe: See the above information page
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
> 
> -- 
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
-- 
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