Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Alan Young <ayoung@teleport.com>
To: axp-list@redhat.com
Subject: Re: stopping ./configure from choking on use of ccc/cxx
Date: Wed, 03 Jan 2001 11:04:48 -0800	[thread overview]
Message-ID: <3A5377D0.E018D46E@teleport.com> (raw)
In-Reply-To: 3A53199A.349C120@alphalinux.org

Peter Petrakis wrote:
> 
> > 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) :-).

ok.
 
> > 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.

I think most of the packages I build recreate libtool.  It's getting
tiresome editing libtool after configure has run... :\
 
> > 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.

Personally, I've never been real thrilled with libtool.
 
> 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.

It's the SDL tarball from the SDL web site.

Alan




  reply	other threads:[~2001-01-03 19:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-03  2:29 stopping ./configure from choking on use of ccc/cxx Peter Petrakis
2001-01-03 10:18 ` Alan Young
2001-01-03 12:22   ` Peter Petrakis
2001-01-03 19:04     ` Alan Young [this message]
2001-01-04  7:50       ` stopping ./configure from choking on use of ccc/cxx (LONG) Alan Young
2001-01-04 13:43         ` Adam C Powell IV
2001-01-05  3:32           ` Alan Young
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox