Linker for windowsxp

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
FaizBond

Linker for windowsxp

Post by FaizBond »

I'm trying to find a linker to create a mini_kernel.bin file. So far I have tried using Anthony Williams' "alink" linker available on
http://alink.sourceforge.net/download.html (2nd link from the top). But it does not give the option for creating binary formated output.

Does anyone know of a good linker that I can download and use on windows xp to creat bin files?

Thanks.
FB

BTW: "no entry point specified", what does this mean? I often get this error.
Legend

Re:Linker for windowsxp

Post by Legend »

Perhaps you need gnu ld in cygwin or djgpp flavor?
Dreamsmith

Re:Linker for windowsxp

Post by Dreamsmith »

FaizBond wrote:BTW: "no entry point specified", what does this mean? I often get this error.
It means you failed to specify the entry point for your program. Use the "-e" flag to specify it, e.g.

Code: Select all

mbloader: setup.o mbloader.o
        ld $(LDFLAGS) -Ttext 0x108100 -e setup $^ -o $@
In the above example, the entry point is set to the start of the "setup" function.
Post Reply