On Sun, 12 Nov 2006 19:23:21 +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 ?
---Frank McCormick--- ------Montreal--------
fmccormick@videotron.ca wrote:
On Sun, 12 Nov 2006 19:23:21 +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). 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.
Frank