Closed Its-Just-Nans closed 1 year ago
use regular gcc and ld
gcc
ld
src:
--entry main
--ignore-unresolved-symbol _GLOBAL_OFFSET_TABLE_
fantastic tutorial btw !
Thanks for the contribution!
I don't think this works on architectures other than x86 though, and using a cross-compiler is very important:
https://wiki.osdev.org/Why_do_I_need_a_Cross_Compiler%3F
Oops my bad, sorry
use regular
gcc
andld
src:
--entry main
--ignore-unresolved-symbol _GLOBAL_OFFSET_TABLE_