Re: [fpc-devel] New feature discussion: for-in loop

2009-10-26 Thread Micha Nelissen
Vinzent Höfler wrote: At first, "const function" would tell us that the function does not change the object in any way, right? What is "the object"? Usually there are 2 objects: the list (TList e.g.) and the object being iterated, e.g. TList.Objects[I]. Those referenced objects can be volati

Re: [fpc-devel] New feature discussion: for-in loop

2009-10-26 Thread Vinzent Höfler
Micha Nelissen : > Vinzent Höfler wrote: > > Von: Micha Nelissen > >> That's why I suggested the use of 'const functions' in other message in > >> this thread. > > > > Yes, I read that later on. Is that implemented in FPC? > > I don't think so; but I think it would be a useful part of the iter

Re: [fpc-devel] Want to remove AVL_Tree from DOM

2009-10-26 Thread Sergei Gorelkin
Marco van de Voort wrote: That is not a problem. The problem is that the getvalue/set behaviour must remain the same, and I must be able to select the encoding (or it should use the system default encoding). Those are the things I have many times. opening/closing only happens a handful times an

Re: [fpc-devel] Want to remove AVL_Tree from DOM

2009-10-26 Thread Marco van de Voort
In our previous episode, Sergei Gorelkin said: > > - need the current interface very badly to be backwards compat, if I (and > >Lazarus) are ever migrating to a FCL one. Changes to the interface > >not really an option, then I'd stick to my ancient lazarus version > > forever. > > The xml

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

2009-10-26 Thread Nataraj S Narayan
Yah! Jonas Got it working this time! # strings firework|grep ld /usr/br-git-rf/lib/ld-uClibc.so.0 No child processes Interrupted system call should be restarted # had to # mkdir -p /usr/br-git-rf/lib/ and cp /lib/ld-uClibc.so.0 /usr/br-git-rf/lib/ regards & thanks Nataraj On Mon, Oct 26,

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

2009-10-26 Thread Nataraj S Narayan
Jonas Got it linked with : after adding {$linklib gcc_s} to program. # /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 -Fu/software/fpc-uclibc/lib

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

2009-10-26 Thread Nataraj S Narayan
Jonas These are the ones. /usr/br-git-rf/lib/libgcc_s.so /usr/br-git-rf/lib/libgcc_s.so.1 /usr/br-git-rf/usr/lib/gcc/arm-linux-uclibcgnueabi/4.3.4/libgcc.a /usr/br-git-rf/usr/lib/gcc/arm-linux-uclibcgnueabi/4.3.4/libgcc_eh.a /usr/br-git-rf/usr/lib/libgcc_s.so /usr/br-git-rf/usr/lib/libgcc_s.so.1

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

2009-10-26 Thread Jonas Maebe
On 26 Oct 2009, at 16:01, Nataraj S Narayan wrote: you've got that symbol in libgcc so fpc is failing to link it in you may need a command line switch for fpc to open it, it's been ages since i've used fpc so i don't recall you may be able to set things right in fpc.cfg too Any help? As

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

2009-10-26 Thread Nataraj S Narayan
Hi Jonas This is the gist of a Freenode chat on #uclibc /usr/br-git-rf/usr/lib/libc.a(sigrestorer.os):(.ARM.exidx+0x0): undefined reference to `__aeabi_unwind_cpp_pr1' which lib is __aeabi_unwind_cpp_pr1, defined? got this while trying to compile an app using freepascal arm compiler built with

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

2009-10-26 Thread Jonas Maebe
On 26 Oct 2009, at 14:57, Bruce Bauman wrote: Does this mean the 32-bit version of FPC generates STABS and the 64- bit version generates DWARF? By default, yes. You can also force the 32 bit version generate DWARF by using -gw2 rather than -g If my goal was to use gdb on a large applicat

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

2009-10-26 Thread Bruce Bauman
Does this mean the 32-bit version of FPC generates STABS and the 64-bit version generates DWARF? If my goal was to use gdb on a large application written in Pascal, am I better off using the 32-bit version because the debugger support is better? Also, I'm assuming it's the DWARF parser in gdb tha

Re: [fpc-devel] Help need for FPC

2009-10-26 Thread Florian Klaempfl
Marco van de Voort schrieb: > > but keep in mind this is all GPL, and your product seems to be commercial, > which would taint it. > http://www.arm-pascal.ru/uploads/PortFPC.rar contains full sources. ___ fpc-devel maillist - fpc-devel@lists.freepasca

Re: [fpc-devel] Help need for FPC

2009-10-26 Thread Jonas Maebe
On 26 Oct 2009, at 10:02, Micha Nelissen wrote: Jonas Maebe wrote: A note to people who wish to reply to this person: he is not subscribed to fpc-devel (at list not with the address he posted from), so it's best to CC him. This list is not subscribers-only? (To combat spam?) Mail from n

Re: [fpc-devel] Help need for FPC

2009-10-26 Thread Marco van de Voort
In our previous episode, ?? said: (Group replied) > There's MOV command declared in armins.dat. > There's a declaration for the A_MOV-opcode in automaticaly-generated file > armop.inc, > But it doesn't seem to be used, by armtab.inc. Infact, it feels, like A_MOV > opcode

Re: [fpc-devel] Help need for FPC

2009-10-26 Thread Micha Nelissen
Jonas Maebe wrote: A note to people who wish to reply to this person: he is not subscribed to fpc-devel (at list not with the address he posted from), so it's best to CC him. This list is not subscribers-only? (To combat spam?) Micha ___ fpc-devel m

Re: [fpc-devel] Help need for FPC

2009-10-26 Thread Jonas Maebe
On 23 Oct 2009, at 23:11, Михаил Абаляев wrote: Hello FPC-Developers, A note to people who wish to reply to this person: he is not subscribed to fpc-devel (at list not with the address he posted from), so it's best to CC him. Jonas___ fpc-dev

Re: [fpc-devel] Help need for FPC

2009-10-26 Thread Micha Nelissen
Михаил Абаляев wrote: Second, using FPC, i've designed my own (open source) tool ARM Pascal http://www.arm-pascal.ru/ Suggestion: do not include links that have different target as its text. Thunderbird will mark your email as a scam (probably not your intention).

[fpc-devel] Help need for FPC

2009-10-26 Thread Михаил Абаляев
Hello FPC-Developers, First of all, let me thank you for the great compiler you've already created and for maitining for a lot of years, already. Second, using FPC, i've designed my own (open source) tool ARM Pascal http://www.arm-pascal.ru/ The primary target of these t