• 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: Linking in a framework using the command line
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linking in a framework using the command line


  • Subject: Re: Linking in a framework using the command line
  • From: Fritz Anderson <email@hidden>
  • Date: Wed, 1 Jun 2005 11:52:44 -0500

On 1 Jun 2005, at 9:34 AM, Cem Karan wrote:

I'm using gcc 4.0 from the command line to try to link together a very simple Python extension I'm writing. I've been trying to use the following command:

    gcc -F/Library/Frameworks/Python.framework/ foo.c -o fooMod

but I keep on getting linking errors:

By my reading of the documentation, -F only tells gcc that the specified directory is a framework directory for the purpose of searching for header files. I think you also have to add a -framework flag to point the linker at the framework.


    -- F

_______________________________________________
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: 
 >Linking in a framework using the command line (From: Cem Karan <email@hidden>)

  • Prev by Date: Re: Linking in a framework using the command line
  • Next by Date: Re: Linking in a framework using the command line
  • Previous by thread: Re: Linking in a framework using the command line
  • Next by thread: Setting gcc 3.3 in Rules tab not working
  • Index(es):
    • Date
    • Thread