This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
using split stacks
- From: "Oliver Kowalke" <oliver dot kowalke at gmx dot de>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 28 Mar 2012 08:41:15 +0200
- Subject: using split stacks
Hello,
I'd like to use split stacks for my coroutine implementation.
I found a website from Ian describing how split stack could be implemented in gcc but not how to use it in an application.
I assume I have to apply the command line option -fsplit-stack and gcc must be compiled with --enable-gold (as described in Ians blog).
Are some macros defined I can use in the code in order to detect that split stacks are available?
I assume I've to call a special function similiar to malloc()/calloc() in order to get a new split stack?!
regards,
Oliver
--
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de