This is the mail archive of the
mailing list for the binutils project.
problems with statically linked zlib
- From: "Simonov, Vladimir" <Vladimir dot Simonov at acronis dot com>
- To: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Tue, 7 May 2013 16:12:04 +0000
- Subject: problems with statically linked zlib
Environment: host - x86_64-unknown-linux-gnu, target - x86_64-unknown-linux-gnu,
gcc - 4.7.2, binutils-2.23.2.
I'd like to build ld and gold with statically linked zlib. libz.a is built in
advance and placed in some directory ($TOOLS_DIR/lib).
The only way I see -
and run configure and build. Without above either system zlib.so is used or gold
sources can't find zlib.h.
What is correct way to configure binutils to get zlib linked-in statically?
Thank you in advance