From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 5743A2EFF2 for ; Wed, 3 Jan 2001 07:22:53 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f03CMrj07901 for axp-list@listman.redhat.com; Wed, 3 Jan 2001 07:22:53 -0500 Received: from alphalinux.org (alphalinux.org [63.236.138.10]) by mail.redhat.com (8.11.0/8.8.7) with SMTP id f03CMqD07897 for ; Wed, 3 Jan 2001 07:22:52 -0500 Received: (qmail 17356 invoked by uid 0); 3 Jan 2001 12:22:32 -0000 Received: from node-64-145-21-18.dslspeed.zyan.com (HELO alphalinux.org) (64.145.21.18) by alphalinux.org with SMTP; 3 Jan 2001 12:22:32 -0000 Message-ID: <3A53199A.349C120@alphalinux.org> Date: Wed, 03 Jan 2001 07:22:50 -0500 From: Peter Petrakis X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.17 alpha) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: stopping ./configure from choking on use of ccc/cxx References: <3A528EA6.DE1AED22@alphalinux.org> <3A52FC64.14001F04@teleport.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors > Interesting...I had not time to look into the libtool issue. What you > have found is interesting. I'm a bit confused about the steps you have > described. Are you saying to do 1) alias gcc=ccc, 2) run ./configure, > then 3) run ./ltconfig or are you saying do 3) before 2). If I do 3 > before 2, then configure wipes out the libtool that ltconfig built. The procedure is 1) 3) 2) :-). > It's doing it when I try this procedure on SDL. Also if I do 3 after > 2, then the libtool file does not match what came out of configure. > (I'm not sure if the mismatch is really a problem or not.) It shouldnt do that. configure should load the libtool previously created unless it's creating it's own libtool as "part" of the script. It works here with MySQL and php consistantly. > Something strange is going on in configure. There's something in > configure that says if I'm not gcc, then don't create a shared lib. > It gets worse if you specify CFLAGS in the environment, then it > doesn't work at all (gcc pukes on my -arch switch). It seems to > be calling /usr/bin/gcc directly. You see. The whole idea of libtool is to use "it" to call your compiler so your makefile remains independant of such things and thus more flexiable. The configure file that comes with SDL is doing something wrong. Is this just the SDL tarball or the current SDL rpm from RH? I want to try and reproduce what you're seeing. Peter -- www.alphalinux.org Peter Petrakis Warrior/Engineer ppetrakis@alphalinux.org "Oh my God! They killed Xena! You bastards!!" " Who the hell are you!? Name's Ash Housewares..."