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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T00:26:56+00:00 2026-05-19T00:26:56+00:00

I have been trying to replace everything in xcode with stuff I can get

  • 0

I have been trying to replace everything in xcode with stuff I can get from macports. So far, I installed xcode, then macports, then used macports to install gcc, gcc_select, gmake, elf-bintools, bintools, arm-bintools (just to be sure I replaced all the bintools), and then uninstalled all of xcode. I then linked /usr/bin/make with /opt/local/bin/gmake and used gcc_select to select gcc44–the one from macports. I also exported all the bintool executable paths into the .profile path.

I was sure this would work (although I should have known better after working on it for 48 hours straight), but nothing will configure, and the log files all have the common error:
:info:configure configure: error: C compiler cannot create executables

I have a feeling it has something to do with libraries, but I am really not sure.

I use a mac 10.5.8.

If this is truely ‘impossible’, what parts of xcode to I need for macports to work? For example, I can uninstall the xcode folder without a problem.

  • 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-19T00:26:56+00:00Added an answer on May 19, 2026 at 12:26 am

    If you really mean “everything in Xcode”, it’s not possible. However, if you’re just talking about the command-line tools (which is more likely) it may be possible, but it sounds like a terrible idea. If you’re not writing Mac or iOS applications, the Xcode application itself may not be of interest to you.

    Clarifying what you’re actually hoping to accomplish with the minimal set of tools you plan to end up with would help us provide a better answer. The fact that you mention arm-bintools leads me to guess you may be hoping to develop iOS apps — and I’ll echo the warnings from the comments that you’d be asking for pain and not gaining anything appreciable. I understand wanting to reduce disk usage, but shelling out for a larger hard drive will be much less expensive than the extra time you’d spend just trying to do what Xcode does. (Not just the setup cost, but loss of productivity in daily usage.)

    BTW, one reason that the gcc version in Xcode may lag behind the one in MacPorts is because Apple is extremely invested in replacing gcc with clang-llvm, which you’ll find is vastly faster and under more active development.


    Edit in response to OP:

    Given the clarification that the intent is to only develop scientific computing code, there’s another option. You still want to install Xcode to get all the command-line tools, but you may be able to get rid of Xcode and the other GUI apps you don’t care to use.

    When running the Xcode installer, pause on the Installation Type screen — check “UNIX Development” and uncheck everything else you can. This will install components into /System/Library and /usr. (You can see the full list of files by selecting File > Show Files within the installer and expanding the UNIX Development sub-package.) The Essentials package (which is a required install) will install into a location of your choosing (default is /Developer) which can be deleted after the install completes. The extra Mac-related stuff installed in /System/Library is small enough (an order of magnitutde smaller than the Essentials package) that I’d recommend just leaving /System alone altogether.

    This should leave you with the Xcode-provided artifacts in /usr/bin, /usr/lib, /usr/include, /usr/share/man, etc. and allow you to build whatever custom tools you need. I recommend building them into /usr/local/* to keep them from conflicting with existing tools. Good luck!

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

Sidebar

Related Questions

Hi i have been trying this for some time now no result yet. i
We have a script to delete the svn:mergeinfo property from all folders inside a
I've been fighting with this for a few days now and it looks like
I have strings that looks like this: John Miller-Doe - Name: jdoe Jane Smith
I have a fairly simple desktop application that uses a .NET setup project (.msi
I'm trying to deny all and allow only for a single IP. But, I
I'm trying to convert old text in ascii non-english font to new unicode font.
I downloaded a3m, it comes packaged with CI 1.7.2 but I went ahead and
s = Comment=This is a comment Name=Frank J. Lapidus GenericName=Some name replace_name = Dr.

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.