• 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: C++
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C++


  • Subject: Re: C++
  • From: Nick Zitzmann <email@hidden>
  • Date: Fri, 13 Aug 2004 18:06:17 -0600

On Aug 13, 2004, at 5:02 PM, digish reshamwala wrote:

OK I tried your suggestions.  And compiled using the command

g++ -Wall g++ -Wall -O0 -o hello hello.cpp

But it game the following error:
"ld: can't locate file for: -lcrt1.o"

That means your Mac's developer tools installation is screwed up and you should perform a clean reinstall of the developer tools. libcrt1.o is the name of the C runtime, and if it's not present, then you won't be able to compile anything.


To do that, in Terminal, run the "uninstall-devtools.pl" script that's in /Developer/Tools as root. Then reinstall Xcode from the developer tools CD (or disk image).

Nick Zitzmann
<http://seiryu.home.comcast.net/>
S/MIME signature available upon request

"They [our enemies] never stop thinking about new ways to harm our country and our people, and neither do we. We must never stop thinking about how best to offend our country." - George W. Bush (August 5, 2004)
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.



References: 
 >Re: C++ (From: digish reshamwala <email@hidden>)

  • Prev by Date: Re: C++
  • Next by Date: Re: C++
  • Previous by thread: Re: C++
  • Next by thread: Re: C++
  • Index(es):
    • Date
    • Thread