• 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: Link error '/usr/bin/g++-4.0 failed with exit code 1'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Link error '/usr/bin/g++-4.0 failed with exit code 1'


  • Subject: Re: Link error '/usr/bin/g++-4.0 failed with exit code 1'
  • From: Jens Alfke <email@hidden>
  • Date: Sun, 12 Aug 2012 14:16:30 -0700


On Aug 12, 2012, at 11:46 AM, Stephen Kay <email@hidden> wrote:

I believe I discovered the issue (or the main factor)... Importing the
CodeWarrior project incorrectly placed the included library into the "Copy
Bundle Resources" phase of the Target, and not the "Link Binary With
Libraries" phase.

I think you mentioned having to change the filename extension — if it was originally one that Xcode didn't recognize as being a library, it would fall back to treating it as a generic resource file. Now that file has extension ".a", it would probably do the right thing if you dragged it in again. But I'm glad you got it fixed!

—Jens

 _______________________________________________
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: 
 >Re: Link error '/usr/bin/g++-4.0 failed with exit code 1' (From: Stephen Kay <email@hidden>)

  • Prev by Date: Re: Should I be building a static or dynamic library?
  • Next by Date: Re: Should I be building a static or dynamic library?
  • Previous by thread: Re: Link error '/usr/bin/g++-4.0 failed with exit code 1'
  • Next by thread: Xcode does not stop at breakpoints in UnitTest
  • Index(es):
    • Date
    • Thread