RE: build glibc for system
"Wichmann, Mats D" <[email protected]> Tue, 29 Apr 2003 12:49:27 -0700
| Newsgroups | gmane.linux.lsb.implementation |
|---|---|
| Message-ID | <[email protected]> |
> Hi! I have some questions related to glibc built for lsb > implementation. > How could you link libc-2.2.5.so against /lib/ld-lsb.so.1 library? > I used lsbdev-base and lsbdev-chroot (lsb 1.3) packages, but > libc is still > linked against ld-linux.so.2. I tried to use lsb-cc wrappers, > but got a > lot of errors during compilation: > cc: assembler-with-cpp: No such file or directory > cc: language -D__OPTIMIZE__ not recognized > cc: language -D__OPTIMIZE__ not recognized > > > Would you provide more information about building process for > lsbimpl's glibc? The steps for this are in the cvs tree under src/si. For example, http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/lsb/src/si/phase3/package -build/glibc.xml It's encoded an xml-ish format, but basically here's the scheme: * unpack, patch as needed * in shlib-versions, modify the name of the dynamic linker for this architecture to ld-lsb.so.1 (or appropriate other name if not i386) * in the machine-dependent directory, make the same change to ldconfig.h * configure * build * install