Installing emx
Emx is a suite of programs and libraries that support a Unix-like
programming environment to support the C and C++ languages.
Part One - Runtime
Install the emx runtime to run programs which require the emx
runtime to run. This installation is enough to run most emx-based
programs. Only one emx archvie, emxrt.zip, is requred to
install the runtime environment. The config.sys is
changed, and a reboot will be required.
Download the runtime files
|
Download emx from the Hobbes site at Univerisity of New Mexico (North America)
|
Installation
I put the zip files in c:\temp, and then unzipped them to c:\bin\emx.
- there are a bunch of emx zip files. put them together in one directory.
- choose a target directory.
- change directory to the target directory
- unzip the runtime
unzip %emx_source%\emxrt.zip
- back up config.sys
copy config.sys config.emx
- edit config.sys
- ensure the TZ environment variable is set
set tz=PST8PDT
- add
%emx_target%\bin to the path statement
- add
%emx_target%\dll to the libpath statement
- save config.sys
- reboot
Testing the Installation
To test the installation, run the emxrev program. Six
revision numbers will be displayed. The value of each will be as below for
emx 0.9d fix 03.
[D:\]emxrev
EMX : revision = 61
EMXIO : revision = 60
EMXLIBC : revision = 63
EMXLIBCM : revision = 63
EMXLIBCS : revision = 63
EMXWRAP : revision = 60
Part Two - Developers files
For developers, there are emx files for the compilers and utilities
that are needed. In addition to these files, tools like make, RCS and a
good text editor are also needed.
To install the developers version of emx, unzip the zip file for each
feature in the same fashion the emxrt file. The list of file I used is as
follows:
- bsddev.zip
- bsddoc.zip
- emxample.zip
- emxdev1.zip
- emxdev2.zip
- emxview.zip
- gnudev1.zip
- gnudev2.zip
- gnudoc.zip
- gnuinfo.zip
- gnupat.zip
- gnuview.zip
- emxfix03.zip
Add the following lines to config.sys
SET MAKESTARTUP=c:\bin\dmake40\dmake.ini
SET C_INCLUDE_PATH=c:/bin/emx/include
SET LIBRARY_PATH=c:/bin/emx/lib
SET CPLUS_INCLUDE_PATH=c:/bin/emx/include/cpp;c:/bin/emx/include
SET PROTODIR=c:/bin/emx/include/cpp/gen
SET OBJC_INCLUDE_PATH=c:/bin/emx/include
At the same time, install make. I use dmake version 40, so I create a dmake
directory, and unzip dmake40os2x.zip in it. The MAKESTARTUP environment variable
must be set, and it is already included in the config.sys changes above. It is
also necessary to add the dmake directory to the path.
Testing the Installation
To see if the installation was successful, try to compile the
sample programs in the sample directory off of the emx directory.
Last Modified: 31 Oct 2000
Graphics by Colorful Language
Copyright 2000 by Blonde Guy
|