Re: 7.4.1-cand for docon

2011-12-30 Thread Thorkil Naur
Hello Serge, On Fri, Dec 30, 2011 at 07:55:05PM +0400, Serge D. Mechveliani wrote: ... Has the status of the module Random changed in ghc-7.4.1 ? Between ghc-7.0.4 and ghc-7.4.1, we find http://www.haskell.org/ghc/docs/7.2.1/html/users_guide/release-7-2-1.html that says: 1.5.12.22.

Re: build-depends

2011-12-22 Thread Thorkil Naur
Hello Serge, On Thu, Dec 22, 2011 at 10:03:45PM +0400, Serge D. Mechveliani wrote: ... This leads to DExport.hs:28:8: Could not find module `System.Random' System.Random can be found in http://hackage.haskell.org/package/random. Best regards Thorkil ...

Re: Using CPP in Cmm

2011-06-09 Thread Thorkil Naur
Hello, On Thu, Jun 09, 2011 at 03:44:43PM +0200, Johan Tibell wrote: ... I initially tried to use the CPP ## string concatenation operator to create unique names (tedious, but works) but GHC runs CPP in traditional mode so that doesn't work. One -traditional way that I have used to

Re: link problem under macosx

2010-11-02 Thread Thorkil Naur
Hello, On Tue, Nov 02, 2010 at 01:03:04PM +0100, Christian Maeder wrote: ... Are there better workarounds? I am not sure about that, I assume that you have looked at http://hackage.haskell.org/trac/ghc/ticket/4068? ... Best regards Thorkil ___

Re: integer-simple by default

2010-02-23 Thread naur
Hello, Yet another data point would be my current use of Haskell in various integer factorization activities where I would consider the performance, even for relatively large integers (say, 100-1000 decimal digits) very important. However, I wouldn't complain if some simple and manageable

Re: ANNOUNCE: GHC 6.10.2 Release Candidate 1

2009-03-21 Thread Thorkil Naur
Hello, On Thursday 19 March 2009 18:03, Ian Lynagh wrote: On Wed, Mar 18, 2009 at 12:35:01PM +0100, Thorkil Naur wrote: ... 1. An important property of such installers is that you are told, right from the start, that all the information you are presented with during the installation

Re: ANNOUNCE: GHC 6.10.2 Release Candidate 1

2009-03-18 Thread Thorkil Naur
Hello, On Sunday 15 March 2009 16:51, Ian Lynagh wrote: We are pleased to announce the first release candidate for GHC 6.10.2: ... Please test as much as possible; bugs are much cheaper if we find them before the release! ... I have tried the Intel Mac installer and the source package on

Re: Under OS X 10.5.6: GHC 6.10.1 Release Candidate 1

2009-03-18 Thread Thorkil Naur
Hello Thomas, On Wednesday 18 March 2009 15:03, Thomas Schilling wrote: There should be a file called testlog somewhere, either at the toplevel or within the tests directory. Could you search for apirecomp001 and send me the test output from running that test. I can't reproduce this

Re: Can't compile GHC 6.8.2

2008-11-24 Thread Thorkil Naur
Hello, On Monday 24 November 2008 23:15, Barney Stratford wrote: There's good news and bad news. The good news is that the compilation of my shiny almost-new GHC is complete. The bad news is, it won't link. It's grumbling about ld:

Re: Can't compile GHC 6.8.2

2008-11-24 Thread Thorkil Naur
Hello, On Monday 24 November 2008 23:48, Barney Stratford wrote: The heading seems to be: Your build is missing it's required GMP (GNU Multiple Precision) library No, I have GMP installed, and it's correctly compiling against it. The issue isn't that these symbols are missing altogether,

Re: ANNOUNCE: GHC version 6.10.1 - MacOS installer

2008-11-21 Thread Thorkil Naur
Hello Greg, On Friday 21 November 2008 15:56, Gregory Wright wrote: ... ppc/ Leopard still fails, but I now have an account on a machine that I can use to test and debug. And if you need such an access (now or in the future), please just say the word and you can get access to my PPC

Re: ANNOUNCE: GHC 6.10.1 beta

2008-09-28 Thread Thorkil Naur
Hello, On Sunday 28 September 2008 19:27, humasect wrote: Ah, indeed it does! Then, more about GHC API: Shell: Shell: missing -Bdir option I can't find any information of what this -B is, it is not in GHC sources or anything helpful from google. The -B is used from a ghc shell script to

Re: Making GHC work on BSD

2008-09-08 Thread Thorkil Naur
Hello, On Monday 08 September 2008 14:22, Simon Peyton-Jones wrote: Dear BDS hackers We'd like GHC to be buildable on BSD, but at the moment it isn't. We support GHC on Linux, Windows, Mac, but we really need help with BSD. I would like to do something about this. I have (a number of) x86s

Re: bindist for Intel MacOS X 10.4 (Tiger) with static libs

2008-01-17 Thread Thorkil Naur
Hello, On Thursday 17 January 2008 05:24, Manuel M T Chakravarty wrote: Thorkil Naur: Hello, On Tuesday 08 January 2008 15:07, Christian Maeder wrote: Hi, I've succeeded in building a binary distribution that uses static libraries for gmp and readline. libreadline.a, libncurses.a

Re: gmp

2008-01-17 Thread Thorkil Naur
Hello, On Thursday 17 January 2008 17:57, Christian Maeder wrote: I understand that gmp is needed for the certain libraries like the Prelude with Double and Integer. But I do not understand why gmp is so deeply buried in the rts. Are the basic types Int and Pointer not enough to write a

Re: Integrating editline with ghc

2008-01-16 Thread Thorkil Naur
Hello, On Wednesday 16 January 2008 22:05, Judah Jacobson wrote: Hi all, I have managed to build ghc using the initial release of the editline package: Hackage link: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/editline-0.1 Haddock:

Re: bindist for Intel MacOS X 10.4 (Tiger) with static libs

2008-01-10 Thread Thorkil Naur
Hello, On Tuesday 08 January 2008 15:07, Christian Maeder wrote: Hi, I've succeeded in building a binary distribution that uses static libraries for gmp and readline. libreadline.a, libncurses.a and libgmp.a with corresponding header files are included. (For license issues ask someone

Re: http://www.haskell.org/ghc/dist/mac_frameworks/GNUreadline-framework.zip

2008-01-05 Thread Thorkil Naur
Hello, On Friday 04 January 2008 12:03, Christian Maeder wrote: ... Thanks a lot for this response. I'm not happy about this framework hick-hack either. I am glad we agree about that. I've only pushed it, because we needed a readline solution on macs. I understand that there are

Re: Building GHC 6.6.1 on Leopard/PPC

2007-12-20 Thread Thorkil Naur
Hello, First of all: Welcome to the club. I hope you will find it enjoyable. And then to your questions: I have never tried to bootstrap GHC from C, so I am not really able to help with your specific problem. However, if you just want a running GHC, the binary distributions should provide an

Re: Building GHC 6.6.1 on Leopard/PPC

2007-12-20 Thread Thorkil Naur
Hello, On Thursday 20 December 2007 20:15, Jerry Charumilind wrote: ... Besides getting a working compiler, my other goal is to get contribute a working build process on Leopard back to MacPorts, since they continue to have no solution right now

Is -O currently also implies -fvia-C. still true?

2007-07-27 Thread Thorkil Naur
Hello, The GHC User's Guide, Versio 6.6.1 (http://www.haskell.org/ghc/docs/latest/html/users_guide/options-optimise.html) says: -O currently also implies -fvia-C. I seem to remember some communication a while back that seemed to imply that this is no longer the case. So my question is: Is

Re: ANNOUNCE: GHC 6.6.1 Release Candidate

2007-04-11 Thread Thorkil Naur
Hello, On Tuesday 10 April 2007 16:41, Ian Lynagh wrote: We are pleased to announce the Release Candidate phase for GHC 6.6.1. ... A few comments to the source bundles http://www.haskell.org/ghc/dist/stable/dist/ghc-6.6.20070410-src.tar.bz2

Re: Failed to load interface for `Prelude'

2007-04-07 Thread Thorkil Naur
Hello, I'm afraid that this is outside my direct experience. However, looking at http://lists.apple.com/archives/xcode-users/2006/Oct/msg00578.html that google was kind enough to find for me, some assembler code generation error seems indicated. I can see that you use -O2, but not whether

Re: Failed to load interface for `Prelude'

2007-04-05 Thread Thorkil Naur
Hello, A long shot, but perhaps worth looking into: The reaction that you report here seems similar to the one reported in trac #1195 Build error on MacOSX (Intel) 10.4.8 for HEAD from 2007-03-05 when compiling with ghc-6.6: http://hackage.haskell.org/trac/ghc/ticket/1195 That ticket

Re: Building GHC on Mac OS 10.2.1

2006-12-30 Thread Thorkil Naur
Hello, Sometimes, ghc complains about '#' for me when the C preprocessor has not been run and there is an unexpected #include or #define in the way. Also, as I read ifeq $(ghc_ge_603) YES # These modules are provided in GHC 6.3+ EXCLUDED_SRCS += \ System/Directory/Internals.hs ...

Re: Building GHC on Mac OS 10.2.1

2006-12-29 Thread Thorkil Naur
Hello, Not much help, I'm afraid, but for what it's worth: I have built GHC-6.6 and some HEAD-ish version successfully on a PowerBook G4 with Mac OS X 10.3 (Panther?) and also after upgrading to 10.4 Tiger. I have never tried with 10.2. To assist in your difficult decisions, here are some

Re: Replacement for GMP: Update

2006-12-29 Thread Thorkil Naur
:39 PM, Thorkil Naur wrote: I am truly unable to tell what I would consider the ideal situation. On the one hand, I value greatly the freedom of choosing my circumstances without restraints. And I appreciate the desire of noble people like the GHC developers to be equally free

Re: Network.Socket endian problem?

2006-12-13 Thread Thorkil Naur
Hello, I am not an expert on sockets, but I have both a Linux installation and a PPC Mac OS X 10.4 with both ghc-6.4.1 and ghc-6.6. So if you allow me some additional details (such as complete program texts), perhaps I can perform some useful experiments under your conductance. Best regards

Re: Network.Socket endian problem?

2006-12-13 Thread Thorkil Naur
Hello, It appears that you already got an answer to your question that I hope you can use. So just for completeness: On my PPC Mac OS X 10.4, both ghc-6.4.1 and ghc-6.6 produce results similar to the one you report for OSX. And on my Suse Linux, both ghc-6.4.1 and ghc-6.6 produce results

Re: ghc-testsuite-6.6 on Macs

2006-11-14 Thread Thorkil Naur
Hello, On Tuesday 14 November 2006 11:34, Simon Marlow wrote: Thorkil Naur wrote: ... I have produced an experimental darcs patch that solves some problems, while possibly introducing others: http://thorkilnaur.dk/~tn/GHC/testsuite/patch/barton_mangler_bug_patch_1.patch

Re: ghc-testsuite-6.6 on Macs

2006-11-13 Thread Thorkil Naur
Hello, This is an attempt to address (a very small part of) this: On my PowerPC Mac OS X 10.3 (Panther, I think, not Tiger as I have written elsewhere), I have built the ghc-6.6 branch (of about 2006-Nov-07 19.00 UTC) using GHC-6.4.1.pkg.zip (The Glorious Glasgow Haskell Compilation System,

Re: GHC on MacOS

2006-10-02 Thread Thorkil Naur
Hello, Let me make that offer, then, that I would like to help investigate and fix GHC on MacOS. The obstacles that I have mentioned earlier are ones that I would eventually have removed in any case, so don't worry, I will not be wasting any time. Regards Thorkil On Monday 02 October 2006

Re: GHC on MacOS

2006-09-30 Thread Thorkil Naur
Hello, Nobody seems to have reacted on this. I own a Mac that I don't use particularly much. It seems within reach that I could use it to assist you with both of your questions. As a side effect of having great fun myself, of course. There are several obstacles that need to be removed,

Re: Replacement for GMP: Update

2006-08-24 Thread Thorkil Naur
Hello Peter, Sorry for the late reply. From your latest communication which seems to be Date: Sat, 12 Aug 2006 21:12:05 -0400 From: Peter Tanski [EMAIL PROTECTED] Subject: Re: OpenSSL License (was Replacement for GMP: Update) To: John Goerzen [EMAIL PROTECTED] I am a bit uncertain where the

Re: Message GHC/PrimopWrappers.hs:133:29: Not in scope: `GHC.Prim.quotInteger2Exp#' building GHC with additional primitive operation

2006-03-31 Thread Thorkil Naur
On Wednesday 29 March 2006 01:35, Bulat Ziganshin wrote: primitives work with just the same internal structures. i thinl that only real advantage of adding primop instead of adding FFI import is that PrimOps.cmm contains already implemented wrappers for calling GMP functions while for FFI you

Re: Message GHC/PrimopWrappers.hs:133:29: Not in scope: `GHC.Prim.quotInteger2Exp#' building GHC with additional primitive operation

2006-03-28 Thread Thorkil Naur
On Monday 27 March 2006 12:57, Simon Marlow wrote: quotInteger2Expzh_fast is the function you are adding to PrimOps.cmm to implement the primop. The patch in your original message indicated that you had added a stub for this function, so it should link ok. I don't understand what has gone

Re: Message GHC/PrimopWrappers.hs:133:29: Not in scope: `GHC.Prim.quotInteger2Exp#' building GHC with additional primitive operation

2006-03-28 Thread Thorkil Naur
On Monday 27 March 2006 16:33, Bulat Ziganshin wrote: Thorkil, i can't understand why you can't just use FFI to import functions you required? why you need to patch the PrimOps list? Hello, As I wrote earlier, using FFI is also a candidate for getting access to additional GMP functions.

Re: Message GHC/PrimopWrappers.hs:133:29: Not in scope: `GHC.Prim.quotInteger2Exp#' building GHC with additional primitive operation

2006-03-26 Thread Thorkil Naur
to make GHC.Prim.hi but I have not been able to find anything that relates to this. So I am again at a loss, aksing for help to proceed. Thanks a lot in advance. Best regards Thorkil Naur ___ Glasgow-haskell-users mailing list Glasgow-haskell-users

Message GHC/PrimopWrappers.hs:133:29: Not in scope: `GHC.Prim.quotInteger2Exp#' building GHC with additional primitive operation

2006-03-22 Thread Thorkil Naur
/Haskell/work ghc --version The Glorious Glasgow Haskell Compilation System, version 6.2 [EMAIL PROTECTED]:~/tn/tmp/Haskell/work Best regards Thorkil Naur ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http