On Fri, 5 Dec 2003, Sherman, Yuval wrote: > 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' (it has #include <string> > in it) 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 Do you have the libstdc++-devel RPM installed? The path to the string header file is /usr/include/c++/3.2.2/string in RH9, but that should be included automatically if you use g++. -- Matthew Saltzman Clemson University Math Sciences mjs AT clemson DOT edu http://www.math.clemson.edu/~mjs -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list