www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/02/19:15:38

Xref: news2.mv.net comp.os.msdos.djgpp:3355
From: Enrico Horn <enrico DOT horn AT prakinf DOT tu-ilmenau DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Can't compile C++ program with gcc
Date: Thu, 02 May 1996 12:55:00 +0200
Organization: Technische Universitaet Ilmenau
Lines: 21
Message-ID: <31889484.3F69@prakinf.tu-ilmenau.de>
References: <4lho59$m2g AT aggedor DOT rmit DOT EDU DOT AU>
NNTP-Posting-Host: ipisparc2.prakinf.tu-ilmenau.de
Mime-Version: 1.0
To: Louie Lui <m9501470 AT cse DOT rmit DOT EDU DOT AU>
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Louie Lui wrote:
> 
> #include <iostream.h>
> 

>   gcc -Wall -o try try.cc
> or
>   cc1plus -Wall -o try try.cc
> 

Try it that way:
gcc -Wall -o try try.cc -liostr

That links the iostream library.

-- 
/---------------------------------------------------------------------\
|Enrico Horn               Tel. 036738/41929                          |
|07426 Lichta              E-mail: enrico DOT horn AT prakinf DOT tu-ilmenau DOT de  |
|Ortsstrasse Nr. 14        http://www.prakinf.tu-ilmenau.de/~ehorn    |
\---------------------------------------------------------------------/

- Raw text -


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