[fpc-devel] Address size compiler

Jonas Maebe jonas.maebe at elis.ugent.be
Mon Nov 10 15:55:46 CET 2014


Steve Hildebrandt wrote on ma, 10 nov 2014:

> How oder where is the addres size for the current compiler target defined?

See the last three entries in table G.2. at  
http://www.freepascal.org/docs-html/prog/progap7.html

Alternatively, you can use
   {$if sizeof(pointer)=8}
      <64 bit pointers>
   {$elseif sizeof(pointer)=4}
      <32 bit pointer>
   etc...


Jonas



More information about the fpc-devel mailing list