what is -rpath supposed to do?
Stuart Summerville
stuarts@icpdd.neca.nec.com.au
Fri Dec 10 00:27:00 GMT 1999
>gcc does not understand -rpath, because it is a linker option. It
>seems strange that apache would be passing this to gcc. The fix is to
>tell gcc that the -rpath option should be passed on to the linker,
>with -Wl,-rpath,<arg>
I've used the following switches on gcc to do this:
-Xlinker -rpath -Xlinker <path>
sTu.
________________________________________________________________________
Stuart Summerville NEC Australia Pty. Ltd.
ph: (+61 3) 9264-3090 Integrated Comm Products (R&D)
fax:(+61 3) 9264-3841 649-655 Springvale Road Mulgrave
stuarts@<nospam>icpdd.neca.nec.com.au VIC 3170, AUSTRALIA
More information about the Gcc-help
mailing list