From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31678 invoked by alias); 22 Jul 2005 12:27:22 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 31649 invoked by uid 22791); 22 Jul 2005 12:27:11 -0000 Received: from nproxy.gmail.com (HELO nproxy.gmail.com) (64.233.182.195) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 22 Jul 2005 12:27:11 +0000 Received: by nproxy.gmail.com with SMTP id l37so39684nfc for ; Fri, 22 Jul 2005 05:27:08 -0700 (PDT) Received: by 10.48.142.11 with SMTP id p11mr94495nfd; Fri, 22 Jul 2005 05:27:08 -0700 (PDT) Received: by 10.48.142.4 with HTTP; Fri, 22 Jul 2005 05:27:08 -0700 (PDT) Message-ID: <4aa50a4605072205277a0f204c@mail.gmail.com> Date: Fri, 22 Jul 2005 12:27:00 -0000 From: Andrew McCall Reply-To: Andrew McCall To: Rupert Wood Subject: Re: Problems building a cross compiler... Cc: gcc-help@gcc.gnu.org In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <4aa50a46050722035016beaf54@mail.gmail.com> X-SW-Source: 2005-07/txt/msg00234.txt.bz2 On 22/07/05, Rupert Wood wrote: > Andrew McCall wrote: >=20 > > You can see the layout here: > > > > http://svn.berlios.de/viewcvs/haiku/haiku/trunk/headers/ > > > > I have tried using: > > > > --with-sysroot=3D../../../haiku/headers > > --with-sysroot=3D../../../haiku/headers/os > > --with-sysroot=3D../../../haiku/headers/posix >=20 > IIRC, the sysroot directory should contain subdirectories 'include' and > 'lib'. By the look of it, posix is the one you need as include, although = you > might want to merge in the os directory depending on what layout the apps > you want to compile expect. You could do this by making a new 'include' > directory and using cpio or similar to link in all the files in os and > posix. I don't know the convention for your OS. >=20 > I may be a few years out of date but it used to be safest to use absolute > paths for configure parameters rather than relative paths, i.e. >=20 > --with-sysroot=3D/home/mccall/haiku/headers Thanks for the reply Rupert, again, I have tried this, but I still get the same error. Can I not use -H or something to include multiple directories? --=20 Thanks, Andrew McCall andrew.mccall@gmail.com