[fpc-pascal] Strange arm-linux cross-compilation errors

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Mar 29 13:25:54 CEST 2011


On 29 Mar 2011, at 13:12, Felipe Monteiro de Carvalho wrote:

> In this thread: http://www.lazarus.freepascal.org/index.php/topic,12585.0.html
>
> I though that maybe posting here would help, since the user has some
> problems with some strange errors which say nothing to me =)

The last question/answer on that page is most likely correct: he's  
probably not linking against the libraries for Android, but against  
the libraries of the host system. He should use the -Xd option (to  
tell the compiler/linker not to use the default library search path)  
and the -XR/path/to/android/sdk/libraries parameters (to tell the  
compiler/linker where they should look for libraries instead).


Jonas



More information about the fpc-pascal mailing list