Bugzilla – Bug 108
gccld -Lfoo -lfoo fails to find ./foo/libfoo.a
Last modified: 2003-11-11 15:58:27
You need to log in before you can comment on or make changes to this bug.
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.
Now fixed. http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20031110/009330.html
Just setting flags. Don't mind me. -Chris