delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/04/09:32:53

From: Martin Ambuhl <mambuhl AT earthlink DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: problems compiling c++ in rhide
Date: Sat, 04 Sep 1999 01:41:22 -0400
References: <7qjmhn$o47$1 AT nickel DOT uunet DOT be>
X-Posted-Path-Was: not-for-mail
X-Accept-Language: en
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 <iostream.h>
> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019