Re: [Fink-users] Virtual packages?

2005-01-01 Thread Alexander K. Hansen
On Jan 1, 2005, at 3:56 PM, Justin Dittmann wrote: Hey - I've got a bunch of programs that I've built from CVS (lame, mplayer/mencoder) - they've got a bunch of extra configure options that I wanted, and fink doesn't build them in... Also, the lame package on fink builds of a bunch of X11 stuff t

Re: [Fink-users] Help Linking a C++ Program, Please

2005-01-01 Thread Peter O'Gorman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Richard Cobbe wrote: | And if there's anyone out there who knows how to get Apple's GCC to use | the shared library instead of the static library for the C++ standard | library, I'd love to hear about it. This requires that libstdc++.dylib | be present

Re: [Fink-users] Help Linking a C++ Program, Please

2005-01-01 Thread Dan Sommers
On Sat, 1 Jan 2005 17:26:43 -0500, "Jonathan Levi, M.D." <[EMAIL PROTECTED]> wrote: > On Jan 1, 2005, at 8:53 AM, Dan Sommers wrote: > On Jan 1, 2005, at 8:53 AM, Richard Cobbe wrote: > > [Use g++ instead of gcc.] > > Thank you both very much. That worked. > > Richard also wrote: > > > However

Re: [Fink-users] Help Linking a C++ Program, Please

2005-01-01 Thread Richard Cobbe
On Sat, Jan 01, 2005 at 05:26:43PM -0500, Jonathan Levi, M.D. wrote: > On Jan 1, 2005, at 8:53 AM, Dan Sommers wrote: > On Jan 1, 2005, at 8:53 AM, Richard Cobbe wrote: > > [Use g++ instead of gcc.] > > Thank you both very much. That worked. > > Richard also wrote: > > >However, g++ also automa

Re: [Fink-users] Help Linking a C++ Program, Please

2005-01-01 Thread Jonathan Levi, M.D.
On Jan 1, 2005, at 8:53 AM, Dan Sommers wrote: On Jan 1, 2005, at 8:53 AM, Richard Cobbe wrote: [Use g++ instead of gcc.] Thank you both very much. That worked. Richard also wrote: However, g++ also automatically links its executables against the C++ standard library, while gcc doesn't. It is poss

[Fink-users] Virtual packages?

2005-01-01 Thread Justin Dittmann
Hey - I've got a bunch of programs that I've built from CVS (lame, mplayer/mencoder) - they've got a bunch of extra configure options that I wanted, and fink doesn't build them in... Also, the lame package on fink builds of a bunch of X11 stuff that isn't really necessary. Anyway - how do I get fi

Re: [Fink-users] Help Linking a C++ Program, Please

2005-01-01 Thread Dan Sommers
On Sat, 1 Jan 2005 08:43:51 -0500, Jonathan Levi MD <[EMAIL PROTECTED]> wrote: > Happy New Year, all! > > I've initiated a return to studying C++, but am having trouble > linking a simple program (following log edited for ease of reading): [ ... ] > jonathan$ gcc -o hello hello.cpp Try g++ in

Re: [Fink-users] Help Linking a C++ Program, Please

2005-01-01 Thread Richard Cobbe
On Sat, Jan 01, 2005 at 08:43:51AM -0500, Jonathan Levi MD wrote: > Happy New Year, all! > > I've initiated a return to studying C++, but am having trouble > linking a simple program (following log edited for ease of reading): > > jonathan$ cat hello.cpp > > #include > int main(){ > std

[Fink-users] Help Linking a C++ Program, Please

2005-01-01 Thread Jonathan Levi MD
Happy New Year, all! I've initiated a return to studying C++, but am having trouble linking a simple program (following log edited for ease of reading): jonathan$ cat hello.cpp #include int main(){ std::cout << "Hello World!\n"; return 0; } jonathan$ gcc -o hello hello.cpp ld: Und