TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Vitus Jensen
from: Vic Dura
date: 1994-11-18 08:25:00
subject: Msc V6.0 Native Progs

VJ>  VD> I would like to write simple textmode os2 progs, however I
VJ>  VD> haven't been successful.

VJ>  VD> I use LLIBCE (built for os2 & dos) and the following compile
VJ>  VD> command:

VJ> There is an error: MS-C uses LLIBCEr.LIB or LLIBCEp.LIB for 
VJ> real (DOS) or protected (OS/2) mode.  During install you get 
VJ> the option to rename one of th to LLIBCE.LIB (called 
VJ> 'default target system').It is important to link the 
VJ> correct library as it contains startup code.  VD> " cl /FPc 
VJ> /W4 /AL /Lp test.c " followed by a simple

Vitus,

Thanks *very* much for your help. The problem was that the LLIBCE.LIB
that was in my \lib directory apparently was for real-mode only. There
was no LLIBCEp there, so perhaps I didn't do the setup correctly.
I did another setup and created another LLIBCE for os2, and renamed
it to LLIBCEp. When I explicitly link  LLIBCEp with my .obj, it works
as expcected!

VJ> This command should compile & link (however on my system I 
VJ> get 'cannot open response file' from the linker).  /Lx means 
VJ> "use linker option /NOD:LLIBCE LLIBCEx" where x is r, p or 
VJ> w.

The compile swithc /Lp dosn't seem to cause LLIBCEp to be used
instead of LLIBCE. I don't know what the problem is, but I can
reference LLIBECp explicitly, and it works ok.

Thanks again for you kind help. If I can ever be of service to you
please don't hesitate to ask.

Regards, Vic Dura (victor.dura{at}woodybbs.com)
Rogersville, AL

---
 * RM 1.3 01752 * The LEAST government is the BEST government.

--- QScan v1.131b / 01-0087

* Origin: Data Stream BBS 205-232-2400 28.8K Athens,Ala (1:3670/10)
SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 410 413
SEEN-BY: 711/430 807 808 809 934 942 949 712/353 623 713/888 800/1
@PATH: 3670/10 3615/50 229/2 12/2442 711/409 54/54 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™.