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’ 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]     [Kernel Newbies]     [Red Hat General]     [Fedora]     [Red Hat Install]     [Linux Kernel Development]     [Yosemite News]

  Powered by Linux