Skip to content

Conversation

@lowagner
Copy link

i'm not sure this is cross platform, but adding a "-c" option will generate ".o" files for gcc.

also i'm not a C expert so there may be holes in how dependency stuff works, so please add comments if i'm missing something.

@fbucafusco
Copy link

for cross compile, check this out #127

@rexim
Copy link
Member

rexim commented Oct 23, 2025

This example does not demonstrate any new aspects of nob.h that are not covered by existing example. -c flag is the aspect of a C compiler, not nob.h.

@rexim rexim closed this Oct 23, 2025
@lowagner
Copy link
Author

Is there not a cross-platform way to do -c? It would be nice to have such an example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants