"Gary Funck" <[EMAIL PROTECTED]> 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