samtay / tetris

A terminal interface for Tetris
Other
871 stars 40 forks source link

Creating Linux executable on macOS? #2

Closed arcticmatt closed 7 years ago

arcticmatt commented 7 years ago

I made a game in brick (thanks for your tutorials, they were super helpful!) and am now putting out a release. I noticed that you have releases for both macOS and Linux. Is there any way to generate a Linux build on a macOS, without using a VM or dual-booting? I'm guessing the answer is no, but just thought I'd ask.

samtay commented 7 years ago

Great, glad I could help! And no, unfortunately, cross compilation is not an easy problem to solve. You can google around to see what other people have done for Haskell executables. I happen to have a MacBook at work, so it's easy for me.