• 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: Forcing G++ for linking?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Forcing G++ for linking?


  • Subject: Re: Forcing G++ for linking?
  • From: Brad Oliver <email@hidden>
  • Date: Tue, 20 Sep 2005 21:33:39 -0700

On Sep 20, 2005, at 7:15 PM, email@hidden wrote:

How do I force Xcode to use G++ to link a binary instead of GCC? Is
that even possible?


No one responded, but I figured out one way of doing this: Create a C+ + file, write a dummy C++ class, add it to the target, and build. Then Xcode will use G++ to link the binary.

Maybe I'm confused, but what problem are you trying to solve? As I understand it, G++ (and for that matter, gcc) isn't a linker - ld is. As far as I know, it doesn't make sense to force "g++ to link", since g++ is a compiler, not a linker. This indicates to me that either I don't understand something or you're trying to solve a problem that's linker, rather than compiler, related.


--
Brad Oliver
email@hidden

_______________________________________________
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


  • Follow-Ups:
    • Re: Forcing G++ for linking?
      • From: Eric Albert <email@hidden>
  • Prev by Date: Re: What makes my precompiled header disapear?
  • Next by Date: Re: Mapping deprecated functions to new ones
  • Previous by thread: Re: [PARTIALLY SOLVED]Re: Forcing G++ for linking?
  • Next by thread: Re: Forcing G++ for linking?
  • Index(es):
    • Date
    • Thread