Date: Thu, 15 Jul 1999 12:20:05 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: djgpp AT delorie DOT com Subject: Re: cannot specify -o with -c and multiple compilations In-Reply-To: <7mj31q$kl9$1@news101.telia.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by delorie.com id FAA23009 Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Thu, 15 Jul 1999, Tonni Schmücker wrote: > in my quest for fame I've stumpled over a problem, i've downloaded the > tutorial from coronado enterprises, and are about to use the "make" command, > and ends up with this error message: > > "cannot specify -o with -c and multiple compilations" > ????? Please post the command line which Make tried to run and which resulted in this error message. It is very hard to guess what was your problem without knowing at least that much. The message itself seems to imply that the compiler was invoked with a command like this: gcc -c -o foo file1.c file2.c file3.c ... What the message tells you is that when you use -c, which means "only compile the sources, but don't link them together", you cannot use -o, because each compiled file goes in its own object file (file1.o, file2.o, etc.). But I have no idea why did that happen. I'd guess that either -c or -o should not be there, but that's only a guess.