From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: Can't compile to an object Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: References: <3955c748_1 AT spamkiller DOT newsfeeds DOT com> <3955DD01 DOT 3D0B26A AT earthlink DOT net> <39560a02_1 AT spamkiller DOT newsfeeds DOT com> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 29 X-Trace: /KDWjZNN7JmjNN0wKdl1SB8aMVKuokXrGjFKXL2kojuooyVvRUMF/SqAA+9oB/4CUDQYHoraWHsJ!KNLgRukYLMgy09xvHN5yOF3o7tJPllnRefFsMx8wxMEiLoMhjM9MHcK0+xOJg4qEtZMIe1s1oYRC!w4LN X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Sun, 25 Jun 2000 15:44:13 GMT Distribution: world Date: Sun, 25 Jun 2000 15:44:14 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Sun, 25 Jun 2000 08:24:10 -0500, "23yrold3yrold" wrote: > >> > >> > What exactly can be done to prevent this error message: >> > >> > cannot specify -o with -c or -S and multiple compilations >> >> Stop specifying -o when you do -c or -S multiple compilations. > >I wasn't aware I was doing -c or -S multiple compilations. My present >project, giving me that error, is only one file. I want an object. All I'm >telling DJGPP to do is compile. How am I accidentaly doing this and how can >I keep from doing it again? What's your commandline? gcc -c foo.c -o foo.o or gcc -c foo.c bar.c baz.c -- Damian Yerrick "I refuse to listen to those who refuse to listen to reason." See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html This is McAfee VirusScan. Add these two lines to your signature to prevent the spread of signature viruses. http://www.mcafee.com/