| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Msc V6.0 Native Progs |
Hello Vic, 10.11.94 09:29, you wrote a message to Vitus Jensen: [...] VD> I would like to write simple textmode os2 progs, however I VD> haven't been successful. VD> I use LLIBCE (built for os2 & dos) and the following compile VD> command: There is an error: MS-C uses LLIBCEr.LIB or LLIBCEp.LIB for real (DOS) or protected (OS/2) mode. During install you get the option to rename one of them to LLIBCE.LIB (called 'default target system'). It is important to link the correct library as it contains startup code. VD> " cl /FPc /W4 /AL /Lp test.c " followed by a simple This command should compile & link (however on my system I get 'cannot open response file' from the linker). /Lx means "use linker option /NOD:LLIBCE LLIBCEx" where x is r, p or w. VD> " LINK test; " command. Do a "LINK test,/PM:VIO,,/NOD:LLIBCE LLIBCEp;" by hand if your LIB directory contains LLIBCEp.LIB. VD> If I do this for the code below, the .exe will cause a VD> switch to DOS when I try to run it under os2. Do you have VD> any suggestions as to what I'm doing wrong? Check your LIB directory. There should be a large mode library for every target system you installed for. Check for differences in size (LLIBCEp is 248395, LLIBCEr is 259949 bytes on my system, GRAPHICS.LIB not included). Tip: run SETUP /LIB and install new libraries remembering your choices. VD> Thanks for your help. You're welcome. [...test.c...] Tschuesz, Vitus --- Sqed/32 0.97/r00228* Origin: Really a Point of BetaBox, Walheim (2:2474/100.20) 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: 2474/100 0 2476/2 2480/76 24/24 396/1 3615/50 229/2 @PATH: 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™.