Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 748985
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T14:22:59+00:00 2026-05-14T14:22:59+00:00

I am compiling from the command line with gcc -o output-file $(mysql_config –cflags) main.c

  • 0

I am compiling from the command line with

gcc -o output-file $(mysql_config --cflags) main.c $(mysql_config --libs)

How can I add the extra params to xcode compiling options?

gcc -o output-file $(mysql_config –cflags) main.c $(mysql_config –libs)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T14:22:59+00:00Added an answer on May 14, 2026 at 2:22 pm

    Apple-I the project file, there is a section in build settings

    Other C Flags
    Other linker flags

    If you are using Xcode >= 4 you need to click on the Project in the Navigator then click on the Target. Finally, click on the “Build Settings” tab. Type in the search field “other c” and you should see you fields there. If put “$(mysql_config –cflags) $(mysql_config –libs)” in one of the fields depending on what language you are using (c or c++).
    enter image description here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When compiling Objective-C from the command line (gcc), what are some good flags to
When compiling an erlang file with erlc I can add additional include directories like
In Python one can say this: python script.py from the command line and receive
I'm compiling on the command line with avr-gcc One of the includes I'm using
I can build the whole project by calling MSBuild from the command line: C:\MyProject>MSBuild
I am compiling a latex file on a server and download from there the
I generate some code using CXF from a WSDL-file. When compiling the code with
I have Buildr installed on Ubuntu and it works fine running from command line.
I need to Reload a Safari extension from the command line (and also build
I have a normal SLN file, and I'm compiling it fine with msbuild from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.