public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Library search path
@ 2004-10-22 10:37 Kukuk Barbara
  2004-10-22 19:47 ` Ian Lance Taylor
  0 siblings, 1 reply; 2+ messages in thread
From: Kukuk Barbara @ 2004-10-22 10:37 UTC (permalink / raw)
  To: binutils

Hi!
How must I set the library search path for ld (V2.14) in Eclipse 2.1 CDT
1.2?
Can I use something like C:\project\lib or is it "C:\project\lib" or
/project/lib?
My libs are not found if they are not in the standard search path.

Thanks for your help
Kukuk, Barbara



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Library search path
  2004-10-22 10:37 Library search path Kukuk Barbara
@ 2004-10-22 19:47 ` Ian Lance Taylor
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Lance Taylor @ 2004-10-22 19:47 UTC (permalink / raw)
  To: Kukuk Barbara; +Cc: binutils

Kukuk Barbara <barbara.kukuk@siemens.com> writes:

> How must I set the library search path for ld (V2.14) in Eclipse 2.1 CDT
> 1.2?
> Can I use something like C:\project\lib or is it "C:\project\lib" or
> /project/lib?
> My libs are not found if they are not in the standard search path.

Unfortunately, the answer is, "it depends".  If ld is running in a
cygwin environment, then C:\project\lib should work, but depending
upon how the command line is parsed, you might need to double the
backslashes (C:\\project\\lib).  Or, in cygwin, you can use
/cygdrive/c/project/lib.  If ld is running in a mingw environment,
then I think C:\project\lib is correct.

I recommend experimenting.  Or asking Eclipse users.

Ian

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-10-22 19:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-22 10:37 Library search path Kukuk Barbara
2004-10-22 19:47 ` Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).