From: Martin Ambuhl Newsgroups: comp.os.msdos.djgpp Subject: Re: problems compiling c++ in rhide Date: Sat, 04 Sep 1999 01:41:22 -0400 Content-Transfer-Encoding: 7bit References: <7qjmhn$o47$1 AT nickel DOT uunet DOT be> X-Posted-Path-Was: not-for-mail X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-ELN-Date: 4 Sep 1999 05:39:28 GMT X-ELN-Insert-Date: Fri Sep 3 22:45:05 1999 Organization: Nocturnal Aviation Lines: 27 Mime-Version: 1.0 NNTP-Posting-Host: dialup-209.246.67.28.newyork2.level3.net Message-ID: <37D0B102.389529B@earthlink.net> X-Mailer: Mozilla 4.61 [en] (Win95; U) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Nick de Graeve wrote: > > I tried to compile the trivial program "Hello World" ( test.cpp ) > > #include > void main (){ > cout << "Hello World"; > } > > and I got the message > > "cannot specify -o with -c or -S and multiple compilations" > > What did I do wrong? In addition to using an illegal return type for main(), it appears that you compiled "-o with -c or -S and multiple compilations." -- Martin Ambuhl mambuhl AT earthlink DOT net __________________________________________________________ Fight spam now! Get your free anti-spam service: http://www.brightmail.com