Re: ghc: out of memory error while compiling huge let

2007-01-15 Thread Simon Marlow
Neil Mitchell wrote: I found that GHC is O(n^2) in terms of the number of lines in a do block, so by splitting up a huge 1000 line do block in to 10 x 100 line do blocks, I was able to get a massive compile time boost. Perhaps you might have similar luck with let's. Didn't we fix the do-block

Re: ghc: out of memory error while compiling huge let

2007-01-15 Thread Neil Mitchell
Hi Didn't we fix the do-block blowup? You did, I just checked on GHC 6.6. I reported it before the bug tracker was in full swing so never got to see it get closed. Thanks Neil ___ Glasgow-haskell-users mailing list

Re: [GHC] #1092: initC: srt when compiling with profiling

2007-01-13 Thread GHC
#1092: initC: srt when compiling with profiling ---+ Reporter: [EMAIL PROTECTED] | Owner: igloo Type: merge | Status: new Priority: normal | Milestone

ghc: out of memory error while compiling huge let

2007-01-12 Thread David Morse
I have a machine-generated source-code file that brings my computer to its knees with ghc-6.6. After an hour or so of rummaging around, ghc dies with: ghc-6.6: out of memory (requested 1048576 bytes). The linux machine has 1gb RAM and 2gb swap, and I don't have access to a better one. The file

Re: ghc: out of memory error while compiling huge let

2007-01-12 Thread Kirsten Chevalier
only reference b5001...b1 and never b1...b4999. Somehow I doubt that the answer is going to be that simple, but for starters, what's your ghc command line? (In particular, are you compiling with -O or not? If ghc is eating that much memory than I'd assume you are, but one should never assume

Re: ghc: out of memory error while compiling huge let

2007-01-12 Thread David Morse
On 1/12/07, Kirsten Chevalier [EMAIL PROTECTED] wrote: for starters, what's your ghc command line? hmake -package HaXml -package HTTP GraphCache.hs ghc-6.6 -package HaXml -package HTTP-c -o GraphCache.o GraphCache.hs ghc-6.6: out of memory (requested 1048576 bytes)

[GHC] #1092: initC: srt when compiling with profiling

2007-01-08 Thread GHC
#1092: initC: srt when compiling with profiling --+- Reporter: [EMAIL PROTECTED] | Owner: Type: bug| Status: new Priority: normal | Milestone

Re: Exception when compiling HAppS

2007-01-07 Thread Kirsten Chevalier
On 1/7/07, Dimitry Golubovsky [EMAIL PROTECTED] wrote: Hi, I am getting a strange error message when trying to compile HAppS-0.8.4 with ghc-6.4.1always on the same file. [snip] *** Exception: waitForProcess: interrupted (Interrupted system call) This could mean a lot of things. What OS

Re: Exception when compiling HAppS

2007-01-07 Thread Dimitry Golubovsky
Hi, On 1/7/07, Kirsten Chevalier [EMAIL PROTECTED] wrote: I am getting a strange error message when trying to compile HAppS-0.8.4 with ghc-6.4.1always on the same file. [snip] *** Exception: waitForProcess: interrupted (Interrupted system call) This could mean a lot of things. What OS

Re: Exception when compiling HAppS

2007-01-07 Thread Kirsten Chevalier
On 1/7/07, Dimitry Golubovsky [EMAIL PROTECTED] wrote: On 1/7/07, Kirsten Chevalier [EMAIL PROTECTED] wrote: I am getting a strange error message when trying to compile HAppS-0.8.4 with ghc-6.4.1always on the same file. [snip] *** Exception: waitForProcess: interrupted (Interrupted

Re: Exception when compiling HAppS

2007-01-07 Thread Dimitry Golubovsky
Hi, On 1/7/07, Kirsten Chevalier [EMAIL PROTECTED] wrote: By way of figuring out which system call is getting interrupted, can you run your runghc command with strace, like so: bash$ strace [whatever you were typing to build happs before] and paste the last couple of lines of strace's output?

Compiling 6.6 repos on Mac OS X

2007-01-03 Thread C.M.Brown
: (Each undeclared identifier is reported only once Linker.c:1383:0: error: for each function it appears in.) make[1]: *** [Linker.o] Error 1 make: *** [stage1] Error 1 I am compiling this with ghc-6.6 (the latest version from darcs) and gcc 4.0. Kind regards, Chris

Re: [GHC] #477: Compiling multiple executables with -make

2006-10-20 Thread GHC
#477: Compiling multiple executables with -make -+-- Reporter: supermule| Owner: nobody Type: feature request | Status: assigned Priority: normal | Milestone

Re: [GHC] #733: Problem compiling .lhs files with lines that begin with #

2006-10-20 Thread GHC
#733: Problem compiling .lhs files with lines that begin with # --+- Reporter: guest | Owner: Type: bug | Status: new Priority: low | Milestone: _|_ Component

RE: Compiling GHC disabling the type checker

2006-10-16 Thread Simon Peyton-Jones
| How does GHC react to a really large number of unsafeCoerce's? Is this | likely to destroy performance? Has anything like this been done | before? I know that LML was able to turn off the type checker, but I | guess GHC doesn't have such an option, because of its typed Core | language. I've

Re: Compiling GHC disabling the type checker

2006-10-16 Thread Simon Marlow
Neil Mitchell wrote: I would like to write a translator which takes a Haskell-like language to GHC compilable Haskell. This Haskell-like language is not explicitly typed, and cannot have types inferred for it (rank 2 types may exist etc), however it is known that the program will not crash with

Re: Compiling GHC disabling the type checker

2006-10-16 Thread roconnor
On Mon, 16 Oct 2006, Simon Marlow wrote: There's one restriction that I know of: you should be careful not to cast a function value to a non-function type (except a polymorphic type), because the two have incompatible representations when it comes to seq and case. And of course, you should

Re: [GHC] #820: problem compiling a file with top level Template Haskell splice

2006-09-28 Thread GHC
#820: problem compiling a file with top level Template Haskell splice ---+ Reporter: guest | Owner: Type: bug | Status: new Priority: normal

Re: [GHC] #820: problem compiling a file with top level Template Haskell splice

2006-09-28 Thread GHC
#820: problem compiling a file with top level Template Haskell splice ---+ Reporter: guest | Owner: Type: bug | Status: closed Priority: normal

[Haskell-cafe] 'Compiling' expression graph into Arrows

2006-08-29 Thread Daniel McAllansmith
Hello, I have a graph of function applications which I would like to 'compile' into an Arrow, specifically the SF Arrow from Yampa. I'd appreciate any advice on how I might go about this. The graphs, of which there will be many, will be constructed at runtime and will be executed for

Re[4]: [Haskell-cafe] Compiling To C And Why Not Compiling To Java Or C#?

2006-08-14 Thread Bulat Ziganshin
Hello Kaveh, Sunday, August 6, 2006, 5:40:26 PM, you wrote: I think we need a subset of haskell as a new language (or as a developing pattern) to work with and teach and learn more easily as you have mentioned. it called Helium :) but in general problem is what Haskell's way to deal with

Re: [Haskell-cafe] Compiling To C And Why Not Compiling To Java Or C#?

2006-08-06 Thread Kaveh Shahbazian
I made a mistake : popularity! This was a meaning that described my thoughts at that moment. Let me make it clear by another question : Can someone say perl is popular? If we see it that way, I meant a good and efficient community-based expansion and some good tools to use. how can we decrease

Re: [Haskell-cafe] Compiling To C And Why Not Compiling To Java Or C#?

2006-08-06 Thread Piotr Kalinowski
On 06/08/06, Kaveh Shahbazian [EMAIL PROTECTED] wrote: how can we decrease Haskell popularity? Why? Because someone must prevent mean programmers to try Haskell? Or it is a bit of old holy codex? Or maybe I must feal tired of hearing newbies questions? No, no. He meant a mental exercise. You

Re: [Haskell-cafe] Compiling To C And Why Not Compiling To Java Or C#?

2006-08-06 Thread Kaveh Shahbazian
Then I must apologize again. (Communications and activities are so attractive that I cann't prevent my self from it. One aspect of it is to apologize. :D). Thankyou and Thank you too! ;) ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re[2]: [Haskell-cafe] Compiling To C And Why Not Compiling To Java Or C#?

2006-08-06 Thread Bulat Ziganshin
Hello Kaveh, Sunday, August 6, 2006, 12:54:01 PM, you wrote: how can we decrease Haskell popularity? Why? Because someone must prevent mean programmers to try Haskell? Or it is a bit of old holy codex? Or maybe I must feal tired of hearing newbies questions? all the three and especially

Re: [Haskell-cafe] Compiling To C And Why Not Compiling To Java Or C#?

2006-08-06 Thread Neil Mitchell
Hi Kaveh, Maybe this is not a proper question but I think It has a point. Why Not Compiling To Java Or C#? Yhc does both :) Java as an interpretter for the haskell byte code, C# as a native MSIL generator. We also have Python as well as C, if you're feeling adventurous. Thanks Neil

Re: Re[2]: [Haskell-cafe] Compiling To C And Why Not Compiling To Java Or C#?

2006-08-06 Thread Kaveh Shahbazian
I think we need a subset of haskell as a new language (or as a developing pattern) to work with and teach and learn more easily as you have mentioned. I had read a text about mathematics which was something like this : New mathematic theories does not populize because of their fabiolus logical

[Haskell-cafe] Compiling To C And Why Not Compiling To Java Or C#?

2006-08-05 Thread Kaveh Shahbazian
1 2 - Maybe this is not a proper question but I think It has a point. Why Not Compiling To Java Or C#? What is the need of implementing a class interoperability between Haskell and other plateforms? Maybe we donot need that. Haskell can be the big infrastructure and code snippets in Java or C

Re: [Haskell-cafe] Compiling To C And Why Not Compiling To Java Or C#?

2006-08-05 Thread Kaveh Shahbazian
I do not meant to compile Haskell to MSIL/JVM. I meant to compile Haskell to the Java or C# itself! And GHC will be there for a high performance language (but still O'Caml is better by the time). But Java proves that in enterprise solution, performance is a complex factor of many thing other than

Re: [Haskell-cafe] Compiling To C And Why Not Compiling To Java Or C#?

2006-08-05 Thread Piotr Kalinowski
On 05/08/06, Kaveh Shahbazian [EMAIL PROTECTED] wrote: But there must be a way to populize Haskell! What for? Regards, Piotr Kalinowski -- Intelligence is like a river: the deeper it is, the less noise it makes ___ Haskell-Cafe mailing list

Re[2]: [Haskell-cafe] Compiling To C And Why Not Compiling To Java Or C#?

2006-08-05 Thread Bulat Ziganshin
Hello Antonio, Saturday, August 5, 2006, 7:07:17 PM, you wrote: But there must be a way to populize Haskell! What for? On the other hand, individuals that need to belong to an elite, and the RTFM crowd, will experience a further frustration to feed their insecure personality. there is

Re[2]: [Haskell-cafe] Compiling To C And Why Not Compiling To Java Or C#?

2006-08-05 Thread Bulat Ziganshin
Hello Kaveh, Saturday, August 5, 2006, 11:52:16 AM, you wrote: I do not meant to compile Haskell to MSIL/JVM. I meant to compile Haskell to the Java or C# itself! for what? btw, there is a jhc compiler (http://repetae.net/john/) that translates Haskell to ANSI C which allows to reach

Re: [Haskell-cafe] Compiling To C And Why Not Compiling To Java Or C#?

2006-08-05 Thread Piotr Kalinowski
On 05/08/06, Antonio Cangiano [EMAIL PROTECTED] wrote: Because we are humans and as such, we generally love to share our passions with other people. From a less sociological standpoint, a larger user base implies faster development of interesting projects, more libraries, books, user groups,

Re: [Haskell-cafe] Compiling To C And Why Not Compiling To Java Or C#?

2006-08-05 Thread Antonio Cangiano
On 8/5/06, Piotr Kalinowski [EMAIL PROTECTED] wrote: Yes, yes. I'm simply not sure if making changes only to reach more and more people is good.These changes are good as long as they possibly add something valuable beside popularity and they don't introduce significant downsides. My point was that

Re: [GHC] #820: problem compiling a file with top level Template Haskell splice

2006-08-02 Thread GHC
#820: problem compiling a file with top level Template Haskell splice ---+ Reporter: guest | Owner: Type: bug | Status: new Priority: normal

.h files not found when compiling via C

2006-08-01 Thread Volker Wysk
Hello When compiling a module, which contains foreign import directives, via C, the C compiler needs to be passed a -I. argument, otherwise the include file mentioned there won't be found. You can do this manually with an -I. argument to ghc (after you figure it out), but since this is always

Re: .h files not found when compiling via C

2006-08-01 Thread Duncan Coutts
On Sun, 2006-07-23 at 18:09 +0200, Volker Wysk wrote: Hello When compiling a module, which contains foreign import directives, via C, the C compiler needs to be passed a -I. argument, otherwise the include file mentioned there won't be found. You can do this manually with an -I

Reviving wxHaskell (was: Re: [wxhaskell-users] [Haskell-cafe] Trouble compiling wxhaskell)

2006-08-01 Thread Jeremy O'Donoghue
time to save wxHaskell from permanent bit-rot. If there's enough interest, I'll push ahead with trying to organize this. RegardsJeremyOn 01/08/06, shelarcy [EMAIL PROTECTED] wrote: On 7/31/06, David F. Place [EMAIL PROTECTED] wrote: Hi: I'm having trouble compiling wxhaskell 0.9.4 under both ghc

Re: [Haskell-cafe] Trouble compiling wxhaskell

2006-08-01 Thread Jinwoo Lee
Hi, You can post wxHaskell related questions to the wxHaskell mailing list ([EMAIL PROTECTED]). I had problems when compiling wxhaskell 0.9.4 using wxWidgets 2.6.3. And I found out that in wxWidgets 2.6.3, some DB-related field names have changed: columnSize -- columnLength bufferLength

[Haskell-cafe] Trouble compiling wxhaskell

2006-07-31 Thread David F. Place
Hi: I'm having trouble compiling wxhaskell 0.9.4 under both ghc 6.4.2 and ghc 6.5. Does anyone know where I should direct my queries? Thanks. David F. Place mailto:[EMAIL PROTECTED] ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] Trouble compiling wxhaskell

2006-07-31 Thread Jason Dagit
I've done this recently. I put my notes on the wiki: http://www.haskell.org/haskellwiki/WxHaskell/Install#Windows Do you have a particular error message? Jason On 7/31/06, David F. Place [EMAIL PROTECTED] wrote: Hi: I'm having trouble compiling wxhaskell 0.9.4 under both ghc 6.4.2 and ghc

Re: [Haskell-cafe] Trouble compiling wxhaskell

2006-07-31 Thread Jared Updike
, Jason Dagit [EMAIL PROTECTED] wrote: I've done this recently. I put my notes on the wiki: http://www.haskell.org/haskellwiki/WxHaskell/Install#Windows Do you have a particular error message? Jason On 7/31/06, David F. Place [EMAIL PROTECTED] wrote: Hi: I'm having trouble compiling wxhaskell

Re: [Haskell-cafe] Trouble compiling wxhaskell

2006-07-31 Thread Duncan Coutts
On Mon, 2006-07-31 at 19:11 -0400, David F. Place wrote: Hi: I'm having trouble compiling wxhaskell 0.9.4 under both ghc 6.4.2 and ghc 6.5. Does anyone know where I should direct my queries? Assuming you're using wxHaskell on linux with wxGTK then the usual problem with compiling

Re: [Haskell-cafe] Trouble compiling wxhaskell

2006-07-31 Thread shelarcy
On 7/31/06, David F. Place [EMAIL PROTECTED] wrote: Hi: I'm having trouble compiling wxhaskell 0.9.4 under both ghc 6.4.2 and ghc 6.5. Does anyone know where I should direct my queries? If you use ghc 6,4,2 under Windows platform, you can use my patched version of wxHaskell. And you can

Re: [GHC] #834: bogus gcc option used when compiling ghc-6.4.2

2006-07-25 Thread GHC
#834: bogus gcc option used when compiling ghc-6.4.2 -+-- Reporter: [EMAIL PROTECTED] | Owner: Type: bug | Status: closed Priority: normal

[GHC] #834: bogus gcc option used when compiling ghc-6.4.2

2006-07-24 Thread GHC
#834: bogus gcc option used when compiling ghc-6.4.2 ---+ Reporter: [EMAIL PROTECTED] |Owner: Type: bug | Status: new Priority: normal

Re: [GHC] #820: problem compiling a file with top level Template Haskell splice

2006-07-20 Thread GHC
#820: problem compiling a file with top level Template Haskell splice ---+ Reporter: guest | Owner: Type: bug | Status: new Priority: normal

[Haskell-cafe] Re: Compiling ghc for using STM

2006-07-20 Thread Simon Marlow
Duncan Coutts wrote: I believe that the smp flavour of the RTS is now built by default and so all you need to do is use it when linking a program: ghc-6.5 -smp Foo.hs -o foo Yes, although -smp is now the same as -threaded, so for simplicity we'll stop referring to -smp and just use

Re: [Haskell-cafe] Compiling ghc for using STM

2006-07-17 Thread Bulat Ziganshin
Hello Asfand, Monday, July 17, 2006, 7:31:23 PM, you wrote: I finally got my spiffy dual-core processor (an Opteron 165 no-less) and want to learn STM, since I think it and haskell are the future of concurrent programming. How do I compile Haskell to be able learn STM on it, using proper

Re: [Haskell-cafe] Compiling ghc for using STM

2006-07-17 Thread Duncan Coutts
On Mon, 2006-07-17 at 18:29 +0100, Asfand Yar Qazi wrote: On 7/17/06, Bulat Ziganshin [EMAIL PROTECTED] wrote: if you want to really use 2 processors, you should use ghc 6.5, which is still in beta stage. ghc 6.4 executes all the Haskell code on one processor (to be exact, at each moment

Re: [GHC] #811: GHC panics when compiling some mutually recursive modules that export something imported

2006-07-07 Thread GHC
#811: GHC panics when compiling some mutually recursive modules that export something imported ---+ Reporter: guest | Owner: Type: bug | Status: closed Priority: normal

[GHC] #820: problem compiling a file with top level Template Haskell splice

2006-07-07 Thread GHC
#820: problem compiling a file with top level Template Haskell splice -+-- Reporter: guest |Owner: Type: bug | Status: new Priority: normal

Re: [GHC] #820: problem compiling a file with top level Template Haskell splice

2006-07-07 Thread GHC
#820: problem compiling a file with top level Template Haskell splice ---+ Reporter: guest | Owner: Type: bug | Status: new Priority: normal

Re: [GHC] #811: GHC panics when compiling some mutually recursive modules that export something imported

2006-07-05 Thread GHC
#811: GHC panics when compiling some mutually recursive modules that export something imported ---+ Reporter: guest | Owner: Type: bug | Status: new Priority: normal

Re: [GHC] #809: SplitObjs option doesn't work when compiling ghc with gcc 4.x

2006-07-04 Thread GHC
#809: SplitObjs option doesn't work when compiling ghc with gcc 4.x +--- Reporter: guest | Owner: Type: bug| Status: new Priority: high | Milestone

Re: [GHC] #809: SplitObjs option doesn't work when compiling ghc with gcc 4.x

2006-07-04 Thread GHC
#809: SplitObjs option doesn't work when compiling ghc with gcc 4.x +--- Reporter: guest | Owner: Type: bug| Status: closed Priority: high | Milestone

[GHC] #811: GHC panics when compiling some mutually recursive modules that export something imported

2006-07-04 Thread GHC
#811: GHC panics when compiling some mutually recursive modules that export something imported -+-- Reporter: guest |Owner: Type: bug | Status: new Priority: normal

Re: [GHC] #811: GHC panics when compiling some mutually recursive modules that export something imported

2006-07-04 Thread GHC
#811: GHC panics when compiling some mutually recursive modules that export something imported ---+ Reporter: guest | Owner: Type: bug | Status: new Priority: normal

[GHC] #809: SplitObjs option doesn't work when compiling ghc with gcc 4.x

2006-07-03 Thread GHC
#809: SplitObjs option doesn't work when compiling ghc with gcc 4.x -+-- Reporter: guest |Owner: Type: bug | Status: new Priority: high |Milestone

Re: [GHC] #809: SplitObjs option doesn't work when compiling ghc with gcc 4.x

2006-07-03 Thread GHC
#809: SplitObjs option doesn't work when compiling ghc with gcc 4.x +--- Reporter: guest | Owner: Type: bug| Status: new Priority: high | Milestone

Re: Compiling with -threaded under Solaris 10

2006-06-26 Thread Christian Maeder
Florian Lorenzen schrieb: I'm trying to run the following program on Solaris 10 with GHC 6.4.1 (6.4.2 does not really work under Solaris 10 right now). What did you try out with ghc-6.4.2? ghc-6.4.2 does not work _because_ of -threaded. And this inability certainly applies to ghc-6.4.1 as well.

Re: Compiling with -threaded under Solaris 10

2006-06-26 Thread Christian Maeder
Christian Maeder schrieb: Your example works for me. It seemed to work for me even for ghc-6.4.1 (on a sparc)! -bash-3.00$ ./try this is a test -bash-3.00$ ./try try: waitForProcess: interrupted (Interrupted system call) Several times trying using ghc-6.4.2 also revealed errors: -bash-3.00$

Re: [GHC] #783: performance problem compiling large file

2006-06-06 Thread GHC
#783: performance problem compiling large file ---+ Reporter: guest | Owner: Type: bug | Status: new Priority: normal| Milestone: Component: Compiler

compiling from source - error

2006-05-31 Thread Johan Meskens CS3 jmcs3
==fptools== make all - --no-print-directory -r; in /home/jmcs3/Desktop/ghc-6.4.2.20060524/ghc/utils/hsc2hs /usr/bin/ghc -H16m -O -i../../lib/compat -ignore-package Cabal -Rghc-timing -Wal l-c Main.hs -o Main.o -ohi

Re: compiling from source - error

2006-05-31 Thread Simon Marlow
If this error is not repeatable, then it is likely a hardware glitch. If it is repeatable, can you give us more information: - what platform is this? - where did you get your 6.4.1 distribution? Cheers, Simon Johan Meskens CS3 jmcs3 wrote: ==fptools== make all -

Problems compiling

2006-05-18 Thread Nuno Santos
Hi, I'm very lame in Haskell and compiling is very new to me. I have this problem when compilng a program that runs without error: MACKIE:/Volumes/DADOS/LESI/4 Ano/SSDI lpx$ ghc polish.hs compilation IS NOT required /usr/bin/ld: Undefined symbols: _ZCMain_main_closure ___stginit_ZCMain

Re: Problems compiling

2006-05-18 Thread Christopher Brown
you could try ghc --make polish.hs Chris. On 18 May 2006, at 13:33, Nuno Santos wrote: Hi, I'm very lame in Haskell and compiling is very new to me. I have this problem when compilng a program that runs without error: MACKIE:/Volumes/DADOS/LESI/4 Ano/SSDI lpx$ ghc polish.hs compilation

Re: Problems compiling

2006-05-18 Thread Nuno Santos
of. What i'm doing wrong? Or not doing at all? Many thx Nuno Christopher Brown wrote: you could try ghc --make polish.hs Chris. On 18 May 2006, at 13:33, Nuno Santos wrote: Hi, I'm very lame in Haskell and compiling is very new to me. I have this problem when compilng a program

Re: Problems compiling

2006-05-18 Thread Christian Maeder
Nuno Santos wrote: Thx for the reply. Yes it work withtou problems, but when i try to execute the .o it says no permissions. The executable is called a.out (under unix) I also tried to do ghc -o polish polish.o It gives me then the error i was complaing of. then ghc --make -o polish

Re: Problems compiling

2006-05-18 Thread Christopher Brown
wrong? Or not doing at all? Many thx Nuno Christopher Brown wrote: you could try ghc --make polish.hs Chris. On 18 May 2006, at 13:33, Nuno Santos wrote: Hi, I'm very lame in Haskell and compiling is very new to me. I have this problem when compilng a program that runs without error

Re: [GHC] #758: Error compiling darcs on Mac OS X

2006-05-01 Thread GHC
#758: Error compiling darcs on Mac OS X -+-- Reporter: [EMAIL PROTECTED] | Owner: Type: bug | Status: new Priority: normal

[GHC] #758: Error compiling darcs on Mac OS X

2006-04-30 Thread GHC
#758: Error compiling darcs on Mac OS X ---+ Reporter: [EMAIL PROTECTED] |Owner: Type: bug | Status: new Priority: normal

error compiling ghc 6.5 head

2006-04-19 Thread David Roundy
I got the darcs latest version of ghc, and am getting the following compile error, which I suspect is related to the recent directory reordering: /usr/bin/ghc -H16m -O -istage1/utils -istage1/basicTypes -istage1/types -istage1/hsSyn -istage1/prelude -istage1/rename -istage1/typecheck

Re: [GHC] #733: Problem compiling .lhs files with lines that begin with #

2006-03-23 Thread GHC
#733: Problem compiling .lhs files with lines that begin with # ---+ Reporter: guest | Owner: Type: bug | Status: new Priority: low | Milestone

[GHC] #733: Problem compiling .lhs files with lines that begin with #

2006-03-22 Thread GHC
#733: Problem compiling .lhs files with lines that begin with # -+-- Reporter: guest |Owner: Type: bug | Status: new Priority: normal|Milestone

Re: [Haskell] Problems compiling hs-plugins

2006-03-05 Thread Duncan Coutts
Hi Ben, Yes, I did what dons recommended and copied the Typeable.h from ghc-6.4.1 to make it compile with ghc-6.5, however in the end I couldn't get all the hIDE plugins to load with hs-plugins anyway (even though they would all load in ghci). So what I did in the end is to do a static build of

Re: [Haskell] Problems compiling hs-plugins

2006-03-05 Thread Lemmih
On 3/5/06, Duncan Coutts [EMAIL PROTECTED] wrote: Hi Ben, Yes, I did what dons recommended and copied the Typeable.h from ghc-6.4.1 to make it compile with ghc-6.5, however in the end I couldn't get all the hIDE plugins to load with hs-plugins anyway (even though they would all load in

Re: [Haskell] Problems compiling hs-plugins

2006-03-05 Thread Duncan Coutts
On Sun, 2006-03-05 at 13:35 +0100, Lemmih wrote: On 3/5/06, Duncan Coutts [EMAIL PROTECTED] wrote: Hi Ben, Yes, I did what dons recommended and copied the Typeable.h from ghc-6.4.1 to make it compile with ghc-6.5, however in the end I couldn't get all the hIDE plugins to load with

Re: [Haskell] Problems compiling hs-plugins

2006-03-04 Thread Benjamin Franksen
On Saturday 04 March 2006 03:32, you wrote: benjamin.franksen: [...] INSTANCE_TYPEABLE1([],listTc,[]) However, I could not find any definition for these macros. Nor does the package docs mention what to install in order to get them. [...] This Typeable macro issue is due to the

[Haskell] Problems compiling hs-plugins

2006-03-03 Thread Benjamin Franksen
,System.Plugins.Parser,System.Plugins.Process,System.Plugins.Utils [ 1 of 24] Compiling AltData.Typeable ( src/AltData/Typeable.hs, dist/build/AltData/Typeable.o ) src/AltData/Typeable.hs:452:0: parse error (possibly incorrect indentation) Looking at the source reveals that src/AltData

Re: [Haskell] Problems compiling hs-plugins

2006-03-03 Thread Donald Bruce Stewart
,System.Plugins.ParsePkgConfCabal,System.Plugins.Parser,System.Plugins.Process,System.Plugins.Utils [ 1 of 24] Compiling AltData.Typeable ( src/AltData/Typeable.hs, dist/build/AltData/Typeable.o ) src/AltData/Typeable.hs:452:0: parse error (possibly incorrect indentation) Looking

[Haskell-cafe] Shapes Compiling Error

2006-02-19 Thread Chatzianastassiou Achilleas
Hi everybody, I have written some code for several shapes, and i get a compiling error: parse error on input `:' though I can't find where the error is... data Shape = Ellipse Radius Radius | Polygon [Vertex] deriving Show type Radius = Float type Vertex

Re: [Haskell-cafe] Shapes Compiling Error

2006-02-19 Thread Daniel Fischer
Hi, Am Sonntag, 19. Februar 2006 22:57 schrieb Chatzianastassiou Achilleas: Hi everybody, I have written some code for several shapes, and i get a compiling error: parse error on input `:' though I can't find where the error is... [snip code] ever heard of the layout-rule? You must

Re: [Haskell-cafe] Shapes Compiling Error

2006-02-19 Thread Cale Gibbard
. GHC/GHCi/hugs should be telling you also what line the error happens on, which should be a good clue here :) - Cale On 19/02/06, Chatzianastassiou Achilleas [EMAIL PROTECTED] wrote: Hi everybody, I have written some code for several shapes, and i get a compiling error: parse error

Re: [Haskell-cafe] Shapes Compiling Error

2006-02-19 Thread Chatzianastassiou Achilleas
Thanks everybody, I think it was the layout thing that I misstyped plus the area (RtTriangle s1 s1) = s1 *s2 /2 (silly me!) Skag55 _ Don’t just search. Find. Check out the new MSN Search!

[Haskell-cafe] Compiling hdirect on windows with COM support

2006-02-05 Thread Marc Weber
from cygwin. I've used ghc-6.4.1 from Win Installer confirm Be sure to have your ghc in win PATH environment variable, else everything will work till compiling hdirect ;-) if you can run ghc.exe from cygwin shell everything should be fine. [ -d $WORKDIR ] || mkdir $WORKDIR || die couldn't

[Haskell-cafe] compiling lazy functional languages

2006-01-18 Thread Sam Goldman
Sorry if this is too off-topic for this list. I'm a hobbyist programmer and I've recently become interested in lazy functional languages, particularly the optimization strategies available to them during compilation. I've been playing around with Haskell for about a year and it has been an

Re: [Haskell-cafe] compiling lazy functional languages

2006-01-18 Thread Sebastian Sylvan
On 1/18/06, Sam Goldman [EMAIL PROTECTED] wrote: Sorry if this is too off-topic for this list. I'm a hobbyist programmer and I've recently become interested in lazy functional languages, particularly the optimization strategies available to them during compilation. I've been playing around

Re: [Haskell-cafe] compiling lazy functional languages

2006-01-18 Thread Bernard Pope
On Wed, 2006-01-18 at 13:38 -0500, Sam Goldman wrote: Sorry if this is too off-topic for this list. I'm a hobbyist programmer and I've recently become interested in lazy functional languages, particularly the optimization strategies available to them during compilation. I've been playing

Re: bug documentation [was: Re: problem compiling with profiling]

2006-01-13 Thread Simon Marlow
Frederik Eaton wrote: Template Haskell doesn't work with profiling, I'm afraid (for the same reason that you can't load profiled object code into GHCi). I thought we had an open bug on this, but I couldn't find one, so I just created one: http://cvs.haskell.org/trac/ghc/ticket/651 Writing a

Re: bug documentation [was: Re: problem compiling with profiling]

2006-01-13 Thread Simon Marlow
Simon Marlow wrote: For now, this query gets you all the bugs in 6.4.1, open or closed: http://cvs.haskell.org/trac/ghc/query?status=newstatus=assignedstatus=reopenedstatus=closedversion=6.4.1order=priority A slightly better URL:

Re: problem compiling with profiling

2006-01-12 Thread Simon Marlow
Frederik Eaton wrote: When I compile my code with profiling turned on, I get an unknown symbol error which is not present during a normal compilation. Frederik $ rm -f *.o $ ghc -fignore-asserts -fth --make vec-test-1.hs -o vec-test-1 Chasing modules from: vec-test-1.hs Compiling Fu.Prepose

[Haskell-cafe] Help compiling School of Expression graphics library?

2006-01-11 Thread Rakesh Malik
I'm trying to build the GraphicsLib code in Linux, Fedora. I have the March '05 version of Hugs installed (and ghc, but that doesn't seem to be relevant to this). The first bit of puzzlement comes from the error messages I'm getting: ffihugs +G +LX_stub_ffi.c X.hs Warning: unknown toggle `G';

Re: [Haskell-cafe] Help compiling School of Expression graphics library?

2006-01-11 Thread Jared Updike
Someone else had this problem, I think. http://www.mail-archive.com/haskell-cafe@haskell.org/msg11358.html Jared. On 1/11/06, Rakesh Malik [EMAIL PROTECTED] wrote: I'm trying to build the GraphicsLib code in Linux, Fedora. I have the March '05 version of Hugs installed (and ghc, but that

Re: [Haskell-cafe] Help compiling School of Expression graphics library?

2006-01-11 Thread Ross Paterson
On Wed, Jan 11, 2006 at 11:25:42AM -0500, Rakesh Malik wrote: I'm trying to build the GraphicsLib code in Linux, Fedora. I have the March '05 version of Hugs installed (and ghc, but that doesn't seem to be relevant to this). The graphics library should be included with Hugs: the module is

Re: [Haskell-cafe] Help compiling School of Expression graphics library?

2006-01-11 Thread Rakesh Malik
Indeed it is! Thanks, both of you, for the quick responses. On 1/11/06, Ross Paterson [EMAIL PROTECTED] wrote: On Wed, Jan 11, 2006 at 11:25:42AM -0500, Rakesh Malik wrote: I'm trying to build the GraphicsLib code in Linux, Fedora. I have the March '05 version of Hugs installed (and ghc,

Re: [Haskell-cafe] Re: OpenAL bindings / compiling ghc 6.5

2005-12-31 Thread Michael Benfield
can't get GHC's configure script to detect my OpenAL installation. I used OpenAL's binary OS X installer to install OpenAL as a framework. The GHC configure script doesn't see it. I tried just downloading the code for OpenAL and compiling it so that I could install it in the normal Unixy way

[Haskell-cafe] Re: OpenAL bindings / compiling ghc 6.5

2005-12-29 Thread Simon Marlow
Michael Benfield wrote: I see here: http://www.haskell.org/HOpenGL/newAPI/ OpenAL bindings listed as part of the Hierachical Libraries. And when I download the source to a development snapshot of GHC, there they are. Is there a way to install this on GHC 6.4? Alternatively... I can't get

[Haskell-cafe] OpenAL bindings / compiling ghc 6.5

2005-12-28 Thread Michael Benfield
I see here: http://www.haskell.org/HOpenGL/newAPI/ OpenAL bindings listed as part of the Hierachical Libraries. And when I download the source to a development snapshot of GHC, there they are. Is there a way to install this on GHC 6.4? Alternatively... I can't get GHC 6.5 to compile. I do

Re: [Haskell-cafe] OpenAL bindings / compiling ghc 6.5

2005-12-28 Thread Joel Reymont
Mike, I think you should post to cvs-ghc. I was able to get things to compile (almost) on 10.4.3 but had to configure with --disable-alut -- disable-openal, etc. Joel On Dec 28, 2005, at 3:15 PM, Michael Benfield wrote: I see here: http://www.haskell.org/HOpenGL/newAPI/ OpenAL

<    5   6   7   8   9   10   11   12   13   14   >