First Last Prev Next    No search results available
Details
: gccld -Lfoo -lfoo fails to find ./foo/libfoo.a
Bug#: 108
: tools
: gccld
Status: RESOLVED
Resolution: FIXED
: PC
: Linux
: 1.0
: P2
: minor
: 1.1

:
: compile-fail
:
:
  Show dependency tree - Show dependency graph
People
Reporter: Brian R. Gaeke <gaeke+bugs@uiuc.edu>
Assigned To: Brian R. Gaeke <gaeke+bugs@uiuc.edu>

Attachments


Note

You need to log in before you can comment on or make changes to this bug.

Related actions


Description:   Opened: 2003-11-10 16:54
gccld -Lfoo -lfoo ... will not find a library named ./foo/libfoo.a,
because gccld only looks at whether a directory entry exists, not
whether it is a readable file. This means it thinks that "./foo" is a
bytecode file, and tries to read it in, whereas it is actually a directory.

Workaround: specify full path to library on command line.
------- Comment #2 From Chris Lattner 2003-11-11 15:58:27 -------
Just setting flags.  Don't mind me.

-Chris

First Last Prev Next    No search results available