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
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to