Re: Static data?
Re: Static data?
- Subject: Re: Static data?
- From: Pavol Markovic <email@hidden>
- Date: Sat, 3 Jul 2004 08:59:47 +0200
I think the problem is that static data is being made a part of Mach-O
binary. If you have for example 100MB static data, your binary will be
incremented by 100MB. Better to use dynamic allocation in such cases.
PM
On 1.7.2004, at 15:42, Christopher Beck wrote:
I am having trouble getting some C++ code to compile and build with
Xcode. It seems to be an issue with the large amount of static data
that I need for the code. For the code, I need 50,000 objects and each
object has about 120 pieces of data associated with it. If I reduce
the
number of objects to 35,000, the code compiles and builds fine. The
weird thing is that I can get the code to compile with gcc on cygwin
without a problem. Any suggestions would be appreciated.
Chris
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.
References: | |
| >Static data? (From: "Christopher Beck" <email@hidden>) |