delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/29/10:03:01

From: "Alberto Chessa" <fiargbgm AT tin DOT it>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: [Q] c++ library error...
Date: 29 Apr 1998 08:22:58 GMT
Organization: FIAR S.p.A.
Lines: 14
Message-ID: <01bd7348$35acd280$2cc809c0@chessa>
References: <35455695 DOT 6E201906 AT cais DOT kaist DOT ac DOT kr>
Reply-To: "\"Alberto Chessa\" <Alberto Chessa" <fiargbgm AT tin DOT it>
NNTP-Posting-Host: milano17-3.tin.it
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp


Dan, Ho Jin <naturalis AT cais DOT kaist DOT ac DOT kr> wrote in article
<35455695 DOT 6E201906 AT cais DOT kaist DOT ac DOT kr>...
> when i compiled a simple c++ program with djgpp, i got the error
> messages such that
> 
> C:\lang\djgpp\work>gcc -lgpp minprint.cpp
> c:/lang/djgpp/tmp\ccdaaaaa(.text+0x1c4):minprint.cc: undefined reference
> [...]

Simple use "gxx" instead of "gcc"!
gxx is the front-end for C++. gcc do not link with the standrd C++ library.

- Raw text -


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