[fpc-pascal] x86_64-win64
Michael Van Canneyt
michael at freepascal.org
Thu Apr 20 22:34:50 CEST 2006
On Thu, 20 Apr 2006, Florian Klaempfl wrote:
> constantijnw wrote:
> > Florian Klaempfl wrote:
> >> constantijnw wrote:
> >>
> >>> Congratulations! Is a new compiler define planned which distinguishes
> >>> between 32 and 64 bits, irrespective of the os targeted?
> >>>
> >>
> >> What do you mean with this?
> >> _______________________________________________
> >> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> >> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
> >>
> >>
> >>
> > To declare conditional defines like this easily:
> >
> > {$ifdef cpu64}
> > TMyInteger = Int64;
> > {$else}
> > TMyInteger = LongInt;
> > {$endif}
>
> http://www.freepascal.org/wiki/index.php/Writing_portable_code_regarding_the_processor_architecture#32_Bit_vs._64_Bit
And of course the documentation:
http://www.freepascal.org/docs-html/prog/prog.html
more specifically:
http://www.freepascal.org/docs-html/prog/progap7.html#x291-293000G
Amazing, isn't it ;-)
Michael.
More information about the fpc-pascal
mailing list