Testing a glibc build
Christer Solskogen
christer.solskogen@gmail.com
Wed Jun 12 15:03:00 GMT 2013
On Wed, Jun 12, 2013 at 4:40 PM, Carlos O'Donell <carlos@redhat.com> wrote:
> If you used exactly the same --prefix and ${SYSROOT} and it still fails
> then we need detailed instructions from you e.g. step by step.
>
I think I did, but probably not clearly.
SYSROOT=$HOME/glibc
Compile glibc:
configure --prefix=/usr
make && make install DESTDIR=${SYSROOT}
export CC="gcc --sysroot=${SYSROOT} -Wl,-rpath=${SYSROOT}/lib
-Wl,--dynamic-linker=${SYSROOT}/lib/ld-linux-x86-64.so.2"
$CC hello.c hello
./hello (works)
Confgure, make and make install glibc again with the same instructions as above.
run ./hello again.
--
chs,
More information about the Libc-help
mailing list