Shinji Teragaito <[EMAIL PROTECTED]> writes:
<     SHLIB_LINK                += `$(CC) -print-libgcc-file-name`
>     SHLIB_LINK                += `$(CC) $(LDFLAGS) -print-libgcc-file-name`

Okay.  I'm slightly worried about odd LDFLAGS values confusing this, but
we can deal with that when we see an example.

<     LINK.shared               = $(CC) $(LDFLAGS) -shared -Wl,-h -Wl,$(soname)
>     LINK.shared               = $(CC) $(LDFLAGS) -shared -Wl,-h -Wl,$(soname) -Wl,+b 
> -Wl,$(libdir)

That looks good too.  I think I had seen a truncated version of this
(just the +b part) and left it off because it didn't work.

I've applied both these changes.

< ifeq ($(with_gnu_ld), yes)
> ifeq ($(GCC), yes)

This I cannot apply; it breaks the gcc-with-HP-ld case, at least on my
personal installation (HPUX 10.20, gcc 2.95.3, HP ld).  My tests on HP's
testdrive systems did not show any problem here --- what case are you
concerned about exactly?

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to [EMAIL PROTECTED] so that your
      message can get through to the mailing list cleanly

Reply via email to