Results 1 to 2 of 2
  1. #1
    XCode - C - GCC options

    Member Since
    Dec 06, 2006
    Posts
    31
    XCode - C - MySQL - GCC options
    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!

  2. #2
    XCode - C - GCC options

    Member Since
    Dec 06, 2006
    Posts
    31
    Any ideas on how to configure the compile parameters in XCode?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Xcode & gcc
    By namu in forum OS X - Operating System
    Replies: 2
    Last Post: 07-13-2012, 12:15 AM
  2. GCC and xcode.
    By macosuser in forum OS X - Apps and Games
    Replies: 2
    Last Post: 06-28-2010, 12:51 AM
  3. Installing gcc on Mac OSX without re-installing XCode
    By jigglypuff in forum OS X - Development and Darwin
    Replies: 0
    Last Post: 02-26-2010, 12:16 AM
  4. C Program Trouble Compiling w/GCC, Trouble Running in Xcode
    By ebeccarayray in forum OS X - Apps and Games
    Replies: 1
    Last Post: 09-28-2009, 09:41 PM
  5. newbie Q - how to wait for keystroke in gcc/xcode ??
    By xr600 in forum OS X - Development and Darwin
    Replies: 3
    Last Post: 05-29-2004, 02:37 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •