• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Trouble with Xcode and gcc
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble with Xcode and gcc


  • Subject: Re: Trouble with Xcode and gcc
  • From: Chris Espinosa <email@hidden>
  • Date: Thu, 23 Jul 2009 14:26:08 -0700


On Jul 23, 2009, at 1:52 PM, B Russell wrote:

I am trying to accomplish this:
<http://www.schwie.com/brad/macosxsftpchroot/>
"Chroot sftp/scp user on Mac OS X 10.4.2 (Tiger)" which involves
installing scponly (and, apparently, xcode?).

When I ran the step "./configure --enable-chrooted-binary" it could
not find gcc.  So after much surfing I installed Xcode 2.5 for
Tiger... and it still could not find gcc.

So after more surfing... I added /Xcode2.5/usr/bin to path in
"~/.profile" and now I'm getting this error when I run
"./configure..."!
"C compiler cannot create executables"

Oh, heavens to Betsy, why is this so complicated?  Why
doesn't Xtools install put gcc in path?  What does this latest
error mean?  Before I go too far down the rabbit hole, can
anybody help get to where I need to go simply?  I appreciate
your much needed help, somebody!  Thank you!!!!
:)

(I'm a novice, if it isn't evident by now.)

Those instructions were written nearly four years ago, and 18 Mac OS X releases and seven Xcode releases have transpired since that time.  The instructions are written for Xcode 2.4.1, which installs in /Developer (not in /Xcode2.5) and which has a completely different structure for organizing build tools; the whole point of Xcode 2.5 is to be portable to Mac OS X 10.5 and to coexist with Xcode 3.0, which is why it's installed in a folder of a different name and does not put its build tools into the $PATH by default.

If you indeed have Mac OS X 10.4 and need to follow those instructions, remove Xcode2.5 and download and install Xcode 2.4.1 instead.

Chris
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Trouble with Xcode and gcc (From: B Russell <email@hidden>)

  • Prev by Date: Trouble with Xcode and gcc
  • Next by Date: Re: How to create dependent projects?
  • Previous by thread: Trouble with Xcode and gcc
  • Next by thread: Linking C++ and Objective-C files
  • Index(es):
    • Date
    • Thread