New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

OS 10.4 - gcc and g++


Post Reply New Thread Subscribe

 
Thread Tools
fedesuarez
Guest
 
Posts: n/a

Hi, I just got a Powerbook so I'm a complete newbie on Mac world. I was Linux/Ubuntu i386 user before.

The problem I have now is that I'm running a framework called ROOT for data analysis (it also have a very usefull bunch of C++ classes). Everything goes right until I try try to compile any program. Of course, I did have gcc, g++, or make installed. So, after googling I found Fink and I did:

apt-get install gcc4
apt-get install make
but I couldn't make apt-get install g++ (that I can make with my linux dist.)

but gcc command doesn't appear yet....

I also get an strange messege from apt-get saying:

/usr/libexec/gcc/darwin/ppc/3.3/cc1plus is not executable!

I don't know what that means, but what I know is that I can't compile anything yet, since each time I write gcc the bash tells me that the command doesn't exists. Of course, the same hapends to g++. The only thing working from all this is make.... but without g++ is completly useless.

How can I install gcc and g++ ?????????

Ok, hope you can help me. Thanks.

fede.
QUOTE Thanks
MacsWork

 
MacsWork's Avatar
 
Member Since: May 22, 2005
Location: Closer than you think.
Posts: 2,146
MacsWork is just really niceMacsWork is just really niceMacsWork is just really niceMacsWork is just really niceMacsWork is just really nice
Mac Specs: Performa 6116 2GBSCSI 8MB OS 7.5.3

MacsWork is offline
use chmod on the file that isn't executable.
QUOTE Thanks
fedesuarez
Guest
 
Posts: n/a

Quote:
Originally Posted by MacsWork
use chmod on the file that isn't executable.
It seems that you didn't understand the question... sorry, I may explained myself wrong.

Let's say, I open a terminal and I write:

d-h-145:~ fede$ gcc
-bash: gcc: command not found

d-h-145:~ fede$ g++
-bash: g++: command not found

So, of course, the same happens when I try to compile my macros with make, since it just run g++ commands.

How do I install gcc and g++ in mac???

Thanks, fede.
QUOTE Thanks
MacsWork

 
MacsWork's Avatar
 
Member Since: May 22, 2005
Location: Closer than you think.
Posts: 2,146
MacsWork is just really niceMacsWork is just really niceMacsWork is just really niceMacsWork is just really niceMacsWork is just really nice
Mac Specs: Performa 6116 2GBSCSI 8MB OS 7.5.3

MacsWork is offline
My bad,...

http://developer.apple.com/tools/xcode/index.html
QUOTE Thanks
fedesuarez
Guest
 
Posts: n/a

Quote:
Originally Posted by MacsWork

OOHH, I found the solution by searching on another section. It seems that Xcode is needed to be able to develope under Mac. It is easy to download from the Mac site, under developers section. There is just a free registration needed.

Thanks anyhow.
QUOTE Thanks

Post Reply New Thread Subscribe


« please i need help...finder won't unfreeze | How can I get my icons in LIST view permanently? »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
gcc compiler, no stdio.h found lzco OS X - Development and Darwin 6 10-21-2005 05:23 PM
Shocking: No GCC installed? AlexN OS X - Operating System 3 09-24-2005 07:27 PM
Can't find August 2003 gcc updater suprmallet OS X - Development and Darwin 0 04-18-2005 11:30 AM
GCC error the_jesus OS X - Development and Darwin 0 07-17-2004 08:04 PM
GCC Version Selection anthonyqkiernan OS X - Development and Darwin 0 01-04-2004 04:03 PM

All times are GMT -4. The time now is 11:05 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?