linking to stl on RedHat 9.0

"Sherman, Yuval" <[email protected]> Fri, 5 Dec 2003 12:43:31 +0200
Newsgroups gmane.linux.redhat.devel
Message-ID <[email protected]>
Hi all,

 

This should be an easy one. I've recently upgraded from RedHat 7.2 to
9.0 (I'd choose the workstation installation). I'm trying to make the
most simple main program which uses 'string' but it seems that I can't
find the library I should link with. Can someone send me the compile
line I should use?

(I've tried: g++ -I/usr/include/g++-3 -lstdc++ -o test test.cxx)

 

Thanks, Yuval