This is the mail archive of the
libc-hacker@cygnus.com
mailing list for the glibc project.
Re: small patch for makeconfig
- To: Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
- Subject: Re: small patch for makeconfig
- From: Philip Blundell <pb@nexus.co.uk>
- Date: Fri, 19 Feb 1999 16:38:57 +0000
- cc: libc-hacker@gnu.org
>I think libgcc should both be linked before and after libc. That's what
>gcc has always done, for good reason.
That sounds fair. Here's an updated patch. Ulrich, could you install this
for libc-2.1.1 if you don't see any problem with it?
p.
1999-02-19 Philip Blundell <pb@nexus.co.uk>
* Makeconfig (link-libc): When doing a static link, make sure that
libgcc.a is included both before and after libc.a
--- libc/Makeconfig 1999/01/16 17:00:11 1.209
+++ libc/Makeconfig 1999/02/16 10:16:11
@@ -419,7 +419,7 @@
else
nssobjdir := $(patsubst ../$(subdir),.,$(common-objpfx)nss)
resolvobjdir := $(patsubst ../$(subdir),.,$(common-objpfx)resolv)
-link-libc = $(common-objpfx)libc.a $(otherlibs) $(gnulib) $(common-objpfx)libc.a
+link-libc = $(common-objpfx)libc.a $(otherlibs) $(gnulib) $(common-objpfx)libc.a $(gnulib)
endif
endif