compile with no prefix

NightStrike nightstrike@gmail.com
Sun Mar 30 06:09:00 GMT 2008


On 3/29/08, Ian Lance Taylor <iant@google.com> wrote:
> "George Neill" <georgen@neillnet.com> writes:
>
> >   Is it possible to configure/build gcc with no prefix?  I'd like to
> > build a version which I can tarball up and drop anywhere on the
> > filesystem.
>
> You should always configure it with a prefix.  But if you wrap up the
> whole directory structure under that prefix and put it somewhere else,
> gcc will still be able to run and to find its supporting programs.

The documentation should be updated in the --with-[build-]sysroot
section.  It claims that there's only a specific way to have a
relocatable tree.  I have found as you say that the installation
prefix is very easily relocatable, contrary to the documentation.



More information about the Gcc-help mailing list