• 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: MoreSCF 1.1 and Cross-Development
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MoreSCF 1.1 and Cross-Development


  • Subject: Re: MoreSCF 1.1 and Cross-Development
  • From: Quinn <email@hidden>
  • Date: Tue, 23 Oct 2007 12:19:13 +0100

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: MoreSCF 1.1 and Cross-Development
      • From: Tobias Walser <email@hidden>
    • Re: MoreSCF 1.1 and Cross-Development
      • From: John Andersson <email@hidden>
References: 
 >MoreSCF 1.1 and Cross-Development (From: Tobias Walser <email@hidden>)
 >Re: MoreSCF 1.1 and Cross-Development (From: Mike Cohen <email@hidden>)
 >Re: MoreSCF 1.1 and Cross-Development (From: Quinn <email@hidden>)
 >Re: MoreSCF 1.1 and Cross-Development (From: Tobias Walser <email@hidden>)
 >Re: MoreSCF 1.1 and Cross-Development (From: Quinn <email@hidden>)
 >Re: MoreSCF 1.1 and Cross-Development (From: Tobias Walser <email@hidden>)

  • Prev by Date: Re: MoreSCF 1.1 and Cross-Development
  • Next by Date: Re: MoreSCF 1.1 and Cross-Development
  • Previous by thread: Re: MoreSCF 1.1 and Cross-Development
  • Next by thread: Re: MoreSCF 1.1 and Cross-Development
  • Index(es):
    • Date
    • Thread