This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Testing a glibc build


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,


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]