gobuffalo/buffalo

I can't cross compile to linux

adeolaibigbemi opened this issue · 4 comments

Description

I am building a buffalo project on windows.
I am trying to cross compile the project to linux.

I have set all the needed env variables for linux. see attached image.
image

The problem is that I get a .exe file when I compile and this is not usable on linux.

Am I doing anything wrong?

Please help.

To Reproduce

No response

Additional Context

Details

Paste the output of `buffalo info` here!

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment. Otherwise, this will be closed in 7 days.

I believe this has been answered in Slack: https://gophers.slack.com/archives/C3MSAFD40/p1697996217777509

The issue @adeolaibigbemi had was that on Windows you have to be very specific with the file extensions. The executables must be have least .exe.

TBH it has caught me out also at least once 😄

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment. Otherwise, this will be closed in 7 days.

This issue was closed because it has been stalled for 30+7 days with no activity.