Re: [polyml] PolyML and windows

2021-04-11 Thread Eliot Moss

On 4/11/2021 6:15 AM, David Matthews wrote:

Hi,
This ought to be a FAQ because it does come up from time to time.

There are two ways that I know of to build Poly/ML from source on Windows.  By far the easiest is 
with the (free) community edition of Visual Studio.  Download and install the C++ version, open the 
PolyML.sln file, select "Release" and "x86" (for 32-bit) from the drop-downs, set "PolyML" as the 
"Startup Project" in the "Solution Explorer" and build.


The other way is to use Msys64 which can be used to build both 32-bit and 64-bit versions.  This is 
more complicated to set up but provides a Posix shell so that "configure" and "make" can be run as 
usual.


David


It also builds and runs under Cygwin, which is a library and pretty extensive collection of programs 
ported from Linux that offers a Linux-like environment under Windows.  (It is not a VM, such as the 
Windows Subsystems for Linux (WSL) -- programs have to be ported and built under Cygwin.  However, 
many things work with little adjustment.)


Regards - Eliot Moss
___
polyml mailing list
polyml@inf.ed.ac.uk
http://lists.inf.ed.ac.uk/mailman/listinfo/polyml

Re: [polyml] PolyML and windows

2021-04-11 Thread David Matthews

Hi,
This ought to be a FAQ because it does come up from time to time.

There are two ways that I know of to build Poly/ML from source on 
Windows.  By far the easiest is with the (free) community edition of 
Visual Studio.  Download and install the C++ version, open the 
PolyML.sln file, select "Release" and "x86" (for 32-bit) from the 
drop-downs, set "PolyML" as the "Startup Project" in the "Solution 
Explorer" and build.


The other way is to use Msys64 which can be used to build both 32-bit 
and 64-bit versions.  This is more complicated to set up but provides a 
Posix shell so that "configure" and "make" can be run as usual.


David

On 10/04/2021 04:12, Kostirya wrote:

Hello.
I have questions about PolyML and Windows.

Can PolyML run in Windows 32-bit?
I see than last version PolyML have binary distribution for 64-bit Windows only.

Is it possible to compile PolyML for 32-bit Windows with help Clang?

Can I make executable files from PolyML for Windows (with help polyc)?

Can I do cross-compiling from UNIX to Windows?

Nick.
___
polyml mailing list
polyml@inf.ed.ac.uk
http://lists.inf.ed.ac.uk/mailman/listinfo/polyml


___
polyml mailing list
polyml@inf.ed.ac.uk
http://lists.inf.ed.ac.uk/mailman/listinfo/polyml