[Bug c++/12011] -print-file-name omits path
bangerth at dealii dot org
gcc-bugzilla@gcc.gnu.org
Thu Aug 21 16:42:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12011
bangerth at dealii dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
------- Additional Comments From bangerth at dealii dot org 2003-08-21 16:42 -------
gcc doesn't print a path when it can't find the file. You need to give the real library name,
not what you would give after the -l switch. For example
tmp/g> gcc -print-file-name=c
c
but
tmp/g> gcc -print-file-name=libc.so
/usr/lib/libc.so
W.
More information about the Gcc-bugs
mailing list