Static build of binutils 2.16.1
Pierre Wieser
pierre.wieser@gadz.org
Sun Mar 26 17:29:00 GMT 2006
Hi,
I'm trying to build (compile+static link) binutils 2.16.1 from sources. All
I get is dynamically linked executables. Obviously, I'm missing something,
but I don't understand what !
I use :
../binutils-2.16.1/configure \
--prefix=/tmp/binutils-install \
--host=i586-pc-linux-gnu \
--disable-shared \
--disable-nls &&
make LDFLAGS=-static
It seems that most of executables have a "prog_LDFLAGS = " empty line in the
Makefile, so that they do not receive the 'main' LDFLAGS I passed on to the
Makefile..
Is it normal ?
Or what is wrong with my parameters ?
Thanks in advance for your help
Regards
Pierre
More information about the Binutils
mailing list