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]
Other format: [Raw text]

Re: How to build an RPATH into gcc?


Jim Wilson <wilson@specifixinc.com> wrote:
> Modify a copy of gcc to automatically add an -rpath option by
> hacking the specs files, and then use it to compile another copy of
> gcc.  The second copy will have rpath built into it.
>
> You can probably even do this with just one build if you modify the
> specs in the gcc sources before building it.

You have to modify the specs in the sources anyway - otherwise the
second build will forget the rpath when it bootstraps itself.

Or you can set all the *LDFLAGS Makefile variables like I do.


paul


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