Hi there.<br><br>I am trying to get an unregisterised build of ghc 7.0.2 working and am having problems turning mangling off.<br><br>When I build the compiler with<br><br>GhcUnregisterized = YES<br>GhcWithNativeCodeGen = NO<br>
SplitObjs          = NO<br>BeConservative = YES<br><br>The &#39;evil mangler&#39; is still used.  When I disable it at the command line with -fno-asm-mangling the FB_ macro is still put into the<br>generated C.<br><br><br>
I just want to turn everything related to this dreaded &quot;evil mangler&quot; off, and still produce working executables.  <br>Are there things that I could set in the <a href="http://build.mk">build.mk</a> file to do this, or is it more involved?<br>
<br>I have read some things in the mailing list and the bug tracker that (to my ignorant and slightly confused ears)<br>seem to suggest that this unregisterised is problematic or depreciated or something.  <br><br>If this is the case I would be perfectly happy using an older version of the compiler, and would be grateful if someone<br>
could point me to a specific older version number where this stuff builds with less hassel.  I don&#39;t care how out of date<br>it is.<br><br>In case you are wondering, I am attempting to get an unregisterised port of ghc working in plan9, an operating system that<br>
has yet to be blessed with a haskell implementation (hugs doesn&#39;t count :P)<br><br>Plan 9 has a gcc port, an older one, but it should be fine.<br>