Igor Schein on Fri, 5 Nov 1999 15:49:06 -0500

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Configure -s

On Fri, Nov 05, 1999 at 03:38:15PM -0500, Ilya Zakharevich wrote:
> On Fri, Nov 05, 1999 at 02:39:02PM -0500, Igor Schein wrote:
> > But that's exactly what needs to be done.  Basically, here's how
> > I see it.  Configure -s needs to make static the default, but
> > the rest should be intact, i.e. 'make all' should always build both
> > targets regardless of default, and 'make gp' should always build
> > the default target.  I believe this is how it's meant to be, however
> > the way -s flag is implemented, gp-dyn is never built.
> ... which is a good thing, since a failure to build gp-dyn should not
> be a failure of make after configure -s.
> Ilya

It's a valid consideration - I didn't think about it.  One could use
make -k, or gp-dyn could be moved to the end of 'all' target, but
it's dirty, I guess.  In that case, let's have both gp-sta and gp-dyn
available in top level Makefile.  

Here's the justification.  I always run Configure -s, because I want
'make install' to create a link pointing to static binary.  However,
yesturday I needed to have gp-dyn to use install() function.  So I had
to rerun Configure without -s, but I don't want to do it every time.