www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/06/26/12:37:50

From: huntercr AT cs DOT purdue DOT edu (Charles Hunter)
Subject: Re: Make on OS/2 ?
To: GJOHNSTO AT PIT DOT LEGENT DOT COM (Gene Johnston),
DJGPP AT sun DOT soe DOT clarkson DOT edu (djgpp mailing list)
Date: Mon, 26 Jun 1995 11:18:51 -0500 (EST)

> 
> 
> I would like to ask a few questions related to the port of GNU make to 
> MS-DOS.
> 
> My real goal is to have GNU make on OS/2. I could find no reference to the
> availability of GNU make for OS/2 so I assume it does not currently exist. 
> Do
> you know if this effort has already been undertaken? If not, I thought that
> the MS-DOS port would be the best starting point for such an effort.
> 

Yes, there is a port of GNU make, as are all the other gnu utils.
I believe that all of them have been ported by Kai Uwe Rommel.
They can be found at the  main OS/2 ftp archive site, hobbes.nmsu.edu
in the /os2/unix directory.

The most current compile of GNU make (version 3.74) is actually still in the
incoming directory.( /os2/incoming )



> I currently have the source for GNU make version 3.74 from
> ftp://prep.ai.mit.edu/pub/gnu. The source for the MS-DOS port appears to be
> 3.71. Have the MS-DOS modifications NOT been incorporated into the 3.74
> version?
> 
> >From briefly reviewing configure.bat (in 3.74) it appears that file names
> greater than 8.3, availability of 'sed', and 'update' (I am not familiar 
> with
> update), the availability of gcc, and the availability of some pre-existing
> make is expected in building GNU make. Can you elaborate a bit on the 
> working
> environment that is necessary to sucessfully build GNU make in the PC world?
> 
in my opinion, too much. 8-)
for os/2 I would get everything that says gnu in front of it :)
more seriously, you will need at least:

	cp,mv,rm,ls,sed,awk,*grep, and sh

I would get ms_shell to fill your sh requirement. ksh is the only other shell
port, and it is buggy.
you probably need to get all of the utils, so I would suggest getting

gnuawk.zip
gnufu.zip
gnufutil.zip
gnused.zip
gnusutil.zip
ms_sh23b.zip

and anything else you find interesting.  All of these zips include source etc
so you may want to do alot of deleting since only the binaries are necessary.

Oh, and of course, you are going to want the EMX package. the emxrt package
is REQUIRED for many of the gnu utils, and if you want gcc you need the
full package.

( /os2/unix/emx09a )

> Do you have recommendations regarding the make program and C compiler that
> might be reasonable alternatives to build GNU make. The make and C compilers
> available to me on OS/2 are likely to be Borland and IBM C Set++, the later
> being more up-to-date in our shop, and therefore the more likely candidate.
> 
actually EMX is your best bet, after all it is GNU C :)

> I need to make judgement regarding the magnitude of the effort and the
> likelihood of success before I can justify trying to build an OS/2 version 
> of
> GNU make, so can you offer an opinion regarding this undertaking. A general
> impression might be helpful, like 'it seems reaonable and achievable', or 
> 'it is
> a foolhardy endeavor to be undertaken only by the hopelessly insane'.
> 

Well it is actually very very easy , because you don't have to ;)



		Good luck,

			Charles Hunter

- Raw text -


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