I don't think it's possible. ---- Lev Assinovsky Aelita Software Corporation O&S InTrust Framework Division, Team Leader ICQ# 165072909 > -----Original Message----- > From: porte64@xxxxxxx [mailto:porte64@xxxxxxx] > Sent: Friday, March 26, 2004 3:42 PM > To: gcc-help@xxxxxxxxxxx > Subject: static blending/relinking > > > Does gcc's linker provide options to generate a static binary > from ELF pieces (executable + dynamically-linked libraries) ? > > If someone would be kind enough to give a command line sample ... > > Someone wrote such an ELF swiss-knife: reducebind.c but it > is alpha and only works on Linux. > It's able to only take the needed parts of code within each > library, which is great. > Can gcc's linker behave so ? > > Anyway the need of such a software engineering tool is real, > e.g. for all those who want to design busyboxes, make > commercial software portable, etc ... Essential. > > Best regards > Paul >