• 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: Tobias Walser <email@hidden>
  • Date: Tue, 23 Oct 2007 15:09:42 +0200

My project builds, thanks a lot for your help Quinn!

Sadly, it fails to run on 10.2.8 and 10.3.9 and I don't think it was because of the dust on my machines ;)

MoreSCFPortScanner.c: You should install a port name callback.
/Users/tobi/Documents/workspace/bluedisk/mac/lib/MoreSCF/ MoreSCFCCLScanner.c:167: failed assertion `onHoldRef != NULL'
Abort


I had this warning about the port name callback before but until now the code was working fine.


On 23.10.2007, at 13:19, Quinn wrote:

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: Quinn <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>)
 >Re: MoreSCF 1.1 and Cross-Development (From: Quinn <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