Recent

Author Topic: I Can't use ppcrossarm, maybe i miss some configuration  (Read 3091 times)

felipote1972

  • New member
  • *
  • Posts: 7
  • 1 +1 = 3
I Can't use ppcrossarm, maybe i miss some configuration
« on: July 29, 2013, 07:32:27 am »
hi all.

I have days trying to compile using ppcrossarm with lazarus or codetyphon  %), the compiler works find with text, or simple program, then run's ok in the tablet, but when i create a simple program with (form), jump a linking error, like:
"crti.o" not found, linking failure
"crtbegin.o" not found, linking failure
"crtend.o" not found, linking failure
cannot find "ldl"
cannot find "lpthread"
cannot find "lX11"
cannot find "lgdk-x11-2.0".
(many other's like above)

I been trying with other's version of free pascal, and codetyphon without success, but always with a good installation of all pachages and dependencies, and the compiler running fine in normal mode, but when i build using ppcrossarm, the build fails.  %)

note: the cross-compiler work good with simple program , (in text mode without lazarus)

my device is a PENGPOD with linaro-linux

would appreciate your help very much, if i missing some configuration

pd: i follow the lazarus cross-compile for ARM of wiki with succeded almost in the end, when i build a application in lazarus, the crosscompiler runs fine

atte
felipote1972

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12857
  • FPC developer.
Re: I Can't use ppcrossarm, maybe i miss some configuration
« Reply #1 on: July 29, 2013, 09:43:17 am »
That's normal. You need to copy those libraries from the target device.

Leledumbo

  • Hero Member
  • *****
  • Posts: 8836
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: I Can't use ppcrossarm, maybe i miss some configuration
« Reply #2 on: July 29, 2013, 04:08:18 pm »
ELF requires the target libraries to be present (or accessible) at linking time, so you must have those libraries when building applications that uses them (in this case, LCL application with gtk2 backend).

 

TinyPortal © 2005-2018