Re: Linking w/SDKs from the command line
Re: Linking w/SDKs from the command line
- Subject: Re: Linking w/SDKs from the command line
- From: Nick Zitzmann <email@hidden>
- Date: Tue, 11 Nov 2003 19:45:58 -0800
On Nov 11, 2003, at 7:08 PM, Nick Zitzmann wrote:
I've set the CFLAGS and LDFLAGS environments like this:
setenv CFLAGS "-I/Developer/SDKs/MacOSX10.2.7.sdk/usr/include -O2
-mdynamic-no-pic -nostdinc"
setenv LDFLAGS "-L/Developer/SDKs/MacOSX10.2.7.sdk/usr/lib"
Some more information I forgot to include...
First, I forgot I also set these variables before building:
setenv MACOSX_DEPLOYMENT_TARGET "10.2"
setenv NEXT_ROOT "/Developer/SDKs/MacOSX10.2.7.sdk"
Also, the linker error I'm specifically getting is...
ld: Undefined symbols:
_poll
_stpcpy
...so now I'm not sure if the compiler is using the correct libraries
with the wrong headers, or the other way around... Anyway, I'm still
looking for a solution to this problem...
Nick Zitzmann
AIM/iChat: dragonsdontsleep
Check out my software page: http://seiryu.home.comcast.net/
S/MIME signature available upon request
"I have always wished that my computer would be as easy to use as my
telephone. My wish has come true. I no longer know how to use my
telephone." - Bjarne Stroustrup
_______________________________________________
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.