Skip to content

Cross-compilation for Nelua? #37

Answered by edubart
rprata asked this question in Q&A
Nov 23, 2020 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

You just need to use a different C compiler or CFLAGS. I do this with nelua --cc=x86_64-w64-mingw32-gcc helloworld.nelua for example to cross compile to Windows while on Linux and nelua --cc=emcc helloworld.nelua to cross compile to WebAssembly. Usually any platform that supports C is supported.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@polypoyo
Comment options

Answer selected by edubart
Comment options

You must be logged in to vote
1 reply
@jrfondren
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #37 on December 24, 2020 13:53.