delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/07/07/12:13:02

From: Eric Backus <ericb AT lsid DOT hp DOT com>
Subject: Re: Regex
To: king AT smrsu1 DOT SINet DOT SLB DOT COM
Date: Tue, 7 Jul 92 8:37:56 PDT
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Mailer: Elm [revision: 66.25]

> A couple of quick questions.
> 
> 1) I have regex.h regex.cc from the standarg GNU release,
>    but apparently as is stated in your doc I cannot modify
>    a sequenced archive to add regex.o once its sequenced.
>    Not having a non-sequenced archive with the distribution
>    I need to recompile the entire set of sources.  There are
>    "NDMAKE" file to do this but I don't have NDMAKE, what is
>    it and how do I get it?

I'm not sure why you can't modify a sequenced archive.  However, you
can extract all of the *.o files from a sequenced archive with:

	ar x <archive_name>

You will also extract the __.sym file, which I imagine is the symbol
table used when linking.  Delete this file.  Then add regex.o to the
directory where you extracted the other *.o files, and recreate the
archive from scratch.  This is a lot less work than recompiling all
the *.o files.
--
				Eric Backus
				ericb%hplsla AT hplabs DOT hp DOT com
				(206) 335-2495

- Raw text -


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