Skip to content
Discussion options

You must be logged in to vote

That's a bit weird, but I think is WAI? You need to tell the linker you're building a C program so it can include the C runtime, with the -.c flag. It might be a good idea to make that the default, but this might confuse other things. The logic's a bit complex. It would probably be worth a warning if you don't supply a runtime system and none can be inferred from the file extension.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@y-salnikov
Comment options

Answer selected by y-salnikov
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