Re: Re[4]: Decoupling -O from -fvia-C

Wolfgang Thaller <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.all,gmane.comp.lang.haskell.cvs.ghc
Message-ID <[email protected]>
On 1-Dec-06, at 3:51 PM, Bulat Ziganshin wrote:

> mingw32 platform shouldn't be affected by problems specific to macs.
> while via-C is faster here, it should be used. you can change mac's
> compilation settings independently

I never said that this was a mac-specific problem. It affects all  
position-independent code generation on x86.

Also, via-C compilation has other slight differences from fasm  
compilation, like for example the need for prototypes for FFI- 
imported functions. Having those things change implicitly with -O has  
led to confusion in the past; having them change implicitly on some  
platforms but not on others is even worse.

Cheers,

Wolfgang
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.