Benutzer:Alex: Unterschied zwischen den Versionen

Aus Wiki CCC Göttingen
Wechseln zu: Navigation, Suche
Zeile 20: Zeile 20:
  
  
 +
* Provide for a minimum stack and heap size
 +
* - _min_stack_size - represents the minimum space that must be made
 +
*                    available for the stack.  Can be overridden from
 +
*                    the command line using the linker's --defsym option.
 +
* - _min_heap_size  - represents the minimum space that must be made
 +
*                    available for the heap.  Can be overridden from
 +
*                    the command line using the linker's --defsym option.
 +
*/
 +
EXTERN (_min_stack_size _min_heap_size)
 +
PROVIDE(_min_stack_size = 0x400) ;
 +
PROVIDE(_min_heap_size = 0) ;
 +
 +
[00:09:54] <hw@hilses.de> also als Linker-Parameter dann "--defsym _min_head_size=0x1000" oder so.
 +
[00:10:06] <hw@hilses.de> äh, typo, heap statt head.
 +
[00:10:36] <hw@hilses.de> bzw. für GCC dann "-Wl,--defsym,_min_heap_size=0x1000"
 +
[00:29:12] *** hw@hilses.de ist Abwesend [I'm not here right now]
 +
[00:32:36] *** hw@hilses.de ist Online
  
 
<gallery widths=300px heights=200px perrow=3 >
 
<gallery widths=300px heights=200px perrow=3 >

Version vom 14. August 2012, 00:29 Uhr

xmmp: alex@artbanause.de

Alex's Projekte (die noch welche werden wollen)


* Provide for a minimum stack and heap size
* - _min_stack_size - represents the minimum space that must be made
*                     available for the stack.  Can be overridden from
*                     the command line using the linker's --defsym option.
* - _min_heap_size  - represents the minimum space that must be made
*                     available for the heap.  Can be overridden from
*                     the command line using the linker's --defsym option.
*/

EXTERN (_min_stack_size _min_heap_size) PROVIDE(_min_stack_size = 0x400) ; PROVIDE(_min_heap_size = 0) ;

[00:09:54] <hw@hilses.de> also als Linker-Parameter dann "--defsym _min_head_size=0x1000" oder so. [00:10:06] <hw@hilses.de> äh, typo, heap statt head. [00:10:36] <hw@hilses.de> bzw. für GCC dann "-Wl,--defsym,_min_heap_size=0x1000" [00:29:12] *** hw@hilses.de ist Abwesend [I'm not here right now] [00:32:36] *** hw@hilses.de ist Online


205