[fpc-devel] Address size compiler
Steve Hildebrandt
Steve.Kassel at web.de
Mon Nov 10 16:09:36 CET 2014
Am 10.11.2014 um 15:55 schrieb Jonas Maebe:
>
> 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
> _______________________________________________
> fpc-devel maillist - fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
>
Sry I should have mentioned I'm currently working on the compiler and
I'm not to sure if I can use OS_ADDR for RTTI generation.
Steve
More information about the fpc-devel
mailing list