• 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
Mach-O and a 16Mb limit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mach-O and a 16Mb limit


  • Subject: Mach-O and a 16Mb limit
  • From: Lyndsey Ferguson <email@hidden>
  • Date: Mon, 13 Jun 2005 16:58:09 -0400


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



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Mach-O and a 16Mb limit
      • From: Alexey Proskuryakov <email@hidden>
    • Re: Mach-O and a 16Mb limit
      • From: Markus Fritze <email@hidden>
  • Prev by Date: Re: dynamic linker problem
  • Next by Date: Re: Mach-O and a 16Mb limit
  • Previous by thread: Re: dynamic linker problem
  • Next by thread: Re: Mach-O and a 16Mb limit
  • Index(es):
    • Date
    • Thread