Re: [fpc-pascal] windows 32bit cross to 64 ?

2010-08-08 Thread Marco van de Voort
In our previous episode, dmitry boyarintsev said: > > > > Afterwards, compiler/ppcrossx64 will be the cross compiler (from i386 -> > > x86-64) and compiler/ppcx64 will be the native x86-64 compiler. > > Isn't it necessary to run "fpcmake -Tx86_64-win64 -w -r", before making? No, in general SVN s

Re: [fpc-pascal] windows 32bit cross to 64 ?

2010-08-08 Thread dmitry boyarintsev
On Sun, Aug 8, 2010 at 6:46 PM, Jonas Maebe wrote: > In the top level directory of your checkout, run > > make CPU_TARGET=x86_64 all > > Afterwards, compiler/ppcrossx64 will be the cross compiler (from i386 -> > x86-64) and compiler/ppcx64 will be the native x86-64 compiler. Isn't it necessary t

Re: [fpc-pascal] windows 32bit cross to 64 ?

2010-08-08 Thread Jonas Maebe
On 08 Aug 2010, at 19:50, Martin wrote: > So here it goes: > - I have a 32 bit windows, on a 32 bit Intel CPU > - I have a SVN checkout > - I want to build it, so I get a compiler, that will run on my 32 bit system, > but compile for a 64 bit system. In the top level directory of your checkout,

[fpc-pascal] windows 32bit cross to 64 ?

2010-08-08 Thread Martin
I am sure that question must have been ask a 1000 times, and somewhere must be a tutorial but Google only brought me to a page on the wiki, that describes how to do diff OS. So here it goes: - I have a 32 bit windows, on a 32 bit Intel CPU - I have a SVN checkout - I want to build it, so

Re: [fpc-pascal] Extended, Currency and TDateTime memory layout

2010-08-08 Thread Bart
>From D3 Help: The Currency type is a fixed-point data type suitable for monetary calculations. It is stored as a scaled 64-bit integer with the four least-significant digits implicitly representing four decimal places. Bart ___ fpc-pascal maillist -

Re: [fpc-pascal] Extended, Currency and TDateTime memory layout

2010-08-08 Thread Marc Weustink
Felipe Monteiro de Carvalho wrote: On Fri, Aug 6, 2010 at 4:52 PM, Michael Van Canneyt wrote: Strange, because tkCurrency exists ? A currency is a Int64, which is the currency amount multiplied by 1. Well, apparently Delphi 6 RTTI thinks that it is a float. Check this code: A currency