Skip to content

Building with gcc #18

Answered by FeepingCreature
ntrel asked this question in Q&A
Discussion options

You must be logged in to vote

The install instructions assume that you're building one of the releases from the release page. The build script for the releases is generated and specific to the target compiler; it is not identical to the build script in the repo. The build.sh in the repo does assume it's building with LLVM, as that's the primary backend I develop for. (Though the testsuite is run with each backend while building the releases.)

If you want to build the master version with gcc , try adding -backend=c to the build.shcompiler flags. However, note that I don't guarantee that the C backend isn't broken between releases.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ntrel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants