On Tue, 14 Nov 2006 22:58:17 +0100 Frank Heckenbach ih8mj@fjf.gnu.de wrote:
Frank McCormick wrote:
gp: Pascal and C compilers specified seem to be for different platforms gp: (`i686-pc-linux-gnu' and `i486-linux-gnu')
GP by default compares the versions of GPC and GCC very strictly to avoid subtle errors that could result on mismatch. If you know the mismatch is harmless (e.g., as above, just a different labeling of targets), you can add "--no-check-platform" to skip this check.
I tried putting --no-check-platform into a .gp config file in my home directory and it works...but only sometimes. Seems to depend on whether I am in an IDE (Anjuta/Peng/Geany) or at the cli. Does GP always check ~.gp ?
No, GP doesn't currently read any config file itself (this is planned in the future, though).
Soon ?
This seems to be a feature of your IDE. (Though for PENG, which I wrote, I'm not aware of such a feature. ;-) However, PENG allows doing such things in user-defined tools, so perhaps this was done in your setup.)
To make it work on the command line, too, you can use the usual means of a shell alias or a tiny wrapper script to add this option.
Alias seems to work well.
Thanks
-- Cheers
Frank
Frank McCormick wrote:
No, GP doesn't currently read any config file itself (this is planned in the future, though).
Soon ?
Probably not. Other issues (in GPC and other projects) seem more urgent, and for most cases ...
Alias seems to work well.
Exactly.
Frank