This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: why is -L/usr/local/lib necessary?
> * Dave Korn <qnir.xbea@negvzv.pbz> [2004-12-14 17:27:37 +0000]:
>
> Look, you have only two choices. Either put your libs in the default
> search path, or specify the path. It's not unreasonable that gcc
> can't magically guess where you've hidden them.
I agree, with a minor additions:
1. /usr/local/lib/ is a fairly standard location, and it appears that
gcc and ld.so on linux are aware of it.
I see no good reason for cygwin to ignore it.
2. linux has /etc/ld.so.conf where I can put my "hidden" directories so
that I do not have to put them in the command line.
is there a similarly magical file on cygwin?
--
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.honestreporting.com>
Why use Windows, when there are Doors?
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/