我正在尝试为我的操作系统移植NewLib(我正在遵循这个教程:http://wiki.osdev.org/Porting_Newlib),我有一些问题。
Once LibGloss is done and compiled, when exactly will I have to use the libnosys.a that have been created? Is it when I will compile my main.c?
mipsel-uknown-elf-gcc main.c -Llibnosys.a`
My crt0.c is done. And I have to "link it as the first object". How can I do that? Is it something like this?
mipsel-uknown-elf-ld crt0.o main.o