delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/08/02:31:13

From: "Maan M. Hamze" <mmhamze AT mail DOT utexas DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: djgpp to compile c++ program
Date: 8 Jan 1997 01:47:51 GMT
Organization: University of Texas at Austin
Lines: 17
Message-ID: <01bbfd05$68cf4ae0$96fe5380@maan-m.-hamze>
References: <01bbfc6e$f5bfa400$0c412299 AT ttt>
NNTP-Posting-Host: slip-78-6.ots.utexas.edu
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

George Xu <gxu AT earthlink DOT net> wrote in article
<01bbfc6e$f5bfa400$0c412299 AT ttt>...
> 
> The Djgpp compiler works  for c programs, but doesn't seem to work
> with c++ programs. 

It seems to work only if you'll take a second of your time to read the
basic readme.1st files!
to compile C++ you have to use gxx (not gcc).
Or you can use gcc if you link the c++ library with the -l switch (gxx does
that automatically).
Maan
-- 
Maan M. Hamze
mmhamze AT mail DOT utexas DOT edu
http://leb.net/~mmhamze

- Raw text -


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