Re: MoreSCF 1.1 and Cross-Development
Re: MoreSCF 1.1 and Cross-Development
- Subject: Re: MoreSCF 1.1 and Cross-Development
- From: John Andersson <email@hidden>
- Date: Tue, 23 Oct 2007 13:48:01 +0200
Ahh, thanks! Couldn't been written with better timing, just as I
tried to get (almost) the same things to work as Thomas (Have been
upgrading to the latest MoreSCF).
By the way, is there any sample code to give me an idea to use
SCNetworkConfiguration in a proper way?
I havent found any examples for it, and almost no source code at all
googling it in different ways.
What I need for now is just to create a new Set with default values
(DHCP for the ethernet port).
Brg
/John
23 okt 2007 kl. 13.19 skrev Quinn:
At 12:55 +0200 23/10/07, Tobias Walser wrote:
I get these errors during the build of my project:
.../lib/MoreSCF/MoreSCF.c:2107: error: `kSCEntNetFireWire'
undeclared (first use in this function)
Ah, that explains things. Here's how you get this to work:
1. Use GCC 3.3 to build for the PowerPC side.
GCC_VERSION_i386 = 4.0
GCC_VERSION_ppc = 3.3
2. Use the 10.4 SDK for both sides:
SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk
3. Set the deployment target to 10.4 for Intel (because all Intel
machines ship with 10.4 and later) and to 10.2 for PowerPC.
MACOSX_DEPLOYMENT_TARGET_i386 = 10.4
MACOSX_DEPLOYMENT_TARGET_ppc = 10.2
With this I got my test project to build. I didn't try running on
10.2 (for that I'd have to dust off my PowerPC machine :-), but the
binary looks OK (that is, it doesn't reference kSCEntNetFireWire
but instead creates it using CFSTR).
In general it's OK to use the latest SDK to build for old system
software. There are circumstances where that won't work (for
example, when building a KEXT), but for standard user space code it
works just fine.
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/
developer/>
Apple Developer Relations, Developer Technical Support, Core OS/
Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40peekaboo.se
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden