From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11609 invoked by alias); 8 May 2002 00:24: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 11602 invoked from network); 8 May 2002 00:24:22 -0000 Received: from unknown (HELO potter.sfbay.redhat.com) (205.180.83.107) by sources.redhat.com with SMTP; 8 May 2002 00:24:22 -0000 Received: from free.redhat.lsd.ic.unicamp.br (vpn3-6.sfbay.redhat.com [172.16.25.6]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id g480NBv12954; Tue, 7 May 2002 17:23:12 -0700 Received: (from aoliva@localhost) by free.redhat.lsd.ic.unicamp.br (8.11.6/8.11.6) id g480OBY26377; Tue, 7 May 2002 21:24:11 -0300 To: Nathanael Nerode Cc: gcc@gcc.gnu.org Subject: Re: Deciphering flags in CXX_FOR_TARGET References: <20020507180939.GA17585@doctormoo.dyndns.org> <20020508000211.GA18183@doctormoo.dyndns.org> From: Alexandre Oliva Organization: GCC Team, Red Hat Date: Tue, 07 May 2002 17:26:00 -0000 In-Reply-To: <20020508000211.GA18183@doctormoo.dyndns.org> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-05/txt/msg00538.txt.bz2 On May 7, 2002, Nathanael Nerode wrote: > Perhaps an 'install-for-build' in each subdirectory which would > copy/move/link/symlink its output files to a tree mirroring the install > tree would do the trick? Nope. We can't install into the build tree, we really have to build the tools into the tree-for-install, and install them from there. This is critical for correct functioning of libtool-build libraries and executables. They're created with a notion of where they're expected to be installed, and installing them elsewhere doesn't always produce correct results. But libtool can tell `build' from `install' files, so if we build them in a location in the build tree in which they will work, and then install them from there, things will work fine. > Perhaps we could just convince each subdirectory to put its files in > a reasonable place without calling 'install', but that sounds harder. Unfortunately this is what we have to do for correct functioning, at least for pieces that use libtool. There's a longer message about this in a thread started by Per Bothner, IIRC, in late February this year. You may want to have a look into that. I've never wanted to ask you to do that cause it might scare you away, but since you got this far, and you appear to be interested in tackling this problem, I think it will do more good to get you involved now :-) Thanks, -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org} Free Software Evangelist Professional serial bug killer