It's really quite simple, the Sun C compiler (acc) does not understand
the -Wl flag, rather it passes the -R and -h options onto the linker
verbatim.

Given the only two (realistic) compiler choices under Solaris are gcc
and acc it makes sense to support then both 'out of the box'.

I keep a similar patch to Denis's (without the wierd hi-ascii
characters in his) lying around for when i build a Solaris version.

Regards, Lee Kindness.

Peter Eisentraut writes:
 > Denis A Ustimenko writes:
 > 
 > [change -Wl,-R to -R and -Wl,-h to -h]
 > 
 > I'm having a difficult time understanding this.  Both -R and -h are linker
 > options, not compiler options.  So while the compiler driver might be nice
 > enough to recognize them as the former and pass them through, this change
 > just pushes these chances, and it doesn't add any theoretical change of
 > functionality.
 > 
 > So, if you want this to be fixed, you're going to have to start with
 > explaining your problem, and then we can start looking for solutions.
 > 
 > -- 
 > Peter Eisentraut   [EMAIL PROTECTED]   http://funkturm.homeip.net/~peter
 > 
 > 
 > ---------------------------(end of broadcast)---------------------------
 > TIP 4: Don't 'kill -9' the postmaster

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Reply via email to