From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6141 invoked by alias); 30 Mar 2008 06:09:57 -0000 Received: (qmail 6132 invoked by uid 22791); 30 Mar 2008 06:09:57 -0000 X-Spam-Check-By: sourceware.org Received: from wf-out-1314.google.com (HELO wf-out-1314.google.com) (209.85.200.172) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 30 Mar 2008 06:09:39 +0000 Received: by wf-out-1314.google.com with SMTP id 28so987815wfc.14 for ; Sat, 29 Mar 2008 23:09:38 -0700 (PDT) Received: by 10.142.204.18 with SMTP id b18mr2939713wfg.126.1206857378119; Sat, 29 Mar 2008 23:09:38 -0700 (PDT) Received: by 10.142.162.18 with HTTP; Sat, 29 Mar 2008 23:09:38 -0700 (PDT) Message-ID: Date: Sun, 30 Mar 2008 06:09:00 -0000 From: NightStrike To: "Ian Lance Taylor" Subject: Re: compile with no prefix Cc: "George Neill" , gcc-help@gcc.gnu.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2008-03/txt/msg00308.txt.bz2 On 3/29/08, Ian Lance Taylor wrote: > "George Neill" 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.