win3.x compatable compilers

November 17, 2007 at 11:57:28
Specs: drdos, lots/varient
I'm trying to find or create a database of
tools that can create windows 3.1
compatable programs

a list of all compilers
proven capable of creating
win16 or win32s programs&dlls

any info on the subject?

See More: win3.x compatable compilers

Report •

November 17, 2007 at 13:28:56
Borland Turbo C++

and more

If at first you don't succeed, you're about average.


Report •

November 17, 2007 at 15:44:47
thank you Mechanix2Go

I know there are more
and I know of borland C++

but do you know which compilers can
make win16&win32s programs
and have you tested them?

Report •

November 17, 2007 at 16:45:00

I don't know what would motivate me to pay for TCC 1.01 when it's free from Borland.

If at first you don't succeed, you're about average.


Report •

Related Solutions

November 17, 2007 at 17:35:43
heh no idea
just an index of compliers

though 16bit win vers require dos
I'm trying to index compilers that can
create windows 3.x win16 or win32s apps

none of borlands free compilers
can make win16 programs or win32s
can they?

Report •

November 18, 2007 at 03:34:20
Visual Basic 4.0 and earlier.

Report •

November 18, 2007 at 04:57:20
Open Watcom C/C++ the Sybase professional an now open source compiler, a cross platform compiler that runs under DOS, DOS 32 bit, Win 3.X, Win 9X/ME and Win NT/2000/XP to make executables for all the previous environments.

An astounding free product with documentation, tools and IDE. There is also the companion Fortran 77 compiler.

Report •

November 18, 2007 at 18:50:20
thank you
do you know what the various versions
win ver requirements are?
does vb4 make 16bit &or win32s programs?

thank you
what Sybase versions
can compile win 16 and win32s programs?

and can all watcom versions compile
win16 and win32s programs?

know of any 16bit example apps from the two?

Report •

November 19, 2007 at 03:14:06
VB 4 came with both 16 and 32 bit versions.

Report •

November 19, 2007 at 03:53:47
Latest release is Open Watcom 1.7 (October 2007), but all versions, either Sybase or Open Source, can produce 16 and 32 bit code for Microsoft's environments.

As far as I know Watcom is widely used to develop and maintain C/C++ and Fortran projects, but I can't point you to a sample one. My own experience is in developing simple code for DOS/FreeDOS 32 bit environment. The IDE for DOS, lacking in the official distro, is supplied by a third party free application (Power View IDE) coded in Watcom C/C++, very effective.

Take a look at the Watcom official site for more info

Report •

November 19, 2007 at 11:15:08
thanks again wizard-fred
do you know if the 32bit version of vb4
can run under or create programs for win32s?

thanks again IVO
its intersting that all versions
can compile win16 apps

if Sybase has been around for a while
it should have at least a few win16 apps
or at least some win32s
I'll have to search around some

read up some on open watcom
managed to locate a win32s program
but no 16bit ones

I dont know much about C++
is the compiler setup so you could
easily compile a test 16bit windows app?

Report •

November 19, 2007 at 15:36:15
As I said I use Open Watcom under FreeDOS to develop simple DOS protected mode 32 bit programs meanly to support my wife, teaching Mathematics and Principles of Information Technology at high school.

To do that I run Watcom in a Virtual Machine under Win XP and to minimize the storage allocation I set up just the modules for DOS 16/32 bit target environments.

Any way it is easy to add the missing modules to compile for Win 16 targets and Watcom offers samples too.

If your target is worth for you, I can expand my compiler, but as time is a limited resource I trust you are not kidding.

So please let me know your opinion and the selected target (Win 16 or Win 32 or NT); keep in mind I'll perform a cross-platform compilation (host=DOS target=e.g. Win 16) and you have to wait at least a week or more for the result.

Report •

November 20, 2007 at 14:15:52
I'm sure your time is priceless
thank you for your interest and help
though I've found a few win32s open watcom apps
I would like to see a win16 test

I was reading a book on msvc++ today
and noticed it refering to making win16 apps with C
any idea what compiler that would be?

Report •

November 20, 2007 at 15:11:25
The compiler reported in your book may be Turbo C/C++ by Borland as in early 90s Borland ruled the market for cross-conmpilers under 16 bit environments (e.g. Borland Pascal BP hosted by DOS Protected Mode with targets to DOS, DOS Protected Mode and Win 3.X).

About the sample C/C++ program compiled by Watcom for Win 3.X if I catch the time to blow up it from one of Watcom's samples, I'll send you at your mail in-box.

Report •

November 22, 2007 at 16:18:48
any one know any thing about Dynace,
Euphoria and win32s
or MIT/GNU Scheme?

Report •

November 22, 2007 at 16:45:55
found windows 3.1 refrence to
Essential Lahey FORTRAN 90
any one know if either are
compatable compilers?

Report •

February 13, 2014 at 19:26:40
Hi Watler,

I remember your name and I think you know me too from long time ago.

I have recently posted some new questions in the Windows 3.1, DOS and XP forum which you may be interested in.

I see your question here is already from 2007 and you may have found a good solution/ made a good list already.
If not here is my answer:

Did you already try Delphi 2?

I have bought a computer magazine (about 10 years ago!) which came with a free (full) version of it but I didn't have time to try it until now. ;-)

I choose Delphi because the only knowledge I have with developing is from even longer time ago and the languages I used were Basic (on a ZX spectrum or something similar ;-) Pascal and Turbo Pascal.

Yesterday I downloaded an installed a recent version of the Free Pascal Compiler, which supports several older OS's including DOS, OS/2 , Windows, Linux etc. but I am not sure it has good support for the Win16 API and the WIN32S subset API (it does support the WIN32 API).

After reading some documentation an trying some demo's I found out FPC is not so easy to start with (compiling for different graphical platforms introduces a lot of complexity).

My idea from ten years ago to try Delphi 2 first, which definitely supports the WIN16 and WIN32 API's, is the best start I guess if you don't have much experience in developing like me and already have some knowledge from (Turbo) Pascal.

I also bought a (second hand) full version of Borland C++ some years ago, but this software is also untouched until now, because then I have to learn C++ too! ;-)

I don't know if you want to have and use these compilers yourself (or just want to make a list of compatible compilers).
If you want to have them (and haven't found them already) my advice is to do a search on eBay (or similar sites) for an official version.

Like the compilers that I acquired the price won't be a problem (anymore).

Borland compilers were known to be one of the best, but Visual Basic 4.0 from MS that was mentioned by Wizard Fred would be a good choice too.

message edited by Soedesh

Report •

April 22, 2016 at 16:25:40
Thank you Soedesh.

The win95 compilers Delphi 2 , Delphi 3 and Delphi 4 can create win32s applications.
Borland C++ 5.5 can make win32s applications.
When I tested Free Pascal 1.9.6, I found that it can make win32s applications.

The win16 spectrum emulators work very well.

Thank you ,Mechanix2Go.
Thank you ,IVO.
Thank you ,wizard-fred.

I appreciate help and advice.

message edited by watler

Report •

Ask Question