Re: Linking in a framework using the command line
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