Death To __stginit_
wolfgang.thaller at gmx.net
Thu Apr 14 10:21:29 EDT 2005
> But we don't even want to require a C compiler for plain GHC; so what
> we are profiling... no stub c files...?
For profiling, my current patch leaves the stginit functions in place.
For non-profiling, the only thing we ever want to initialise are
foreign exports, so we only need to add __attribute__((constructor))
functions to stub C files that we generate anyway in this case.
More information about the Cvs-ghc