[fpc-pascal] List pre-defined defines

Jon Foster jon-lists at jfpossibilities.com
Wed May 17 00:25:55 CEST 2017


On 05/16/2017 02:53 PM, Mattias Gaertner wrote:
> On Tue, 16 May 2017 14:45:42 -0700
> Jon Foster <jon-lists at jfpossibilities.com> 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?
> touch mytest
> fpc -vc mytest

Thanks fellas! I guess I always figured that was source code specific 
information. Works good, even without source. Just have to ignore the exit 
code. :-D

THX!

-- 
Sent from my Debian Linux workstation -- http://www.debian.org/intro/about

Jon Foster
JF Possibilities, Inc.
jon at jfpossibilities.com



More information about the fpc-pascal mailing list