Jamesbarford / holyc-lang

HolyC compiler
BSD 2-Clause "Simplified" License
152 stars 7 forks source link

[Feature request] MinGW Support #53

Open Ena-Shepherd opened 3 weeks ago

Ena-Shepherd commented 3 weeks ago

Hello, I tried to port your project to MinGW without success. It would be very nice to have access to your compiler on windows. Have a good day !

Jamesbarford commented 3 weeks ago

Thank you for your comment.

Certainly I see the value of having this project of compiling on Windows as it is quite limiting having it only work for Mac and Linux x86_64 machines.

Presently this is not something I'm currently looking to do. When I have spare time to work on this I am expending my efforts on trying to make this compiler have an intermediate representation and subsequently target different architectures. Thus compiling on Windows is not something that will be done in the near future, it is however something I would consider later down the line.

Though I do not have a windows computer to test this theory; you can install WSL2 (Windows Subsystem for Linux) and I'd have thought this would compile and work without much issue.

Ena-Shepherd commented 3 weeks ago

Thank you for your reply :) I forked the project a few days ago to add some features, and try again for MinGW. IR is also a good plan imo.

The closest thing to being done right now is adding CMake to build hcc even more easily.

Adding GitHub actions for testing and producing releases will be planned too on my end.

Have a good day