Hello,
I need advice or link to example with code how to use LD linker when linking program with shared libraries and changing entry point of program.
I wrote simple code with some eg XXXmain, function and wrote simple library with xxxentmain function wich has to call XXXmain, on linking stage I got a error, cannot find entry symbol bla bla bla, defaulting to...
So, I want just to call mymain function from function in library, bypassing standard routine from crt1.o and so on.
Kindly Regards,
Zander
Guys please help, or give some advice.
RE:Guys please help, or give some advice.
Well, again I'm still new to this, but if you're designing an OS, when you link that's a normal error. I know to make a .com program you have to use org 100h or something in part of your code, but when you're making your own OS you don't. When I link my code for basic stuff anyway I use ld -Ttext 0xFF800000 --oformat binary then the file names to link.