[fpc-pascal] Linking error with unit initc on arm

Martin Schreiber mse00000 at gmail.com
Fri Aug 21 14:21:49 CEST 2015


On Friday 21 August 2015 14:13:06 Jonas Maebe wrote:
> On 21/08/15 14:03, Martin Schreiber wrote:
> > On Friday 21 August 2015 12:56:36 Jonas Maebe wrote:
> >> That's because the compiler warned that it could not find those files,
> >> so it didn't tell the linker to link against them either. You need the
> >> armhf sysroot for that and tell the compiler where to find it. And in
> >> addition to /usr, it's best to copy also /lib
> >
> > I got linking working without xlib in uses by copying the necessary
> > *.o's, but now the application crashes when remote gdb tries to set a
> > breakpoint...
>
> Does it work if you don't use gdb?
>
The "Hello World" program works but hangs after exit of main program.

Martin



More information about the fpc-pascal mailing list