From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12681 invoked by alias); 26 Jan 2011 15:27:48 -0000 Received: (qmail 12673 invoked by uid 22791); 26 Jan 2011 15:27:47 -0000 X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail16.primus.ca (HELO mail-01.primus.ca) (216.254.141.183) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 26 Jan 2011 15:27:44 +0000 Received: from ottawa-hs-64-26-169-119.s-ip.magma.ca ([64.26.169.119] helo=[192.168.0.16]) by mail-01.primus.ca with esmtpa (Exim 4.72) (envelope-from ) id 1Pi7Ha-0001R6-1k for gcc-help@gcc.gnu.org; Wed, 26 Jan 2011 10:27:42 -0500 Subject: Building Relocatable gcc From: Kyle Girard To: gcc-help@gcc.gnu.org Content-Type: text/plain; charset="UTF-8" Date: Wed, 26 Jan 2011 15:27:00 -0000 Message-ID: <1296055661.3050.2178.camel@Tak> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit 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: 2011-01/txt/msg00376.txt.bz2 Can anyone point me to or show me a basic set of configure args that I can use to compile a relocatable gcc toolchain on linux? I'm not cross compiling or anything (host and target are both 32 linux) After reading the docs I thought that I basically just had to use the options --with-sysroot and --prefix with equal values for binutils and gcc and everything should work however during the build of gcc it fails to find headers. What am I missing? Do I need to somehow create a cross compiler from 32bit linux to 32bit linux? Any help is appreciated. Cheers Kyle