Commit Graph

3 Commits

Author SHA1 Message Date
Tristan B. Velloza Kildaire e72e24f8f8 Makefile
- Added seperate stage to _create_ the `main.o` and then only later link with the intent of making an executable.
- This is BETTER because it means we could treat everything in the same way (nevermind a `main` or library)
2024-02-25 19:24:38 +02:00
Tristan B. Velloza Kildaire 513fb920ce Makefile
- Added `-c` to ONLY compile but do NOT attempt to link and make an executable. If we try this it looks for a `main` symbol to satisfy the `_start` for linux-ld
- Updated the build instructions for being able to statically link against the library
2024-02-25 19:17:15 +02:00
Tristan B. Velloza Kildaire 9c72115dc1 Scratch
- Playing with a way to build library objects without immediately linking
- I am then also seeing how to link it to an application which `_start_` can find its `main` symbol
2024-02-25 19:08:19 +02:00