On Mon, 2011-11-21 at 17:16 +0100, Joost van der Sluis wrote:

> But when I try to link to libc, (for example by adding the cwstrings
> unit) the application crashes at startup (in _dl_init, called from
> ld-linux.so)

Never mind, I've found the problem. The linker that I used was actually
a wrapper, which called another linker with some extra options. Those
options aren't applicable to Free Pascal.

Now it run. 

Joost. 
-- 
My Lazarus blog: http://www.lazarussupport.com/lazarus/weblog

_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to