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: packaging a GCC binary distribution so it can be installed at arbitrary locations?


"Gary Funck" <gary@intrepid.com> writes:

> Given a binary distibution of GCC, for example, built to install under
> /usr/local, is it possible to configure and build the compiler in such a
> way that a binary packaging method such as RPM can allow a user to specify
> an alternate installation point (perhaps /opt, or even the user's home
> directory) and have it all work?

Yes, with recent versions of gcc you can move the entire tree around
and the gcc driver will still be able to find the various internal
executables and header files.  You need to keep the tree in the same
format, but everything is found relatively.

Telling the dynamic linker about a dynamic libgcc is still a problem,
but that is a problem whereever you put the compiler.

Ian


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