How do I statically compile a src.rpm?
I am trying to statically compile a bunch of standard linux tools on a RH 8.0 box.
I have chosen to start with binutils-2.13.90.0.2 for some reason... When I execute this command (notice their is no option for a static compile): /usr/src/redhat/SOURCES/binutils-2.13.90.0.2 # ./configure -help Usage: configure [OPTIONS] [HOST] Options: [defaults in brackets] --prefix=MYDIR install into MYDIR [/usr/local] --exec-prefix=MYDIR install host-dependent files into MYDIR [/usr/local] --help print this message [normal config] --build=BUILD configure for building on BUILD [BUILD=HOST] --host=HOST configure for HOST [determined via config.guess] --norecursion configure this directory only [recurse] --program-prefix=FOO prepend FOO to installed program names [""] --program-suffix=FOO append FOO to installed program names [""] --program-transform-name=P transform installed names by sed pattern P [""] --site=SITE configure with site-specific makefile for SITE --srcdir=DIR find the sources in DIR [. or ..] --target=TARGET configure for TARGET [TARGET=HOST] --tmpdir=TMPDIR create temporary files in TMPDIR [/tmp] --nfp configure for software floating point [hard float] --with-FOO, --with-FOO=BAR package FOO is available (parameter BAR) --without-FOO package FOO is NOT available --enable-FOO, --enable-FOO=BAR include feature FOO (parameter BAR) --disable-FOO do not include feature FOO Where HOST and TARGET are something like "sparc-sunos", "mips-sgi-irix5", etc. Now when I grep for the keyword "static" in this dir, I get a good number of occurences of this keyword in a bood number of files. Most notably: ./ltmain.sh: -all-static do not do any dynamic linking at all So how do I go about doing this? Thanks as always! |
ruh roh raggy...
./configure --enable-all-static=yes edit: I dunno why, but sometimes it just helps to read you're own damn question... :D |
All times are GMT -5. The time now is 12:53 PM. |