This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/31400] enable static linking of support libraries through -static-libXY
- From: "dfranke at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Mar 2007 15:30:10 -0000
- Subject: [Bug other/31400] enable static linking of support libraries through -static-libXY
- References: <bug-31400-13648@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from dfranke at gcc dot gnu dot org 2007-03-30 16:30 -------
Andrew, I agree that static linking should not be overused. But there are valid
cases where one may want to do it anyway. Deploying a testing application may
be one of them. Asking the user to compile gcc from scratch just to get the
latest libraries is usually not an option. Delivering a bunch of libraries
together with the binary may mess up the customers system, especially if it is
a test-and-discard like approach.
Given the two PRs I cited plus the thread H. J. pointed out, there are people
looking for options like the ones requested here.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31400