From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4412 invoked by alias); 1 Dec 2004 21:34:18 -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 4396 invoked from network); 1 Dec 2004 21:34:14 -0000 Received: from unknown (HELO krynn.se.axis.com) (193.13.178.10) by sourceware.org with SMTP; 1 Dec 2004 21:34:14 -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 iB1LY8AD028465; Wed, 1 Dec 2004 22:34:08 +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 iB1LY8dD001147; Wed, 1 Dec 2004 22:34:08 +0100 Received: (from hp@localhost) by ignucius.se.axis.com (8.12.8p1/8.12.8/Debian-2woody1) id iB1LY8rx001143; Wed, 1 Dec 2004 22:34:08 +0100 Date: Wed, 01 Dec 2004 21:34:00 -0000 Message-Id: <200412012134.iB1LY8rx001143@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/msg00094.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. > > How is this different than what we already do when the compiler is run > from an alternate place? I'm reading your question differently this time so I'm answering again. :-) Aside from the conceptual difference, the actual difference would be that the suggested --sysroot= only affects the target-specific bits, i.e. not cc1 and other host-executables. brgds, H-P