Computing.Net > Forums > OS/2 > OS/2 2.1 C Compiler

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

OS/2 2.1 C Compiler

Reply to Message Icon

Name: CGN
Date: June 2, 2002 at 13:39:33 Pacific
Comment:

I need a 32-bit OS/2 2.1 C Compiler. If I compile a 32 bit program in OS/2 will it run in a 32-bit Windows OS? Please tell me where I can find this compiler.

-CGNet



Sponsored Link
Ads by Google

Response Number 1
Name: Javi
Date: June 4, 2002 at 04:57:07 Pacific
Reply:

I think it would run if the program is using text output, I mean, if the program is not linked (satically or dinamically) with any specific system library.

I think GCC, for example, will satisfy your needs, since it compiles for 32 bits, using crt0.lib and parts of libc.lib (I don't remember exactly). It would run on Windows. If you what to make OS/2 PM programs you would want to get a OS/2 programming library or to do it by yourself (linking to DLLs, intercepting or calling system interrupts...)


0
Reply to Message Icon

Related Posts

See More


Os2 Warp on a Pentium 3..... Some questions about OS/2



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to OS/2 Forum Home


Sponsored links

Ads by Google


Results for: OS/2 2.1 C Compiler

C Compiling on OS/2 www.computing.net/answers/os2/c-compiling-on-os2/234.html

ANSI C++ compiler for OS/2 www.computing.net/answers/os2/ansi-c-compiler-for-os2/372.html

conversion of c progs to OS/2 www.computing.net/answers/os2/conversion-of-c-progs-to-os2/1725.html