Fwd: Trying to compile GHC under Ubuntu as a cross-compiler for ARM

2014-03-28 Thread eng. Vassil Ognyanov Keremidchiev
Hello! Could someone help me with compiling GHC under Ubuntu as a ARM cross-compiler? Currently I have done those steps: sudo apt-get update sudo apt-get install autoconf alex happy libtool autopoint zlib1g-dev libncurses5-dev ghc-haddock sudo export PATH=~/.cabal/bin:$PATH sudo cabal install

Re: We need to add role annotations for 7.8

2014-03-28 Thread Mark Lentczner
*Apologies* On Tue, Mar 25, 2014 at 8:47 AM, Simon Peyton Jones simo...@microsoft.comwrote: The situation today is that · A client of a library can use GND to do bad things to the library (e.g. change the “key” type of (Map key value)). · Role annotations allow the library

Re: Fwd: Trying to compile GHC under Ubuntu as a cross-compiler for ARM

2014-03-28 Thread Karel Gardas
Last time I did that (crossing to ARMv8) I needed to use --with-gcc=cross compiler option since for some reason I had not time to debug setting target triple with --target was not enough. Speaking about GHC HEAD as of new year eve (2014) time... But well, since it this is already some time

Re: We need to add role annotations for 7.8

2014-03-28 Thread Richard Eisenberg
I think a few clarifications might help: - Roles, as originally conceived, were not an attempt to make Unsafe code Safe. Instead, they make unsafe things safe. Before roles, it was quite possible to write Haskell code that would cause a seg fault at runtime. Now, this is (short of unsafeCoerce

Re: We need to add role annotations for 7.8

2014-03-28 Thread Mark Lentczner
The first line was supposed to say: *Apologies for the delayed and multi-message response.* ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs