TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Tom Williams
from: Rob Landley
date: 1995-07-31 22:11:34
subject: EMX

> What is EMX?  I've seen lots of GNU compilers and development tools for EMX,
> but I haven't found anything that tells me what EMX is?  Help!!!!!

EMX is a unix emulation package for OS/2 and dos.  (under OS/2, it's a DLL.
 Under dos, it's a dos extender .exe.)

GCC was ported to EMX, and runs very well under it.  Meaning you can run
GCC under OS/2 or DOS.  The EMX port of GCC can compile 2 kinds of
programs.  1) EMX programs (unix programs that'll run under the unix
emulator) and 2) OS/2 programs (32 bit native, PM apps, DLL's, the works. 
It'll do SOM if you have the developer's toolkit.)

You need 4 files to start compiling stuff with EMX.  You need the EMX dll's
(emxrt.zip), the libraries and header files (emxdev.zip), the port of GCC
itself (gnudev.zip), and the C++ extensions to GCC (gppdev.zip).

All of these files are available from ftp.cdrom.com in the directory
pub/os2/unix/emx09a.  There's other stuff there too (I.E. the complete
source code to everything, megabytes of documentation, graphics packages,
extra libraries, etc.)

If you see other utilities that "require emxrt.zip" that means
they were compiled for the unix emulator, and need emx.dll to run under
OS/2.

EMX was origionally designed to make porting unix stuff to the PC easy, but
they decided that once they had GCC running on the PC, why not tune it to
produce 32 bit native OS/2 executables?  So they did.

To get GCC to produce OS/2 code, feed it the command line switches -Zomf -Zsys

otherwise it'll produce EMX code, which needs the unix emulator to run.

Rob
 
--- Xblat
* Origin: The conversation pit, OS/2 in Boca Raton, FL (1:3638/42)
SEEN-BY: 105/42 620/243 711/401 409 410 413 430 807 808 809 934 712/407 515
SEEN-BY: 712/628 704 713/888 800/1 7877/2809
@PATH: 3638/42 14 3615/50 396/1 270/101 105/103 42 712/515 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.