From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16309 invoked by alias); 22 Jul 2005 11:04:37 -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 16141 invoked by uid 22791); 22 Jul 2005 11:04:08 -0000 Received: from host-84-9-56-114.bulldogdsl.com (HELO softwire.co.uk) (84.9.56.114) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 22 Jul 2005 11:04:08 +0000 Received: from grizzlybear ([10.0.11.3]) by softwire.co.uk with Microsoft SMTPSVC(6.0.3790.211); Fri, 22 Jul 2005 12:04:05 +0100 From: "Rupert Wood" To: "'Andrew McCall'" Cc: Subject: RE: Problems building a cross compiler... Date: Fri, 22 Jul 2005 11:04:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit In-Reply-To: <4aa50a46050722035016beaf54@mail.gmail.com> Message-ID: X-SW-Source: 2005-07/txt/msg00233.txt.bz2 Andrew McCall wrote: > You can see the layout here: > > http://svn.berlios.de/viewcvs/haiku/haiku/trunk/headers/ > > I have tried using: > > --with-sysroot=../../../haiku/headers > --with-sysroot=../../../haiku/headers/os > --with-sysroot=../../../haiku/headers/posix 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. 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. --with-sysroot=/home/mccall/haiku/headers Rup.