Win32 compilers

djberg96 on 2004-01-02T17:12:56

For those without the money to buy MSVC on Win32 systems, there are two alternatives. There is the compiler at openwatcom.org and one at digitalmars.com. The latter also has a 'D' compiler, if you're interested.

Mind you, I haven't tried either of these myself. Lemme know how it goes. :)


Also...

jordan on 2004-01-02T18:48:09

There is Cygwin and Mingw. Both are based on GCC and both generate code that can use the full Win32 API.

There's also lcc for Win32, which can also be used to access the Win32 API.

But...

bart on 2004-01-02T19:55:40

Are there any that can be used to compile Perl?

I'm rather fond of lcc, but I don't think one can use it to build Perl. At least, I've not heard of anybody who did it. And me, I'm not enough of a hero in C to even attempt it.

Re:But...

nicholas on 2004-01-02T21:20:16

Nigel Sandever provided a patch to get PerlIO working with the borland compiler, which is now in the development sources. If anyone with access to Windows and any of these compilers wants help in herding Perl to work with them, don't hesitate to mail perl5-porters. You don't actually need to subscribe to mail it, and people will Cc: you if asked, which lets you avoid all the other stuff.

Re:But...

jordan on 2004-01-03T00:31:05

Cygwin can be used to compile Perl.

Get MS VC++ 7 commandline compiler for free

jand on 2004-01-06T23:32:08

by installing the .NET Framework. You won't get the Visual Studio IDE (debugger), and you won't be able to use optimization. But last I checked, the code generated by VC++ without optimization was still running faster than GCC with optimization. This may be different now.

Re:Get MS VC++ 7 commandline compiler for free

djberg96 on 2004-01-07T01:17:59

A couple folks in the Ruby community tried it, but had problems because something crucial (don't know what at the moment) was missing.

Re:Get MS VC++ 7 commandline compiler for free

jand on 2004-01-09T03:49:55

Well, I think I once did build Perl with it. It is possible that you need to install the complete Framework SDK and not just the .NET redistributable.