On Mon, Aug 09, 2004 at 08:25:22AM +0200, M. Fioretti wrote: > Greetings, > > last week I asked the question below, without result: > > > > to fit on a boot floppy and into small RAM, rpm for Fedora Core 2 > > > must be compiled statically against a slimmed-down clib, in > > > Slinky's case busybox. > > Maybe this question was too specific, but do you have any > general information/proven makefile/tip/whatever on compiling rpm > statically? > Edit Makefile.am, uncomment the -all-static. Note that static linking does not uncouple rpm from needing various modules from glibc et al, as "static" just means that dlopen is included in the binary, not that everything necessary for running is linked into the executable. There are some legacy issues with thread local storage and NPTL that make it difficult to statically link /bin/rpm as traditionally. However, static linking is still there, and known to "work", I do it all the time to simplify debugging break points. You might also be better off with the rpm support in busybox if you are trying to creata a rescue mode disk. 73 de Jeff -- Jeff Johnson ARS N3NPQ jbj@xxxxxxxxxx (jbj@xxxxxxx) Chapel Hill, NC _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list