On 26/09/2007, Peter Vreman [EMAIL PROTECTED] wrote:
Hi all,
I have downloaded the freepascal 2.2.0 fpc source code (
fpcbuild-2.2.0.zip) and attempted to create a arm-linux cross-compiler
that
runs under win32. I have done this previously with the fpcbuild-2.0.4.zip
file ok using
On 26/09/2007, Peter Vreman [EMAIL PROTECTED] wrote:
WinCE is the default ARM target if a cross compiler is build under
Windows. You need to specify
-Tlinux on the commandline or add it to fpc.cfg to make it the default:
#ifdef cpuarm
-Tlinux
#endif
Sorry, ignore the
#ifdef cpuarm
On Wed, 26 Sep 2007 16:29:20 +0200 (CEST)
[EMAIL PROTECTED] (Marco van de Voort) wrote:
Am Mittwoch, den 26.09.2007, 13:24 +0200 schrieb Marco van de Voort:
Ansistrings (and thus {$longstrings on}) work fine.
Ah, okay. The Fog is lifting fastly. :)
And AnsiStrings
[EMAIL PROTECTED] (Marco van de Voort) wrote:
A cast is really a cast. IOW the cast pchar(ansistring) is mostly a
no-op. Traditional C code then usually treats the #0 as end of
string.
PChar(AnsiString) was a no-op typecast in the past and is nowadays a
function. It checks whether the
On Thu, 27 Sep 2007, Marco van de Voort wrote:
[EMAIL PROTECTED] (Marco van de Voort) wrote:
A cast is really a cast. IOW the cast pchar(ansistring) is mostly a
no-op. Traditional C code then usually treats the #0 as end of
string.
PChar(AnsiString) was a no-op typecast in the
On Thu, 27 Sep 2007 12:38:13 +0200 (CEST)
[EMAIL PROTECTED] (Marco van de Voort) wrote:
[EMAIL PROTECTED] (Marco van de Voort) wrote:
A cast is really a cast. IOW the cast pchar(ansistring) is mostly
a no-op. Traditional C code then usually treats the #0 as end of
string.
Mattias Gaertner wrote:
On Thu, 27 Sep 2007 12:38:13 +0200 (CEST)
[EMAIL PROTECTED] (Marco van de Voort) wrote:
[EMAIL PROTECTED] (Marco van de Voort) wrote:
A cast is really a cast. IOW the cast pchar(ansistring) is mostly
a no-op. Traditional C code then usually treats the #0 as end of