Hi
I am a windows programmer who has been asked to voyage into the unknown.. the mac...
So I have a mini Mac as my Dev machine and have just downloaded XCode 2.2.
All I want to do at the moment is compile a simple "Hello World" application..
so I have this
Firstly when I open this cpp file in the Xcode editor...everything under the Build Menu is disabled
When I try to compile using gcc... I get the following error
/usr/bin/Id: Undefined symbols:
___gxx_personality_v0
collect2: Id returned 1 exit status
It seems like I'm missing a library because the __gxx... error looks like a linking error...but I'm not sure.
Can anyone help me please.
Also If anyone has built a plugin for Firefox on the Mac, can you tell me wot mozilla packages I would need... like is there a Mac version of Mozilla-Devel which I used to build on Linux.
I am a windows programmer who has been asked to voyage into the unknown.. the mac...
So I have a mini Mac as my Dev machine and have just downloaded XCode 2.2.
All I want to do at the moment is compile a simple "Hello World" application..
so I have this
Code:
//------------------
#include <stdio.h>
int main()
{
printf("hello world");
return 0;
}
//----------------
Firstly when I open this cpp file in the Xcode editor...everything under the Build Menu is disabled
When I try to compile using gcc... I get the following error
/usr/bin/Id: Undefined symbols:
___gxx_personality_v0
collect2: Id returned 1 exit status
It seems like I'm missing a library because the __gxx... error looks like a linking error...but I'm not sure.
Can anyone help me please.
Also If anyone has built a plugin for Firefox on the Mac, can you tell me wot mozilla packages I would need... like is there a Mac version of Mozilla-Devel which I used to build on Linux.