From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Linking with -lc not a good idea |
Date: | 2003-12-19 16:02:29 |
Message-ID: | 9810.1071849749@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> I noticed that pltcl.so is now always linked with -lc. That is normally not a
> good idea with gcc, because gcc figures out its own order of -lgcc and -lc.
Since no actual problem has been reported, either in 7.4 or in the
previous releases that had -lc for many platforms, I'm disinclined
to change this in the stable branches. Feel free to take out the -lc
in HEAD, though, and we'll see if anyone complains.
I cannot recall at the moment if -lc was actually needed on Darwin;
if so we could consider adding
SHLIB_LINK += -lc
in Makefile.shlib's darwin case, as is already done for some other
platforms.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2003-12-19 17:11:08 | Re: replace all with * in pg_hba.conf |
Previous Message | Andrew Dunstan | 2003-12-19 15:42:08 | Re: replace all with * in pg_hba.conf |