delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/15/17:32:38

From: "John Bodfish" <bodfish AT als DOT ameritech DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Undefined reference to basic_string...blabla'-error messages
Date: 12 Jun 1997 18:39:48 GMT
Organization: Ameritech Library Services
Lines: 17
Message-ID: <01bc775f$ab65b860$dfcde7c0@JOHNB.als.ameritech.com>
References: <339FC792 DOT 1AF9 AT fhmrz4 DOT rz DOT fh-muenchen DOT de>
NNTP-Posting-Host: n5223.als.ameritech.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hoinka AT fhmrz4 DOT rz DOT fh-muenchen DOT de wrote in article
<339FC792 DOT 1AF9 AT fhmrz4 DOT rz DOT fh-muenchen DOT de>...
> Subject: 'Undefined reference to basic_string...blabla'-error messages.
[snip]
> Error messages:
> ---------------
> 
> Following error messages had been put out by normal compilation using
> the
> command line 'gxx -x c++ -o test.cpp -o test.exe -lgpp':
> 

Append "-lstdcx" to your command line. That's the STD C++ library.
-- 
John Bodfish
bodfish AT als DOT ameritech DOT com

- Raw text -


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