delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/03/04/10:26:48

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
Message-ID: <C59D5C0A3D3FD21192BA00A0C9DDB6A80E6F21@bemidji>
From: "Oelke, Dan" <doelke AT opticalsolutions DOT com>
To: "'Chris Faylor'" <cgf AT cygnus DOT com>
Cc: "cygwin-developers AT sourceware DOT cygnus DOT com"
<cygwin-developers AT cygnus DOT com>
Subject: RE: Question about making changes...
Date: Thu, 4 Mar 1999 09:13:34 -0600
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.1960.3)

> Incidentally, are you reporting a bug with the 1999-2-22 snapshot?  If
> so, we'll need more details to determine why it is not building.  As I
> mentioned the snapshots are verified as buildable before they are made
> available so it is likely that you haven't downloaded everything you
> need to build things.

I've come across 1 1/2 bugs with the 1999-2-22 snapshot.

The real bug is that just running configure and then make will not work.
In the i686-pc-cygwin/newlib, most of the "configure" files do not have 
enough ".."'s in the line:
	for ac_dir in ../../.. $srcdir/../../..; do
should be
	for ac_dir in ../../../.. $srcdir/../../../..; do

I have never been into autoconf so I am not sure, but it
looks like the problem line is this from configure.in
     AC_CONFIG_AUX_DIR(../../..)

Once I hand modified all the configure scripts to have the extra ..
in them configure and then make run just fine for newlib.  Does newlib 
build just fine if it isn't set up with a separate .o tree from the
source???

How do most people set up their tree's?

The "1/2" problem that I've run into is that errno.h had an additional
#define
added to it.  However, when compiling, the configure/makefiles are set
up 
such that the compiler's system include files are searched.  This means 
that you need to copy over the changed .h files before you start
building.

I like to try and keep a stable copy of everything and just monkey 
around in a separate directory tree.  This makes it pretty hard to 
do that.  Now - adding a couple of things to a .h file usually shouldn't
break the stable directory, but if it was adding something to the middle
of
a structure definition, well - that could break things.

So again - how do most people set up their directories to
get/compile the latest snapshots?  I have a feeling that if I did
things "normal" I wouldn't run into these problems.  However,
I haven't seen anything in the cygwin-developers archives or
in any of the faq's, etc. that discuss this.


Thanks,
Dan

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019