linking to stl on RedHat 9.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

 


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux