-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
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
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
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
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
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
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