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 - Development and Darwin Discussion and questions about development for Mac OS X.

GCC error

Post Reply New Thread Subscribe

Thread Tools
Posts: n/a

I have noticed that when I try to compile code that I get an error saying that gcc cannot create executables. If I try something simple like:

gcc test.c -o test

I get the error "ld: can't locate file for: -lSystem"

If I run gcc without linking (-c) I don't get the error. I have basically come to the conclusion that I am missing a library. I have reinstalled gcc and the xcode tools serveral times and it has not fixed the problem. Any suggestions would be greatly appreciated.

QUOTE Thanks

Post Reply New Thread Subscribe

« controll/read iTunes via. PHP | Xcode C++ Compiler error »
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 Starter
Last Post
HELP! Catalog B-tree error, can't delete a HUGE preference file markpetrowsky Running Windows (or anything else) on your Mac 5 03-12-2004 11:39 AM
Catalog B-Tree error that Norton Can't Fix imix Running Windows (or anything else) on your Mac 3 01-20-2004 05:51 PM
GCC Version Selection anthonyqkiernan OS X - Development and Darwin 0 01-04-2004 03:03 PM
Upgrading PERL Forum Setup, MySQL, etc. ssotti OS X - Development and Darwin 0 11-29-2003 11:16 AM
Terribly Annoying Applescript Error =-1753 CmdrGuard Running Windows (or anything else) on your Mac 3 08-17-2003 12:02 AM

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

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

Welcome to

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?