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.

XCode - C - GCC options


Post Reply New Thread Subscribe

 
Thread Tools
federicog

 
Member Since: Dec 06, 2006
Posts: 31
federicog is on a distinguished road

federicog is offline
I'm using XCode to create a Command line C App.
I want to use MySQL, so I need to pass certain parameters to gcc (http://www.cyberciti.biz/tips/linux-...i-program.html)

How should I setup XCode to pass those parameters to gcc?

I tried compiling an example by hand (http://dev.mysql.com/doc/refman/5.0/...g-clients.html) and when I execute it, it returns "Segmentation Fault".

EDIT: I fixed, it works when I compile it manually. The thing is configuring XCode to add parameters to gcc automatically.

Thanks!
QUOTE Thanks
federicog

 
Member Since: Dec 06, 2006
Posts: 31
federicog is on a distinguished road

federicog is offline
Any ideas on how to configure the compile parameters in XCode?
QUOTE Thanks

Post Reply New Thread Subscribe


« darwinx86 error | Dynamic Unpartition - Terminal? »
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
help me convert something, please. krrose27 Switcher Hangout 4 05-25-2007 02:10 AM
gcc compiling jdgti OS X - Development and Darwin 5 09-20-2006 04:08 AM
How to install GCC version 4.xx???? Philipina OS X - Development and Darwin 1 04-14-2006 10:25 AM
gcc compiler, no stdio.h found lzco OS X - Development and Darwin 6 10-21-2005 04:23 PM
Apple Shareholders Defy Board on Stock Options schweb Apple Rumors and Reports 0 04-25-2003 07:52 AM

All times are GMT -4. The time now is 02:58 PM.

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?