How to create bin files? #65
-
I see there is a flag -tg=bin and I was able to compile a .c file to a .bin file but it didn't create what I was hoping to create. What I'm looking to do is turn a series of const literals into .bin files so that I can load them when needed at runtime. Here's an small example:
|
Beta Was this translation helpful? Give feedback.
Answered by
drmortalwombat
Jun 3, 2024
Replies: 1 comment 1 reply
-
You need some boilerplate to avoid the runtime:
You can then compile without runtime:
An alternative solution would be to use overlays:
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
tenprint
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need some boilerplate to avoid the runtime:
You can then compile without runtime:
oscar64 -tf=bin -rt= raw.c
An alternative solution would be to use overlays: