I'm building an LFS system ( refering to LFS 7.2 )
I got this make error while building glibc-2.16.0:
/mnt/lfs/tools/bin/../lib/gcc/i686-lfs-linux-gnu/4.7.1/../../../../i686-lfs-linux-gnu/bin/ld: cannot find -lgcc_s
collect2: error: ld returned 1 exit status
make: *** [/mnt/lfs/sources/glibc-build/iconv/iconvconfig] Error 1
make: Leaving directory `/mnt/lfs/sources/glibc-2.16.0/iconv'
make: *** [iconv/others] Error 2
make: Leaving directory `/mnt/lfs/sources/glibc-2.16.0'
make: *** [all] Error 2
I located the libgcc_s file in three different places:
I tried overiding the LDFLAGS variable but no success.
Can any one please help me with this problem. Or am i missing something? I don't know.
Please help guys, thanks in advance!!
My host system is Fedora 17.