Re: [Fink-devel] linker question

2003-12-26 Thread Koen van der Drift
On Dec 26, 2003, at 3:51 PM, Ben Hines wrote: On Dec 26, 2003, at 5:31 AM, Koen van der Drift wrote: That's weird though, if I don't use the SetLDFLAGS: -lstdc++ line, I get the c++ error during compilation ld: Undefined symbols: std::ios_base::Init::Init[in-charge]() std::ios_base::Init::~Init[

Re: [Fink-devel] linker question

2003-12-26 Thread Ben Hines
On Dec 26, 2003, at 5:31 AM, Koen van der Drift wrote: That's weird though, if I don't use the SetLDFLAGS: -lstdc++ line, I get the c++ error during compilation ld: Undefined symbols: std::ios_base::Init::Init[in-charge]() std::ios_base::Init::~Init[in-charge]() std::cerr . Because its linkin

Re: [Fink-devel] linker question

2003-12-26 Thread Koen van der Drift
On Dec 26, 2003, at 3:19 AM, Ben Hines wrote: But usally you'd want to be linking with "g++" instead of "gcc" to fix the c++ link problem. Actually, I only need SetLDFLAGS: -lstdc++. Again the proper fix is to use "g++" as your linker. Adding the -lstdc++ is the incorrect fix. That's weird t

Re: [Fink-devel] linker question

2003-12-26 Thread Ben Hines
On Dec 25, 2003, at 2:18 PM, Koen van der Drift wrote: But usally you'd want to be linking with "g++" instead of "gcc" to fix the c++ link problem. Actually, I only need SetLDFLAGS: -lstdc++. Again the proper fix is to use "g++" as your linker. Adding the -lstdc++ is the incorrect fix. -Ben

Re: [Fink-devel] linker question

2003-12-25 Thread Koen van der Drift
On Dec 24, 2003, at 8:18 PM, Ben Hines wrote: Depends on what variables the buildsystem honors. Usually SetLIBS: -lstdc++ or maybe SetLDFLAGS: -lstdc++ etc. But usally you'd want to be linking with "g++" instead of "gcc" to fix the c++ link problem. Actually, I only need SetLDFLAGS: -lstdc++.

[Fink-devel] linker question

2003-12-21 Thread Koen van der Drift
Hi, What do I add to an info file to link with a specific library (libstdc++ in this case)? thanks, - Koen. --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM'