Re: [fpc-devel] c:\fpc\2.2.2\examples\gtk1 and gtk2 : ReadMe.TXT Additions

2008-09-27 Thread Florian Klaempfl
Mehmet Erol Sanliturk schrieb: Dear Sirs , Please add such fixes to the bug tracker (http://bugs.freepascal.org/) so it won't get lost. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-deve

Re: [fpc-devel] Help on building crosscompiler with fpc 2.3.1

2008-09-27 Thread Florian Klaempfl
Lukas Gradl schrieb: Marco van de Voort schrieb: In our previous episode, Lukas Gradl said: At the moment, I'm developing on a i386 Linux machine. For some servers I need x86_64 binaries, so I have a second machine with x86_64 linux I use just for compiling. It would be great to compile ever

Re: [fpc-devel] Help on building crosscompiler with fpc 2.3.1

2008-09-27 Thread Florian Klaempfl
Florian Klaempfl schrieb: What I could not find was, how to create that ppcross386. I remember it worked with a previous 2.2.0 install, but since I switched to 2.3.1 I couldn't get it to work. I'am working on a patch to fix this. For now do make all CPU_TARGET=i386 FPC=fpc Should be fixed in

Re: [fpc-devel] Is calling the Windows Unicode APIs really faster than the ANSI API's?

2008-09-27 Thread Luiz Americo Pereira Camara
Graeme Geldenhuys wrote: (AFAI understand, a Widechar is just 16 bit, it would need to be 32 bit if surrogates were allowed in Widestrings). Good question and I have been wondering about this myself. In D2009 SizeOf(Char) = 2, so I have no idea how that works with surrogate pairs. Can any

Re: [fpc-devel] Is calling the Windows Unicode APIs really faster than the ANSI API's?

2008-09-27 Thread Graeme Geldenhuys
On Fri, Sep 26, 2008 at 5:02 PM, Mattias Gaertner <[EMAIL PROTECTED]> wrote: > > s[i]:='x' doesn't work in UTF-8, nor UTF-16, nor UTF-32. > > In short: > A single character for all purposes can not be defined. Unicode can not > be handled as array of character. This is what I thought, but everybod

Re: [fpc-devel] Is calling the Windows Unicode APIs really faster than the ANSI API's?

2008-09-27 Thread Graeme Geldenhuys
On Sat, Sep 27, 2008 at 2:35 PM, Luiz Americo Pereira Camara <[EMAIL PROTECTED]> wrote: >> Good question and I have been wondering about this myself. In D2009 >> SizeOf(Char) = 2, so I have no idea how that works with surrogate >> pairs. Can anybody explain this please? >> > > In http://www.jacobt

Re: [fpc-devel] Help on building crosscompiler with fpc 2.3.1

2008-09-27 Thread German Gentile
Thanks a lot Florian. I just wondering if theres any easy way to create cross compile deb packages. I mantain a i386 and x86_64 repositories with latest FPC and LAZARUS, using the scripts provided in lazarus/tools/install Must be great if ew can configure a few more deb packages, allowing LINUX

Re: [fpc-devel] Help on building crosscompiler with fpc 2.3.1

2008-09-27 Thread German Gentile
revision 11832 HOST = linux x86_64 want to build a cross compiler to make i386 binaries on linux make all CPU_TARGET=i386 FPC=fpc exit with error code: fpcdefs.inc(136,2) Error: User defined: Cross-compiling from non-i386 to i386 is not yet supported at this time Wich im doing wrong? Best re