Date: Tue, 21 Feb 1995 16:54:41 -0500 (CDT) From: Aaron Ucko Subject: Re: which lib for gnu string class? To: jmccaski AT CS DOT Trinity DOT Edu Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Organization: Rockhurst College; Kansas City, MO >Under linux, I am able to use the gnu string class by including String.h >and linking libg++.a. Under dos, using djgpp, I include _string.h and >link in libgpp.a, but I get undefined reference errors (undefined String >class functions, that is). What do I have to link? I've also tried >linking libgcc.a and libgpl.a, but no luck. I'm using 1.12m2. You need to compile with optimization so the necessary functions can be inlined. > >thanks, >Scott > >=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= >Scott McCaskill >(jmccaski AT cs DOT trinity DOT edu) > --- Aaron Ucko (ucko AT vax1 DOT rockhurst DOT edu; finger for PGP public key) -=- httyp! -=*=-Just because you're paranoid doesn't mean they aren't out to get you.-=*=- Geek code 2.1 [finger hayden AT vax1 DOT mankato DOT msus DOT edu for explanation]: GCS/M/S d(-) H s g+ p? !au a-- w+ v+ C++(+++)>++++ UL++(-)(S+)>++++ P++ L+(++) 3(-) E-(----) !N>++ K- W-(---) M-(--) V(--) po-(--) Y+(++) t(+) !5 j R G tv--(-) b+++ !D(--) B--(---) e>++++(*) u++(@) h!() f(+) r-(--)>+++ n+(-) y?