help-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: trouble with autotools/berkeley db


From: Andrei Voropaev
Subject: Re: trouble with autotools/berkeley db
Date: 17 Feb 2005 09:48:45 GMT
User-agent: slrn/0.9.8.1 (Linux)

On 2005-02-16, Karl Berry <karl@freefriends.org> wrote:
>     I think -R is an alias for --rpath-link.  Has the long option been
>     removed as well?  In which gcc version?
>
> 3.4.x, currently 3.4.3.  
>
> $ gcc -R/usr/local/gnu/lib hello.cc
> gcc: unrecognized option `-R/usr/local/gnu/lib'
>
> $ gcc --rpath-link /usr/local/gnu/lib hello.cc
> cc1plus: error: unrecognized command line option "-frpath-link"
>
> rpath-link doesn't appear in the manual, so I guess it's intentional
> that it's gone, not just an oversight.  Seems like this will break many,
> many, Makefiles, configure scripts, etc.  Sigh.

I guess these options are for ld and not for gcc. So you would pass them
to ld from gcc command line using -Wl,-rpath-link. Note single dash
before rpath! -R option is compatibility one. See man ld.


-- 
Minds, like parachutes, function best when open


reply via email to

[Prev in Thread] Current Thread [Next in Thread]