[fpc-pascal] List pre-defined defines

Michael Van Canneyt michael at freepascal.org
Tue May 16 23:54:31 CEST 2017



On Tue, 16 May 2017, Jon Foster wrote:

> I've looked several times over the years for a way to get fpc to dump all 
> of the predefined "defines" for the target selected. Things like "fpc", 
> "linux", "unix", "android", "cpuarm", "cpui386", ... and who knows what 
> else. Seems like there ought to be an "-i?" switch for this. Have I just 
> missed it? Is there something to dump all of the built in defines for the 
> current target?

-vc does this. You'll need a source file, though.

Michael.



More information about the fpc-pascal mailing list