From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: gcc can't open file -o Date: Thu, 07 Nov 1996 21:15:56 -0800 Organization: Three pounds of chaos and a pinch of salt Lines: 31 Message-ID: <3282C20C.6172@cs.com> References: <55tnln$24r AT gally DOT galeode DOT fr> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp211.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Sylvain BARTHELEMY To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Sylvain BARTHELEMY wrote: > > c:/djgpp/bin/as.exe version 1.10 > Can't open file <-o> > > Can someone help me ? > Thanks. *sigh* You might try posting the command line you use to compile? It looks like you aren't doing it right. Try looking in 'readme.1st' for the correct command line format to use; it should look something like this: gcc -o myprog.exe myprog.c The "-o" option tells gcc what file to output the executable program to - it doesn't work by itself. If you're trying to invoke 'as' directly... well, you shouldn't, but post that command line too. Try also downloading and reading the DJGPP Frequently Asked Questions list (v2/faq202b.zip from any simtel site). It doesn't say anything about this error specifically, but does give lots of command-line examples, and also tells you what format you should use to post questions to the newsgroup in section 6.12. -- --------------------------------------------------------------------- | John M. Aldrich, aka Fighteer I | fighteer AT cs DOT com | | Plan: To find ANYONE willing to | http://www.cs.com/fighteer | | play Descent 2 on DWANGO! | Tagline: | ---------------------------------------------------------------------