TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Richard Glidden
from: Rob Landley
date: 1995-06-01 08:41:26
subject: OS/2 Compilers?

>   I've been running OS/2 for just over a year now, and am still stuck doing
> all my programming for DOS. =(  I was wondering if anyone might recommend a
> good OS/2 Compiler, for a CHEAP price?  I've got Microsoft C 6.0, but that
> only compiles 16-bit OS/2 Apps.  Thanks...

The EMX package is free.  I've used it to compile multi-threaded
presentation manager apps, DLL's, libraries, everything.  It's really nice.
 I even wrote a utility for it called "bake" so you don't have to
use "make" files.

The advantages of EMX:

1) It's free.
2) It can compile everything I've ever thrown at it.
3) It runs in 2 megs of ram, and 11 megs of disk space.
4) It comes with a nice "libref.doc" file that lists every
function in the entire runtime library.

Disadvantages:

1) No IDE (you have to use the command line, or a project manager like bake)
2) The docs are poorly organized.

The thing about EMX is that it can produce two different types of programs:

1) 32 bit native OS/2 programs.
2) EMulated uniX apps (which is where the name EMX came from).

The unix emulation requires "emx.dll" to run under OS/2.  The two
methods are completely different, with completely different command line
switches.  

If you get "bake", you don't need to WORRY about the command
line, it'll do everything for you.  Get "bakev100.zip" off of
hobbes (still in the incoming directory, after a week and a half.)

The files you need are:

In ftp.cdrom.com /pub/os2/unix/emx09a

emxrt.zip
emxdev.zip
gnudev.zip
gppdef.zip

in ftp.cdrom.com /pub/os2/incoming

bakev100.zip

Unzip the first four in the root directory (they make their own
subdirectories).  There's an install file on the ftp site (emxinst.txt? 
Something like that...) that explains what changes to make in config.sys
(you have to add it to your path, and set a couple of environment variables
for more paths.)  It doesn't mention that you need to add the
"library_path" environment variable for the resource compiler,
that's only for PM apps.

Unzip bake in a temp directory, read the docs, copy the exe into your path
somewhere, and try it out.

Rob
 
--- Xblat
* Origin: The Conversation Pit, Marlton NJ 609-985-7553 OS/2 V34 (1:266/30)
SEEN-BY: 105/42 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407
SEEN-BY: 712/515 628 704 713/888 800/1 7877/2809
@PATH: 266/30 40 100 505 3615/50 396/1 270/101 105/103 42 712/515 711/808 809
@PATH: 711/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™.