[Pythonmac-SIG] Off subject? can OSX developer tools be used to create "Classic"
Doug Wyatt
doug@sonosphere.com
Wed, 25 Jul 2001 07:27:13 -0700
On Wednesday, July 25, 2001, at 04:52 AM, Jack Jansen wrote:
>> I don't know any reason why filters couldn't be written to convert
>> object file formats, or a new backend written for gcc+ld to write
>> PEF/CFM objects for Classic, but I haven't heard that any such tools
>> are in the works from Apple or anyone else. (I'm sure Apple doesn't
>> want to step on Metrowerks toes too much!)
>
> If I understand correctly it's not only the object file format that is
> different but also the subroutine calling conventions. At least, I
> think that
> that is what all the OSX CFM<->MachO glue stuff is converting.
The function calling conventions look pretty darned similar. First
argument and return value is r3, second argument is r4, etc.
I think the differences have more to do with CFM's assumptions about
RTOC, which comes into play with UPP's etc ...
Doug
--
Doug Wyatt
work: dwyatt@apple.com (CoreAudio)
personal: doug@sonosphere.com http://www.sonosphere.com
"Premature optimization is the root of all evil."
-- Knuth