[fpc-pascal] problem with threads and backgrounding, fpc 2.1.3 arm native

Luca Olivetti luca at ventoso.org
Wed Apr 4 00:36:19 CEST 2007


En/na Luca Olivetti ha escrit:

> the example daemon.pp, for example, crashes right away, strace doesn't 
> seem very useful to me:

but it works fine cross-compiling (with fpc 2.0.4).
I cannot find a way to cross-compile my test program:

[luca at localhost fork]$ ppcarm 
-Fu/home/luca/fpc-arm-2.0.4/lib/fpc/2.0.4/units/arm-linux/* 
-XParm-linux-  -Xd  -Xr/home/luca/lsproroot/usr/lib/ test.pas
Free Pascal Compiler version 2.0.4 [2006/08/23] for arm
Copyright (c) 1993-2006 by Florian Klaempfl
Target OS: Linux for ARM
Compiling test.pas
Assembling test
Linking test
/home/luca/fpc-arm-2.0.4/bin/arm-linux-ld: cannot find -ldl
test.pas(12,3) Error: Error while linking

Bye
-- 
Luca






More information about the fpc-pascal mailing list