Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | "Orson Cart" <ex-privat@parts.org> |
|---|---|
| Subject | Re: whose c compiler has command just "c" ? |
| Newsgroups | comp.lang.c |
| References | <4e5e3877$1@x-privat.org> <c77e9d8a-4a26-4206-b2e6-c8237cdadd20@gz5g2000vbb.googlegroups.com> |
| Message-ID | <4e60c3c4$1@x-privat.org> (permalink) |
| Date | 2011-09-02 13:53 +0100 |
| Organization | X-Privat NNTP Server - http://www.x-privat.org |
=?UTF-8?Q?Harald_van_D=C4=B3k?= <truedfx@gmail.com> wrote:
>
>Others have suggested that "c" might be "cc", but there is another
>possibility.
>
>If a Makefile contains a rule such as
>
>..c.o:
> $(COMPILE) -c $<
>
>and COMPILE is not defined, then the command to be executed is just
>"c", the - taken as an option to ignore any errors. And "c" probably
>will not be found. In this scenario, the "c" is correct, and you
>should not change it to "cc". You would instead make sure COMPILE
>gets
>defined.
Ah yes, it was something like that: in the Makefile there was some
such "$COMMAND -c filename" stuff, and the $COMMAND
was undefined, so it looked like c instead. It is derived from
some rather large setup scripts that take into account the hardware
and software, but fell through the cracks in my case.
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
whose c compiler has command just "c" ? "Orson Cart" <ex-privat@parts.org> - 2011-08-31 15:34 +0100
Re: whose c compiler has command just "c" ? tom st denis <tom@iahu.ca> - 2011-08-31 07:30 -0700
Re: whose c compiler has command just "c" ? Keith Thompson <kst-u@mib.org> - 2011-08-31 09:18 -0700
Re: whose c compiler has command just "c" ? Harald van Dijk <truedfx@gmail.com> - 2011-08-31 09:59 -0700
Re: whose c compiler has command just "c" ? "Orson Cart" <ex-privat@parts.org> - 2011-09-02 13:53 +0100
Re: whose c compiler has command just "c" ? Noob <root@127.0.0.1> - 2011-09-02 14:23 +0200
Re: whose c compiler has command just "c" ? gwowen <gwowen@gmail.com> - 2011-09-02 06:01 -0700
Re: whose c compiler has command just "c" ? Rui Maciel <rui.maciel@gmail.com> - 2011-08-31 18:02 +0100
Re: whose c compiler has command just "c" ? "Joachim Schmitz" <nospam.jojo@schmitz-digital.de> - 2011-09-01 18:58 +0200
Re: whose c compiler has command just "c" ? David Thompson <dave.thompson2@verizon.net> - 2011-09-06 01:16 -0400
csiph-web