Re: /usr/local/{include,lib} on Cygwin - Mailing list pgsql-ports

From Tom Lane
Subject Re: /usr/local/{include,lib} on Cygwin
Date
Msg-id 8428.983938954@sss.pgh.pa.us
Whole thread Raw
In response to Re: /usr/local/{include,lib} on Cygwin  (Jason Tishler <Jason.Tishler@dothill.com>)
Responses Re: /usr/local/{include,lib} on Cygwin
List pgsql-ports
Jason Tishler <Jason.Tishler@dothill.com> writes:
> I'm not a gcc expert, but from empirical evidence I was able to determine
> that Cygwin gcc seems to automatically search /usr/local/include and
> /usr/local/lib during compilation and linking, respectively.

I believe that the built-in search paths for gcc are a
configuration-time option, with (if hazy memory serves) defaults that
vary across platforms.  However, /usr/local/include and .../lib are
certainly in those paths on *most* platforms.  If Jason can attest that
they're in there in the standard Cygwin build of gcc, then I see no
reason to fear assuming that they're normally there for cygwin.

More generally, I don't see a reason for our makefiles to assume they
know better than the compiler does what the default paths should be.

            regards, tom lane

pgsql-ports by date:

Previous
From: Jason Tishler
Date:
Subject: Re: /usr/local/{include,lib} on Cygwin
Next
From: Jason Tishler
Date:
Subject: Re: /usr/local/{include,lib} on Cygwin