delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
From: | nospam AT none DOT com |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: gcc332b broken?? |
Date: | Tue, 4 Nov 2003 19:22:49 +0000 (UTC) |
Organization: | University of California, Berkeley |
Lines: | 16 |
Sender: | Raymond Chi <chiry AT soda DOT csua DOT berkeley DOT edu> |
Message-ID: | <bo8ua9$1pfl$1@agate.berkeley.edu> |
References: | <bnuuob$2rbj$1 AT agate DOT berkeley DOT edu> <qab8qv04o7cj10ol57vd2qpk7bq7vqdsta AT 4ax DOT com> <bo6f1n$v1o$1 AT agate DOT berkeley DOT edu> <3FA6D820 DOT DBBB7B7B AT phekda DOT freeserve DOT co DOT uk> |
NNTP-Posting-Host: | soda.csua.berkeley.edu |
X-Trace: | agate.berkeley.edu 1067973769 58869 128.32.112.233 (4 Nov 2003 19:22:49 GMT) |
X-Complaints-To: | usenet AT agate DOT berkeley DOT edu |
NNTP-Posting-Date: | Tue, 4 Nov 2003 19:22:49 +0000 (UTC) |
User-Agent: | tin/1.5.12-20020427 ("Sugar") (UNIX) (FreeBSD/4.7-STABLE (i386)) |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk> wrote: > Hello. >> it didn't work. c code compiled fine, but c++ code didn't. > [snip] > How are you compiling it? You should be using g++. E.g.: > g++ -g -Wall -o helloworld helloworld.cpp > You need to use g++ to link C++ programs - "gcc" isn't enough. Thanks!! ;) Raymond
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |