More problems with make

Rupert Wood me@rupey.net
Wed Jan 30 01:58:00 GMT 2002


Kabir Patel wrote:

> >>Is the GCC environment variable set?
> Before using my make file I run a "source source.me". The 
> source.me file has the following:
:
> Hence my environment variable for GCC must be set. (Is that right?)

Presumably yes, if you're using csh. You can test it with:

    echo $GCC

or with either of

    make -n
    make --warn-undefined-variables

as I suggested last time.

However, the error you got (which I can reproduce) is consistent with
the GCC environment variable *not* being set.

> >>It looks like your source file is execute-permission-set 
> >>and it's trying to invoke it.
> 
> What does that mean? Do I need to change the permissions so 
> that it is read and write only (using chmod)?

It's normal for C source not to be executable, yes, but it shouldn't
make a difference to the build process. I only mentioned it because you
would have seen a different error if it was not flagged executable.

Rup.



More information about the Gcc-help mailing list