I'm trying to understand the semantics and implementation of bound
threads
basing on the conc-ffi paper and others.
Since the main thread is bound, and unbound threads are never executed
on an OS thread which has some Haskell thread bound, this would imply
that when the main thread spawns a Haske
Sorry if this is a duplicate...
I fixed that problem, thanks. However, I now have another one:
/tmp/ghc6277.s:54636:Fixup of 71208 too large for field width of 16 bits
/tmp/ghc6277.s:54634:Fixup of 71216 too large for field width of 16 bits
<>
make[2]: *** [stage1/prelude/PrimOp.o] Error 1
make[
Thanks, that worked. I had version 3.79. I'm now using version 3.80 from
ftp.gnu.org.
However, I've picked up a new error:
/tmp/ghc6277.s:54636:Fixup of 71208 too large for field width of 16 bits
/tmp/ghc6277.s:54634:Fixup of 71216 too large for field width of 16 bits
<>
make[2]: *** [stage1/pr
I had this happen to me a few weeks ago; the fix was to upgrade make
using fink. Right now I have v.3.79.1; which version do you have?
-Judah
On Fri, 25 Feb 2005 16:51:58 -0600, Arjun Guha <[EMAIL PROTECTED]> wrote:
> I'm having trouble compiling GHC from CVS. Make seems to be looping
> infini
I'm having trouble compiling GHC from CVS. Make seems to be looping
infinitely while compiling the stage1 compiler. Make -d gives me:
Pruning file 'main/Config.hs'
On and on and on.
The commands I used to make (from the fptools) directory were:
autoreconf
./configure --prefix=/Users/arjun/loc
Hi,
The hugs98-20041101 snapshot builds without trouble on OS X 10.3.8.
(It's the one I use in darwinports for hugs98-devel). Our standard DP
hugs98
is still the Nov2002 version, since I was never able to get the Nov2003
release
to build properly.
(If your not familiar with darwinports, see
ht
Arthur Baars wrote:
See the hugs-bugs archive:
http://www.mail-archive.com/hugs-bugs@haskell.org/msg02815.html
Malcolm Wallace wrote:
The configure script is (wrongly) determining that the MacOS X C
compiler does not support Floats/Doubles. Ideally, the autoconf magic
which determined this setting
I'm trying to understand the semantics and implementation of bound threads
basing on the conc-ffi paper and others.
Since the main thread is bound, and unbound threads are never executed
on an OS thread which has some Haskell thread bound, this would imply
that when the main thread spawns a Haskel
John Goerzen <[EMAIL PROTECTED]> writes:
> On Fri, Feb 25, 2005 at 04:15:55PM +0100, Matthias Neubauer wrote:
>> standardQuery "Input Page" $ table $ do
>> do tr $ td $ text "Hello!"
>>h <- inputCode
>>tr $ td $ text "Press the button!"
>>tr $ td $ submitCode h nextP
Currently, the HAppS.DBMS lib requires the user to provide a Show
instance for their table types. An example might be:
instance (Show item) => Show (MyTable item) where
showsPrec d table = showsPrec d $ Set.toList $ myTableSet table
But the Table class itself defines a toSet function s
On Fri, Feb 25, 2005 at 04:15:55PM +0100, Matthias Neubauer wrote:
> standardQuery "Input Page" $ table $ do
> do tr $ td $ text "Hello!"
>h <- inputCode
>tr $ td $ text "Press the button!"
>tr $ td $ submitCode h nextPage
I like the idea, but...
doesn't this still
See the hugs-bugs archive:
http://www.mail-archive.com/hugs-bugs@haskell.org/msg02815.html
Malcolm Wallace wrote:
The configure script is (wrongly) determining that the MacOS X C
compiler does not support Floats/Doubles. Ideally, the autoconf magic
which determined this setting should be fixed, bu
John Goerzen <[EMAIL PROTECTED]> writes:
> Possible, but ugly. I have about 50 lines of code that has to go
> in-between, so I'd be duplicating it. And, if I tried to make it into
> just another function, I'd have the same problem, I believe (scoping)
It's all much easier: as always, you just h
I'm sure this must be a FAQ, but I can't make install hugs98-Nov2003 on
MacOS 10.3.8. The error message I get is:
...
gcc -c -g -O2 machine.c
machine.c:1649: illegal expression, found `&&'
machine.c:1649: illegal expression, found `&&'
machine.c:1649: illegal expression, found `&&'
machine.c:164
> From: Edwin Eyan Moragas [mailto:[EMAIL PROTECTED]
>
> [EMAIL PROTECTED] $ ghc -o test -L/usr/local/pgsql/lib/ -lpg Main.hs
> compilation IS NOT required
> /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-s
> lackware-linux/bin/ld:
> cannot find -lpg
> collect2: ld returned 1 exit
On Fri, 25 Feb 2005 22:38:32 +0800, Edwin Eyan Moragas <[EMAIL PROTECTED]>
wrote:
> On Fri, 25 Feb 2005 14:25:21 -, Bayley, Alistair
> <[EMAIL PROTECTED]> wrote:
> > Do you not also need the -l option?
> > e.g. (wild guess, assuming library is libpg.so)
> >
> > > $ ghc -o test -L/usr/local/pgs
On Fri, 25 Feb 2005 14:25:21 -, Bayley, Alistair
<[EMAIL PROTECTED]> wrote:
> Do you not also need the -l option?
> e.g. (wild guess, assuming library is libpg.so)
>
> > $ ghc -o test -L/usr/local/pgsql/lib -lpg Main.hs
>
[EMAIL PROTECTED] $ ghc -o test -L/usr/local/pgsql/lib/ -lpg Main.hs
On Fri, 25 Feb 2005 15:22:28 +0100, Lemmih <[EMAIL PROTECTED]> wrote:
> On Fri, 25 Feb 2005 22:15:02 +0800, Edwin Eyan Moragas <[EMAIL PROTECTED]>
> wrote:
>
> Including header files isn't enough, you have to link with the libraries too.
> And have you seen HSQL? It already provides a postgresql
> From: Edwin Eyan Moragas [mailto:[EMAIL PROTECTED]
>
> -compiled Main.hsc with:
> $ hsc2hs -I/usr/local/pgsql/include Main.hsc
> all went well with this
>
> - tried compiling this way:
> $ ghc -o test -L/usr/local/pgsql/lib Main.hs
Do you not also need the -l option?
e.g. (wild guess, assumi
On Fri, 25 Feb 2005 22:15:02 +0800, Edwin Eyan Moragas <[EMAIL PROTECTED]>
wrote:
> Hi guys,
>
> been spending some time compiling my app but nothing seems to work.
>
> here's the picture:
> - created a Main.hsc which include some external libs.
>
> - included this pragma is Main.hsc
> {-# OPTI
Hi guys,
been spending some time compiling my app but nothing seems to work.
here's the picture:
- created a Main.hsc which include some external libs.
- included this pragma is Main.hsc
{-# OPTIONS -fglasgow-exts #-}
-compiled Main.hsc with:
$ hsc2hs -I/usr/local/pgsql/include Main.hsc
all we
21 matches
Mail list logo