Re: [fpc-devel] Memory Streams unable to handle reads past 2GB

2012-11-05 Thread Andrew Brunner
Same problem with TMemoryStream.Write :-( On 11/05/2012 10:09 PM, Andrew Brunner wrote: objpas/classes/classesh.inc TCustomMemoryStream function Read(var Buffer; Count: LongInt): LongInt; override; Having Read result declared as LongInt is problematic on 64 bit systems with large streams.

[fpc-devel] Memory Streams unable to handle reads past 2GB

2012-11-05 Thread Andrew Brunner
objpas/classes/classesh.inc TCustomMemoryStream function Read(var Buffer; Count: LongInt): LongInt; override; Having Read result declared as LongInt is problematic on 64 bit systems with large streams. Read result MUST be either PtrInt or Int64 but it cannot be LongInt. Please fix, Thank

Re: [fpc-devel] Re: FPC related fairy tale

2012-11-05 Thread John Lee
I go back rather (too?) far...eg pre v1.0 - unfortunately I can't remember what the version was when I first downloaded fpk & tried to compile an fft - it crashed compiler - fixed by Jonas iirc. I'm so sad that I still use fpk for fpc directories - I'm kind'a sorry we changed that. I sort of got

[fpc-devel] Re: FPC related fairy tale

2012-11-05 Thread Sven Barth
On 18.10.2012 13:13, Sven Barth wrote: Once upon a time there was a small kingdom ruled by a kind king. The king had two daughters and more children were planned to come. But the king had already problems to find approbiate rooms for his second child. So he ordered his mages to reconstruct the ca

Re: [fpc-devel] fp IDE and gdbint on Debian Wheezy/testing

2012-11-05 Thread Marco van de Voort
In our previous episode, Mark Morgan Lloyd said: > ... and got bogged down in gdbint issues. Trust me, you are not the only one :-) ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: [fpc-devel] fp IDE and gdbint on Debian Wheezy/testing

2012-11-05 Thread Mark Morgan Lloyd
Vincent Snijders wrote: First I added -Fl/usr/lib/i386-linux-gnu to the fpc.cfg. But for building fpc that doesn't help, because of the -n parameter added by make all. So I did make all OPT="-Fl/usr/lib/i386-linux-gnu". That works for trunk, but not for fixes_2_6 because OPT is not passed when

Re: [fpc-devel] mips-linux and mipsel-linux snapshots available

2012-11-05 Thread Mark Morgan Lloyd
Pierre Muller wrote: Due to numerous question about mips/mipsel linux, I decided to try to generate snapshot for those systems. It finally worked (with OPT=-O- option added) You can test them at: ftp://ftp.freepascal.org/pub/fpc/snapshot/trunk/mipsel-linux/ or ftp://ftp.freepascal.org/pub/fpc/sn

[fpc-devel] mips-linux and mipsel-linux snapshots available

2012-11-05 Thread Pierre Muller
Due to numerous question about mips/mipsel linux, I decided to try to generate snapshot for those systems. It finally worked (with OPT=-O- option added) You can test them at: ftp://ftp.freepascal.org/pub/fpc/snapshot/trunk/mipsel-linux/ or ftp://ftp.freepascal.org/pub/fpc/snapshot/trunk/mips-linux

Re: [fpc-devel] fp IDE and gdbint on Debian Wheezy/testing

2012-11-05 Thread Jonas Maebe
On 05 Nov 2012, at 14:40, Vincent Snijders wrote: I found out the cause of *my* problem. The ld provided by Ubuntu (version 2.22) was in /usr/bin. There was also an older version 2.21 in /usr/local/bin which was actually chosen. Fixing that solved my problem. Yes, the default system linker's

Re: [fpc-devel] fp IDE and gdbint on Debian Wheezy/testing

2012-11-05 Thread Henry Vermaak
On 05/11/12 13:16, Vincent Snijders wrote: > > > 2012/10/27 Florian Klämpfl > > > > I added already several weeks ago the new multi-arch pathes as > additional default search pathes to armhf-linux but since people didn't > like this change I didn't ad

Re: [fpc-devel] fp IDE and gdbint on Debian Wheezy/testing

2012-11-05 Thread Vincent Snijders
> First I added -Fl/usr/lib/i386-linux-gnu to the fpc.cfg. But for building fpc > that doesn't help, because of the -n parameter added by make all. So I did > make all OPT="-Fl/usr/lib/i386-linux-gnu". That works for trunk, but not for > fixes_2_6 because OPT is not passed when building fpmake.p

Re: [fpc-devel] fp IDE and gdbint on Debian Wheezy/testing

2012-11-05 Thread Vincent Snijders
2012/10/27 Florian Klämpfl > > I added already several weeks ago the new multi-arch pathes as > additional default search pathes to armhf-linux but since people didn't > like this change I didn't add it for the other architectures. > > How do I workaround it? First I added -Fl/usr/lib/i386-linux