On 2005-02-16, Karl Berry <[EMAIL PROTECTED]> 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 _______________________________________________ help-gnu-utils mailing list help-gnu-utils@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-utils