This is the mail archive of the libc-hacker@cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: small patch for makeconfig


>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
 





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]