Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2011-03

Strange arm-linux cross-compilation errors

3 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Jonas Maebe
to Felipe Monteiro de Carvalho
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