Gcc linker problem
H. J. Lu
hjl@lucon.org
Tue Nov 12 09:46:00 GMT 2002
On Tue, Nov 12, 2002 at 11:27:36AM +0200, Andrey Kruchkov wrote:
> Hi!
> Our C++ project compiled and worked well under gcc version 3.0.
> This week we upgraded the gcc to version 3.2 by removing old package and installing the new one.
> Also we ran crle to inroduce "." as a valid path.
>
> We have a long makefile which should work fine, except for one problem:
> Running g++ linker with "-Wl,-rpath,." options we encountered error message "ld: fatal: file .:unknown file type ".
>
You didn't say which linker you were using. "-Wl,-rpath,." works fine
with the GNU linker.
H.J.
More information about the Gcc
mailing list