Hello,
I am trying to get some information and am getting conflicting data.
I am researching the process of moving our CFM application developed in CodeWarrior 8.3 on the Macintosh to a Mach-O application under XCode.
Previously I had been told that the maximum size of an Mach-O executable was 16Mb. Our CFM executable application is considerably larger than that; some 35Mb. Our debug version of that is well into the 50Mb range.
Because of that information, we were considering how to break our application into pieces to be able to build and run a Mach-O application.
But then I saw a post to the Carbon-Dev list that the 16Mb was actually a limit on the size of a code section. As I have not been able to find significant information on this limit, I am confused; Can anyone give me a definite answer on whether it is the size of the executable, or the code section? Or give me some documentation references to examine?
If it is the code section, would not the development environment (XCode 2.1) prevent a code section from becoming larger than 16Mb? How is this determined? I see that one can have many code sections inside of many segments (inside the Mach-O binary file), it seems to me that it would be nearly impossible to create a 17Mb code section.
Any information will be very much appreciated.
Sincerely, Lyndsey Ferguson
-- Lyndsey D. Ferguson Software Engineer : Platforms Group Nemetschek North America, Inc. mailto: email@hidden
|