This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: Testing a glibc build
- From: Christer Solskogen <christer dot solskogen at gmail dot com>
- To: "Carlos O'Donell" <carlos at redhat dot com>
- Cc: "libc-help at sourceware dot org" <libc-help at sourceware dot org>
- Date: Wed, 12 Jun 2013 17:02:35 +0200
- Subject: Re: Testing a glibc build
- References: <kp7qui$jb6$1 at ger dot gmane dot org> <51B7880D dot 7040007 at redhat dot com> <kp82j7$782$1 at ger dot gmane dot org> <51B79C29 dot 4080406 at redhat dot com> <CAMVU60bpKA4UNUTFP4hDk58nt3kKQ136rMjTjX69UeC=8PY3QA at mail dot gmail dot com> <51B8886A dot 6010704 at redhat dot com>
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,