delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/01/13:25:27

From: "Nick de Graeve" <de DOT graeve AT village DOT uunet DOT be>
Newsgroups: comp.os.msdos.djgpp
Subject: problems compiling c++ in rhide
Date: Wed, 1 Sep 1999 16:16:57 -0000
Organization: UUNET Benelux (post does not reflect views of UUNET Benelux)
Message-ID: <7qjmhn$o47$1@nickel.uunet.be>
NNTP-Posting-Host: pool02a-194-7-46-102.uunet.be
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Lines: 18
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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?

Nick.




- Raw text -


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