[fpc-devel] ncurses example on arm linux uclibc

2009-10-23 Thread Nataraj S Narayan
Hi While trying to compile 'firework.pp' under packages/ncurse, for arm-linux-uclibcgnueabi- Since my target SBC dont have libncursesw.so i did a symlink to libncurses.so.5.6. Target file system is uclibc based. ppcrossarm is compiled with arm-linux-uclibcgnueabi- I am able to compile on host

Re: [fpc-devel] ncurses example on arm linux uclibc

2009-10-23 Thread Jonas Maebe
On 23 Oct 2009, at 15:55, Nataraj S Narayan wrote: While trying to compile 'firework.pp' under packages/ncurse, for arm-linux-uclibcgnueabi- uclibc support has not been maintained for a long time, so if it works you're lucky. Since my target SBC dont have libncursesw.so i did a symlink

Re: [fpc-devel] GTK vs GTK2

2009-10-23 Thread Desmond Coertzen
More testing... I think the problem here is not the speed at which i can splash stuff onto a canvas (the difference between GTk1 vs GTk2 is very little), but rather the rate at which the OnPaint events are called with the TCustomControl class when using with GTk2 There seems to be a delay of at

Re: [fpc-devel] ncurses example on arm linux uclibc

2009-10-23 Thread Nataraj S Narayan
Hi Jonas -XR dont work for me. Giving debian:/software/fpc-svn/packages/ncurses/examples# /software/fpc-uclibc/lib/fpc/2.5.1/ppcrossarm -MObjFPC -TLinux -Parmv5 -gl -Xd -Xs -l -darm -XParm-linux-uclibcgnueabi- -CfSOFT -CaEABI -darm -gl -O- -CpARMV5 examples/firework.pp -uUSE_LOCALIZE

Re: [fpc-devel] ncurses example on arm linux uclibc

2009-10-23 Thread Jonas Maebe
On 23 Oct 2009, at 16:44, Nataraj S Narayan wrote: -XR dont work for me. Giving debian:/software/fpc-svn/packages/ncurses/examples# /software/fpc-uclibc/lib/fpc/2.5.1/ppcrossarm -MObjFPC -TLinux -Parmv5 -gl -Xd -Xs -l -darm -XParm-linux-uclibcgnueabi- -CfSOFT -CaEABI -darm -gl -O- -CpARMV5

Re: [fpc-devel] ncurses example on arm linux uclibc

2009-10-23 Thread Nataraj S Narayan
Hi Jonas Content of link.res:- SEARCH_DIR(/software/fpc-uclibc/lib/fpc/2.5.1/units/arm-linux/fcl-passrc/) SEARCH_DIR(/software/fpc-uclibc/lib/fpc/2.5.1/units/arm-linux/dts/) SEARCH_DIR(/software/fpc-uclibc/lib/fpc/2.5.1/units/arm-linux/dbus/)

Re: [fpc-devel] ncurses example on arm linux uclibc

2009-10-23 Thread Jonas Maebe
On 23 Oct 2009, at 16:55, Nataraj S Narayan wrote: Content of link.res:- Can you try adding -k--sysroot=usr/br-git-rf That option will only work if your linker has been configured/compiler with --with-sysroot though, which is probably why the compiler doesn't specify it by default. It

Re: [fpc-devel] ncurses example on arm linux uclibc

2009-10-23 Thread Nataraj S Narayan
Hi Getting better! Yes, filesystem was built using 'buildroot' with toolchain with --sysroot support. # /software/fpc-uclibc/lib/fpc/2.5.1/ppcrossarm -MObjFPC -TLinux -Parmv5 -gl -Xd -Xs -l -darm -XParm-linux-uclibcgnueabi- -CfSOFT -CaEABI -darm -gl -O- -CpARMV5 examples/firework.pp

Re: [fpc-devel] ncurses example on arm linux uclibc

2009-10-23 Thread Jonas Maebe
On 23 Oct 2009, at 17:10, Nataraj S Narayan wrote: Yes, filesystem was built using 'buildroot' with toolchain with --sysroot support. # /software/fpc-uclibc/lib/fpc/2.5.1/ppcrossarm -MObjFPC -TLinux -Parmv5 -gl -Xd -Xs -l -darm -XParm-linux-uclibcgnueabi- -CfSOFT -CaEABI -darm -gl -O-

Re: [fpc-devel] ncurses example on arm linux uclibc

2009-10-23 Thread Micha Nelissen
Nataraj S Narayan wrote: /usr/bin/arm-linux-uclibcgnueabi-ld: cannot find -lncursesw firework.pp(120,48) Error: Error while linking Add -Fl/usr/br-git-rf/lib, -Fl/usr/br-git-rf/usr/lib or whereever this library is located? Micha ___ fpc-devel

Re: [fpc-devel] ncurses example on arm linux uclibc

2009-10-23 Thread Jonas Maebe
On 23 Oct 2009, at 17:19, Micha Nelissen wrote: Nataraj S Narayan wrote: /usr/bin/arm-linux-uclibcgnueabi-ld: cannot find -lncursesw firework.pp(120,48) Error: Error while linking Add -Fl/usr/br-git-rf/lib, -Fl/usr/br-git-rf/usr/lib or whereever this library is located? No,

Re: [fpc-devel] ncurses example on arm linux uclibc

2009-10-23 Thread Micha Nelissen
Jonas Maebe wrote: On 23 Oct 2009, at 17:19, Micha Nelissen wrote: Add -Fl/usr/br-git-rf/lib, -Fl/usr/br-git-rf/usr/lib or whereever this library is located? No, -XR/usr/br-git-rf should cause those directories to be searched automatically (but apparently doesn't on Linux). I saw them

[fpc-devel] FPC 64bit and gdb on Linux

2009-10-23 Thread Martin Schreiber
Hi, x64 Suse 11.1, the program: program gdbvarparam; {$ifdef FPC}{$mode objfpc}{$h+}{$endif} {$ifdef mswindows}{$apptype console}{$endif} uses sysutils; procedure test(var par1: integer); begin end; var int1: integer; begin int1:= 123; test(int1); end. The debug session:

Re: [fpc-devel] FPC 64bit and gdb on Linux

2009-10-23 Thread Jonas Maebe
Martin Schreiber wrote on Fri, 23 Oct 2009: Why is it not possible to set a breakpoint to test? You have to use TEST. This is the same for Stabs on 32 bit platforms, afaik: you always have to use the uppercase name for setting breakpoints on procedures/functions. Is it as designed that

[fpc-devel] Want to remove AVL_Tree from DOM

2009-10-23 Thread Sergei Gorelkin
Hello, I want to remove the avl_tree-related stuff from DOM unit. The reasons are: 1) It is targeted to optimize one particular type of documents, configs, that require all node names within a single parent to be unique (strictly speaking, this isn't xml, it is more like ini-files or