From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9368 invoked by alias); 2 Dec 2001 18:41: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 9332 invoked from network); 2 Dec 2001 18:41:16 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by hostedprojects.ges.redhat.com with SMTP; 2 Dec 2001 18:41:16 -0000 Received: from fri.redhat.lsd.ic.unicamp.br (cse.cygnus.com [205.180.230.236]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id KAA12606; Sun, 2 Dec 2001 10:37:47 -0800 (PST) Received: from free.redhat.lsd.ic.unicamp.br (free.redhat.lsd.ic.unicamp.br [192.168.160.1]) by fri.redhat.lsd.ic.unicamp.br (8.11.6/8.11.6) with ESMTP id fB2IbkZ23309; Sun, 2 Dec 2001 16:37:46 -0200 Received: (from aoliva@localhost) by free.redhat.lsd.ic.unicamp.br (8.11.6/8.11.6) id fB2IbiO29116; Sun, 2 Dec 2001 16:37:44 -0200 X-Authentication-Warning: free.redhat.lsd.ic.unicamp.br: aoliva set sender to aoliva@redhat.com using -f To: Toon Moene Cc: gcc@gcc.gnu.org Subject: libf2c won't install properly if exec_prefix != prefix From: Alexandre Oliva Organization: GCC Team, Red Hat Date: Sun, 02 Dec 2001 10:41:00 -0000 Message-ID: User-Agent: Gnus/5.0805 (Gnus v5.8.5) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2001-12/txt/msg00032.txt.bz2 Toon, This patch: 2001-10-05 Toon Moene * Makefile.in: Move libg2c.so and libg2c.{l}a to the same directory at install. broke the libf2c install in case prefix != exec_prefix, in the line below: (cd $(libsubdir)/$(MULTISUBDIR) ; mv -f $(LIBG2C_BASE).* $(prefix)/lib)) $(libdir), that you should have used, is $(exec_prefix)/lib, not $(prefix)/lib. libraries are machine-dependent, so they go in exec_prefix. Anyway, there's more to be fixed about this line. Do you realize that, when a library is multilibbed, only the last copy of the library will survive and, even then, its .la file will point into the multilib directory, but the library will no longer be there? I strongly recommend removing this line, but I'm curious about the reason behind your having introduced it. Cheers, -- 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 *Please* write to mailing lists, not to me