From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4306 invoked by alias); 1 Dec 2004 20:43:23 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 3885 invoked from network); 1 Dec 2004 20:43:17 -0000 Received: from unknown (HELO krynn.se.axis.com) (212.209.10.221) by sourceware.org with SMTP; 1 Dec 2004 20:43:17 -0000 Received: from ignucius.se.axis.com (ignucius.se.axis.com [10.83.5.18]) by krynn.se.axis.com (8.12.9/8.12.9/Debian-5local0.1) with ESMTP id iB1Kh9AD019622; Wed, 1 Dec 2004 21:43:09 +0100 Received: from ignucius.se.axis.com (localhost [127.0.0.1]) by ignucius.se.axis.com (8.12.8p1/8.12.8/Debian-2woody1) with ESMTP id iB1Kh8dD032249; Wed, 1 Dec 2004 21:43:08 +0100 Received: (from hp@localhost) by ignucius.se.axis.com (8.12.8p1/8.12.8/Debian-2woody1) id iB1Kh8cH032245; Wed, 1 Dec 2004 21:43:08 +0100 Date: Wed, 01 Dec 2004 20:43:00 -0000 Message-Id: <200412012043.iB1Kh8cH032245@ignucius.se.axis.com> From: Hans-Peter Nilsson To: mrs@apple.com CC: hans-peter.nilsson@axis.com, gcc@gcc.gnu.org In-reply-to: <78791A4E-DECE-4A88-8097-0AAB6CD99FE1@apple.com> (message from Mike Stump on Wed, 1 Dec 2004 12:27:17 -0800) Subject: Re: RFC: Replace -isysroot with --sysroot? X-SW-Source: 2004-12/txt/msg00088.txt.bz2 > From: Mike Stump > Date: Wed, 1 Dec 2004 12:27:17 -0800 > On Dec 1, 2004, at 10:20 AM, Hans-Peter Nilsson wrote: > > So, can we add --sysroot, to affect the search paths as the > > configure-option --with-sysroot=... does, but as a compile-time > > option. (I missed a question mark) > How is this different than what we already do when the compiler is run > from an alternate place? Not very different at all, except that you don't need to move the compiler et al to the place where you have headers and libraries. But I'd rather compare the suggested --sysroot to --with-sysroot; they should behave the same. This is useful for cross-compiling, where you have different projects/products and where you've put all headers and libraries somewhere that's to be copied to the target (you supposedly don't want to install a different compiler for each). Moving the installed compiler is different. brgds, H-P