as I made a new function, of course I made a new file.. the problem is that when I try to link it with:
ld -T link.ld -o kernel.bin ALl the files
it says "Cannot run the program" or something..and I am able to compile the files and there?s nothing different in this new file from my old.. I just cant link it for some reason.. really need help
Weird linker!
Re:Weird linker!
As I thought, it seems like you cant use as many arguments as you?d like to (win xp)... but that?s a problem, I pass the files as arguments to the linker, and I need to pass lots and lots of files
Re:Weird linker!
How about:
ld -T link.ld -o kernel.bin *.o
Or even better, use 'ar' to combine multiple object files into a linker archive...
ld -T link.ld -o kernel.bin *.o
Or even better, use 'ar' to combine multiple object files into a linker archive...
Every good solution is obvious once you've found it.