Mail Archives: djgpp/1996/11/06/22:57:55
Kuang-Chun Cheng wrote:
>
> Hi,
>
> I am learning STL by trying the example at Musser's book.
> I am using djgpp v2. The simple example (example 1-3, p19)
[snip]
> cause a error at link-time as follows,
> undefined reference to 'operator new (unsigned long, void *)'
You have to link libstdcx.a when you compile with the '-l stdcx' switch
to gxx. AFAIK, v2.01 corrects this misbehavior of 'gxx', so you should
probably upgrade ASAP.
--
John M. Aldrich, aka Fighteer I <fighteer AT cs DOT com>
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS d- s+:- a-->? c++>$ U@>++$ p>+ L>++ E>+ W++ N++ o+ K? w(---) O-
M-- V? PS+ PE Y+ PGP- t+(-) 5- X- R+ tv+() b+++ DI++ D++ G e(*)>++++
h!() !r !y+()
------END GEEK CODE BLOCK------
- Raw text -