This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcc and g++ compilation option to add -rpath (not in FAQ)


> One solution might be to put a ld wrapper into <egcs-prefix-dir>/bin
> that add -rpath ... to the arguments before it invokes the real ld.  But
> Hope that there is a way to specify it during configure/bootstrap
> time so I don't have to cheat.

You don't have to configure the compiler differently. Just modify the
file 'specs' found in the same directory where 'cc1' is installed.

Regards,
Martin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]