TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Joey Mukherjee
from: Frank Sexton
date: 1995-05-20 12:37:00
subject: Compiling a 16bit OS/2 program

-=> /* Quoting Rinat Sadretdinow to Joey Mukherjee */ <=-

 JM> I have a program that could be compiled as 16bit, but whenever I try
 JM> to compile it with the WATCOM, it says it can't find the DOSCALLS.LIB.
 JM> I have the header13.zip that was sent over Fernwood, but I still don't
 JM> have the file.  How do I make it or where can I get it?

 RS> To force WLINK to link your 16bit applications you need to move
 RS> os2286.lib from watcom\lib386\os2 to watcom\lib286\os2 and _rename_ it
 RS> to doscalls.lib. May be it's a bug in watcom installation program, may
 RS> be not. I fought this problem about a year, and only my experementation
 RS> in copying/moving various files helped me to win watcom linker :-)

Hmm... I never tried the solution mentioned by "RS". Sounds
like it would work.  Never thought of it:-). However, you
could also try to get the OS/2 v2.1 DOSCALLS.LIB off of
your original 2.1 disks.  Or, just Freq it from me (grin).

DOSCALLS.ZIP   15K Allows Watcom 10.0a to produce 16-bit OS/2
                   executables when running under OS/2 Warp
                   3.0. DOSCALLS.LIB was provided in the OS/2
                   2.1GA release but not in the OS/2 Warp 3.0
                   release.  It is required by Watcom 10.0a to
                   produce OS/2 16-bit code.

-Frank

--- Blue Wave/RA v2.12 OS/2
* Origin: Wildcard BBS-Thornton,CO H16/V34 303-252-0491 (1:104/725)
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: 104/725 525 512 540 3615/51 50 396/1 270/101 105/103 42 712/515
@PATH: 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™.