This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcc does not work on mac os x
- From: Eljay Love-Jensen <eljay at adobe dot com>
- To: tanne <dietanne at gmx dot net>, gcc-help at gcc dot gnu dot org
- Date: Mon, 19 Jan 2004 06:23:08 -0600
- Subject: Re: gcc does not work on mac os x
Hi Tanja,
>this is the code:
That's not valid C++ (ISO 14882-1998) code.
Try this instead for your hallo.cpp source...
#include <iostream>
int main()
{
std::cout << "hallo" << std::endl;
}
It appears that your C++ reference books are slightly out of date.
HTH,
--Eljay
PS: I've been using GCC on Mac OS X for several years.