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 8858733
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T14:53:43+00:00 2026-06-14T14:53:43+00:00

In the makefile: CUSTOM_CFLAGS=-Wall -ggdb3 -O3 -std=gnu99 -frename-registers -pthread -Wsign-compare -D_GNU_SOURCE SYS_CFLAGS=-DNO_THREAD_LOCAL LDFLAGS=-pthread -rdynamic

  • 0

In the makefile:

 CUSTOM_CFLAGS=-Wall -ggdb3 -O3 -std=gnu99 -frename-registers -pthread -Wsign-compare -D_GNU_SOURCE

 SYS_CFLAGS=-DNO_THREAD_LOCAL
 LDFLAGS=-pthread -rdynamic
 LIBS=-lm -ldl

Where should I put the above in Xcode project?

  • 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-06-14T14:53:44+00:00Added an answer on June 14, 2026 at 2:53 pm

    Makefile flags correspond to Xcode build settings. Look into the following build settings:

    Optimization Level for the -O3 flag.
    C Language Dialect for the -std=gnu99 flag.
    Other C Flags for the other flags in the CUSTOM_CFLAGS and SYS_CFLAGS flags.
    Other Linker Flags for the LDFLAGS and LIBS flags.

    Xcode may have build settings for some of the flags in the makefile’s CUSTOM_CFLAGS flag list and the linker flags. I haven’t memorized the build settings list. If you open the Quick Help inspector, you can read a description of each build setting by selecting the build setting from the build settings list. Choose View > Utilities > Show Quick Help Inspector to show the Quick Help inspector.

    If you don’t know where to find Xcode’s build settings, read the following article:

    Xcode 4: Accessing Build Settings

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

Sidebar

Related Questions

I am reading a Makefile from someone else as follows. LDFLAGS=-lm -ljpeg -lpng ifeq
I have this very basic makefile: CC=gcc CFLAGS=-Wall -g -O -pedantic -Wformat=2 -Wextra -lm
I'm writing a custom makefile project using QtCreator and I want to delete a
My makefile is below Also, I would appreciate it if you told me how
Is makefile an advanced problem or a general problem for a programmer? For a
I have a big makefile that I have configured with several phony targets. One
I'm creating a Makefile for a project. I have the following structure of Makefiles:
I have a gnu makefile template that has served me well, but when I
I have a makefile for compiling Arduino programs . I need to add some
I have the following makefile for my project, and I'd like to configure it

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.