Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setting a larger stack size




On 30 mar 2006, at 23.14, Stuart Smith wrote:

this document:

http://developer.apple.com/qa/qa2005/qa1419.html

says:

Setting The Stack Size to 16MB (0x1000000)

Using XCode:

Add -stack_size 1000000 to the Other Linker Flags field of the Build Styles
pane.


This is probably a typo in the docs. I've tested. -stack-size 1000000
is the correct options.
(NOTE: underscores and dashes are on the same key, at least on Swedish keyboards)


I did this, but I get the following errors when I try to build:

powerpc-apple-darwin8-g++-4.0.1: 1000000: No such file or directory
powerpc-apple-darwin8-g++-4.0.1: unrecognized option '-stack_size'

Does anyone know how this is supposed to work?

Also, if you have multiple flags you want to put into OTHER_LINKER_FLAGS,
how should they be separated - spaces, commas? And how should the flags be
separated from their values - spaces seem to work, but in other places (e.g.
compiler flags) I've seen no space, e.g. -O3.


tia, Stuart



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/tommy.nordgren% 40chello.se


This email sent to email@hidden

------------------------------------- This sig is dedicated to the advancement of Nuclear Power Tommy Nordgren email@hidden



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >setting a larger stack size (From: Stuart Smith <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.