part-cw / lambdanative

LambdaNative is a cross-platform development environment written in Scheme, supporting Android, iOS, BlackBerry 10, OS X, Linux, Windows, OpenBSD, NetBSD, FreeBSD and OpenWrt.
http://www.lambdanative.org
Other
1.39k stars 86 forks source link

Development using the Windows platform #239

Open VK3FNG opened 5 years ago

VK3FNG commented 5 years ago

Is development on the Windows platform supported? I have attempted to run configure and have been presented with this error:

$ ./Configure Calculator
ERROR: this host platform is not supported [x86_64-pc-mingw64]

If I have missed something in the documentation I apologize.

mgorges commented 5 years ago

As stated in the Wiki Getting Started, developing on a windows machine is possible, but not recommended. There exists a target for this platform targets/win32/host_win32, but I believe this is the 32bit version, not a 64bit, which you are trying to build for?

You could try changing configure#L120 to also match your mingw64 pattern, but I have no idea if this works? Alternatively, you would need to expand this configure piece, add a new win64 target, starting from the win32 target, and adjust appropriately. If you do so, and have success, I'd appreciate if you were to contribute this back as a pull request.