home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
g
/
gnumk361.zip
/
MAKEEXE.ZOO
/
readme
< prev
next >
Wrap
Text File
|
1992-03-09
|
3KB
|
61 lines
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= README Release 1 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=
This distribution contains release 1 of a copy of the 3.62 test release of
GNU Make which has been modified to run under the emx 32-bit environment under
MS-DOS or os/2 2.0. (See the README.GNU file in either of the zoo files for
more information about GNU Make.)
GNU Make is free software. See the file COPYING for copying conditions. This
program is provided with absolutely NO WARRANTY of any kind.
This distribution consists of three different parts:
* readme: This file (it is also included in the zoo files).
* makeexe.zoo: The make executable which is ready to run under emx.
* makesrc.zoo: The source files to create make. To compile the sources
you will need emx with the GNU C compiler and also
makeexe.zoo.
This distribution does not contain the GNU provided documentation for GNU
Make. The documentation can be found in the original GNU release. (I got
mine via anonymous ftp from jaguar.cs.utah.edu.) There's no documentation
with this release because I only keep the documentation around as RTF files
and not as .texinfo files as GNU does.
In porting GNU make I have taken a mostly slash and burn approach. GNU Make
relies very heavily on the un*x fork function which is resource intensive.
I have made massive changes in the job.c file so that this release does not
use the fork function. This makes for a smaller executable and hopefully a
program which is a little more robust in the emx environment.
I have also changed the handling of commands within make. To illustrate the
changes, imaging that make wants to issue a command:
gcc -c test.c
First, it examines the command name (in this case "gcc"). If the name ends
with a .bat, .cmd, or .com extension, make uses the emx system() function to
ask either command.com or cmd.exe to execute the command. If the name does
not end with a .bat, .cmd, or .com extension, make adds a ".exe" extension
and looks for the command using the PATH environment variable. If it finds
the command, it executes it directly via a spawnve() function call without
loading command.com or cmd.exe.
This allows make to avoid problems with command line length limits under
ms-dos when calling other emx programs (like gcc, etc.). If make cannot
find the command in its path, it reverts back to using the emx system()
function to execute the command. Thus, in the worse case senario make uses
either command.com or cmd.exe, but in the best case senario, in directly
executes the command and perserves the ability to use long command lines.
[Clear as mud, right!?]
I will gladly accept any question, comments, or insults for poor porting.
Send email to:
gchunt@mail.physics.utah.edu
Or, to the emx-list mailing list:
emx-list@mail.physics.utah.edu
To subscribe to the emx-list mailing list, send email to:
emx-list-request@mail.physics.utah.edu
galen c. hunt
9/March/92