TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Rob Landley
from: Paul Edwards
date: 1995-03-20 19:16:30
subject: 32-bit bink hack

> improved functionality, just a nice 32-bit executable, and the
> source code compiles on all those compilers with no warnings, even
> with full warnings switched on.  Actually, there is a small amount

RL> Does it come with an EMX make file?  I've spent more time than I'd like 

No, it didn't.  But 12 hours of work later, and it now does.  I
discovered an EMX bug in the process too.  FREQ BTPE*.* from 3:711/934
to get a version that compiles with EMX.  The current version is 
BTPE302.ZIP, but that can change at any time.

RL> trying to figure out make files from the docs that come with EMX and dmake, 
RL> and have come to the conclusion that it's not humanly possible...

I have also figured that out.

Stick "SET INIT=e:\path\dmake.ini" in your CONFIG.SYS
Then create a file called "dmake.ini" in "e:\path".
Then stick dmake.exe in "e:\path".
The stick "e:\path" in your path.
Then go "dmake -f makefile.emx"

You can substitute any directory for "e:\path", of course.

RL> Any ideas?  I want to port my bbs to OS/2, and the only compiler I've got 
RL> is gcc/emx.  I've been spoiled by borland's IDE, where all you have to 
RL> worry about is writing code rather than telling the compiler to link the 
RL> files with the multi-threading library only on alternate thursdays when the 
RL> .SUFFIXES line can be safely ignored, or something...

You can keep makefiles very simple if you want.  Oh yeah, dmake
requires tabs in the makefile, but on any decent system you would
just create a file called "makefile" and in it stick:

world.exe: world.c
  bcc world.c

And then type "make".  BFN.  Paul
@EOT:

---
* Origin: This is just another kludge line like SEENBY (3:711/934.9)

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