gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Preprocessor does not use -D option


From: Thomas Stach
Subject: Preprocessor does not use -D option
Date: Thu, 5 Sep 2024 16:11:48 +0200

Hello all,
Since I managed to install gm2 on my Mac (with homebrew) I am now transferring 
one of my fun projects from p1 to gm2. There are some differences, so I thought 
to manage two versions with the help of #define and #ifdef.
I have used with gm2 14.2.0 the following variants:
On the gm2 command line:
-Dtux
-Wp,Dtux
-Xpreprocessor -Dtux
In the m2-source #ifdef tux ……
In all cases the option is ignored, tux is not defined. What I am doing wrong? 
Any help is appreciated.

Gaius, a very big thank you for your work on gm2!!!! It is just great to have 
Modula-2 on my Linux-box, more than 40 years after the great German Gepard 
68000 box.

Kind regards Thomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]