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

2011-03-29 Thread Felipe Monteiro de Carvalho
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 =)

-- 
Felipe Monteiro de Carvalho
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


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

2011-03-29 Thread Jonas Maebe


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