Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • actually, you should probably be linking with g++, rather than gcc, if it's a program that has some c++ in it. that way g++ can take care of linking with whatever 'extra' libs c++ requires, and you won't have to worry about it.
    • Why does it matter? I am ignorant in such matters. If there's nothing wrong with the approach I am using now, I am not too keen on trying something different. If it ain't broke, and all that.
      • it doesn't especially matter at the moment, but it insulates you from issues down the road if the gcc people decide to change the library you need for c++, or require an another lib or something. a lot of programs used to work fine under older versions of gcc even though they were linking with gcc instead of g++, but with more current versions of the compiler they refuse to link. if they had done the right thing (link a c++ program with the right tool for it, the c++ compiler/linker), then they wouldn't have had the problem.