TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Stephen Doerk
from: Rob Landley
date: 1995-05-02 15:23:48
subject: OS/2 Native apps

> I would like to start working on OS/2 Native applications and wondered what
> was available for developing those.  I write in C/C++, Clipper, Basic PDS

The EMX package is free (ftp from any hobbes site (hobbes.nmsu.edu,
ftp.cdrom.com, etc in the pub/os2/unix/emx9a directory.  Grab emxdev.zip
because that's got the compiler in it, and you'll probably want the docs
and several of the other things there as well.  The list is 00index.txt).

That's a port of the gnu c/c++ compiler, which takes a little getting used
to (it has no IDE, it's a command line compiler,) but it produces
reasonable output, is very well debugged, has regular updates, and best of
all it's free.

The doc files (um, emxdoc.zip I think) you want to look at are libref.doc
and emxdev.doc.  Basically gcc -o filename.exe -Zomf -Zsys file1.cpp
file2.cpp file3.cpp
should make your thing for you as a stand-alone .exe that doesn't need any
.dll files to run.  There are some optimization things (stripping out the
symbol table and stuff) which you should read the docs to find out about.

P.S.  that was for text apps.  For PM apps you'll need a resource file, and
a .def file, and...  It gets complicated.  Read the docs, and get a good
book on PM programming (it's a lot like windows programming, except it
works.)

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™.