[fpc-pascal] GTK2 and arm-linux

Koenraad Lelong fpascal at brouwerij.homelinux.net
Mon Dec 26 20:10:23 CET 2005


Hi,
Has anyone successfully used the GTK2-library for an arm-processor ?
Today I tried the helloworld-demoes, which segfault. I tried gdb but 
didn't find anything (gdb is brand new for me, so without much more 
reading it will remain so I fear).
I tried a dummy program, just a writeln, which works fine, but the 
moment I add some uses for GTK (glib2, gdk2 or gtk2), the program 
crashes. gdb reports 'segmentation fault in _start()' and seems unable 
to backtrace.
Any hints how to debug this (I know I must learn how to use gdb) ? And 
since I have very little experience with programming for linux could you 
please be verbose.
B.T.W. I was using gbdserver to debug this remotely. Are there gui's 
that can connect to a gdbserver ? I tried ddd and KDbg on my 
suse-machine but they seem unable to use gdbserver.
Thanks,
Koenraad Lelong.



More information about the fpc-pascal mailing list