delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/04/06/20:36:09

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
X-Authentication-Warning: smtp3.ihug.com.au: Host p503-tnt1.syd.ihug.com.au [203.173.129.249] claimed to be acceleron
Message-ID: <001901c1ddd4$9b4266f0$0102a8c0@acceleron>
From: "Andrew Cottrell" <acottrel AT ihug DOT com DOT au>
To: <djgpp-workers AT delorie DOT com>, "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
References: <5567-Sat06Apr2002212349+0300-eliz AT is DOT elta DOT co DOT il>
Subject: Re: Building Grep 2.5.1
Date: Sun, 7 Apr 2002 11:35:43 +1000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Reply-To: djgpp-workers AT delorie DOT com

Eli,

I am guilty of asking for this. Looks like I was not explicit enough in one
of my postings last year when I asked if it was okay to remove the redundant
files from the djgpp directory, I forgot to say what I meant by redundant.
Looks like I made a mistake in assuming that if we could build with Autoconf
and Automake then the config.bst and other files were now redundant.

The problems I found in the original code were:-
    a) Had to add target and host types to the configure line:-




./configure --src=%XSRC% --disable-nls --target=i586-pc-msdosdjgpp --host=i5
86-pc-msdosdjgpp
    b) On most occasions had to run the config.bat twice as it run out of
environmrnt space and I couldn't see where

The quickest and easiest way for me to overcome both of the problems was to
use the normal GNU build procedure and as such none of the DJGPP files were
needed, with the exception of the readme informing people how to do the
build.

It was my understanding that when Grep was originally ported there was no
Autoconf and Automake, but there is now and this is what the standrd GNU
build uses so we don't we use the same method. If people are going to
rebuild the tools then it is not unreasonable IMHO that they have these two
packages. This would hopefully also eliminate (my be a dream) the problems
where the config.bat and other files need to be modified whenever a breakage
occurs as the majority of the GNU packjages are built with Autconf and
Automake.

Thanks for adding the color. It was third on my to do list.

Regards,
Andrew
----- Original Message -----
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
To: <djgpp-workers AT delorie DOT com>
Cc: "Andrew Cottrell" <acottrel AT ihug DOT com DOT au>
Sent: Sunday, April 07, 2002 4:23 AM
Subject: Building Grep 2.5.1


> I downloaded today the Grep 2.5.1 pretest, and saw that the djgpp/
> subdirectory was removed from the distribution.  README.DOS now
> suggests to run the autogen script, before running `configure'.  This
> has a disadvantage: users need to have Autoconf and Automake
> installed, since autogen runs them;
>
> Andrew, from the ChangeLog entries it seems like these changes were
> made at your request.  If that's true, can you tell why these changes
> are a good idea?  Is anything wrong with the usual approach of editing
> `configure' with Sed, and then running the edited script?
>
> I tend to ask the current maintainer to populate the djgpp/ directory
> with (suitably updated) config.bat, config.sed and config.site (I
> already have those files, since I just built Grep on my machine using
> them).  However, perhaps I'm missing some factor that led you to
> remove the djgpp/* files; please advise.
>
> (Btw, while at that, I added support for the new --color option; code
> lifted with minor changes from the ported `ls'.)
>

- Raw text -


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