EMX is a FreeWare 32-bit DOS extender which adds some properties of UNIX to the DOS and OS/2 operating systems written by Eberhard Mattes. You can find it, for example, via anonymous `ftp' on the server `ftp.uni-stuttgart.de' in the directory `pub/systems/os2/emx*'.
The EMX extender for DOS and OS/2 makes it relatively easy to port GNU
tools--such as the GNU Pascal Compiler--to these platforms. However,
it is not straightforward to compile it. There is no bash. No symbolic
links. 8.3 file names. Etc. It took me about two complete days to find
out what to do--not much when facing the about 15 MegaBytes of sources,
but enough. The method I finally did it through might be not the best
one but it works, and I document it here. If somebody finds a cleaner
way how to compile GNU Pascal for EMX, please let me know!
<peter.gerwinski@uni-essen.de>
.
nmake
make utility.
If you are using a DOS system, you are in trouble now,
because the required utility nmake
is an OS/2 program.
I was not able to replace it with, for example, Borland
make
; if you are, please inform me.
pkunzip -d c:\gccsrc? \
cd \emx\gnu pkunzip -d c:\gpc-272
rendir gcc-2.7 gcc-272(with OS/2: `ren')
cd gpc-272\emx nmake FS=FATBe patient -- this will take a while to complete.