[fpc-devel] FP 2.4 questions

Daniël Mantione daniel.mantione at freepascal.org
Fri Dec 28 11:33:37 CET 2007



Op Fri, 28 Dec 2007, schreef Fabio Dell'Aria:

> OK, but how I can: "Make ppumove dump its linker script and find out what it
> does wrong." ?
>
> The -b options return the following .bat file:

That is the correct option.

> ld -shared -E -o system.dll system.o

What is at least missing from this script is prt0.o, so I suggest to add 
it, and see what it does. Probably you also need to add some DLL import 
stuff as that was reported to be missing too (no idea how it exactly works 
in Win32).

As soon as the linker no longer complains, we can adapt ppumove to 
generate the script that way.

Daniël


More information about the fpc-devel mailing list