On Thu, Oct 25, 2001 at 04:45:13PM -0700, Ashley Yakeley wrote:
> >I'm not sure this would be so good when you want to have two versions of ghc
> >installed on the same machine...
>
> Currently the Debian ghc5 package installs links such as /usr/bin/ghc
> using the 'alternatives' system. You'd j
At 2001-10-25 03:18, Ashley Yakeley wrote:
>>I've wondered at various times in the past whether there ought to be a
>>link from /usr/local/includes/ghc to /usr/local/lib/ghc-5.02/includes.
>
>Won't help, my GHC is installed at /usr/lib/ghc-5.02/, exactly where the
>Debian package put it.
Actual
* Denver <[EMAIL PROTECTED]> [2001-10-26T01:25+1000]:
>
>Please help. I would like to use HOpenGL within Windows, so I wanted
>to ask whether it was possible, and if it is, I would like to request
>for help. Any help greatly appreciated.
Hi!
I'm sorry, I don't know much about the
Has anyone used the Socket library to read files specified via an http
and/or ftp URL?
--
Colin Paul Adams
Preston Lancashire
___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Thu, 25 Oct 2001 12:06:53 +0200 (CEST), Michael Marte
<[EMAIL PROTECTED]> pisze:
> I found that decompress hangs if data ends prematurely, i.e.
>
> do
> content <- readFile fp
> doSomething (Bzip2.decompress content)
>
> does not terminate in this case.
Try this patch (sorry
On Thu, Oct 25, 2001 at 11:01:42AM +0100, Simon Marlow wrote:
> I've wondered at various times in the past whether there ought to be a
> link from /usr/local/includes/ghc to /usr/local/lib/ghc-5.02/includes.
I'm not sure this would be so good when you want to have two versions of ghc
installed on
On Thu, Oct 25, 2001 at 03:18:33 -0700, Ashley Yakeley wrote:
> At 2001-10-25 03:01, Simon Marlow wrote:
>
> >I've wondered at various times in the past whether there ought to be a
> >link from /usr/local/includes/ghc to /usr/local/lib/ghc-5.02/includes.
>
> Won't help, my GHC is installed at /u
Denver writes:
> I would like to request help concerning the installation of ghc to
> cygwin. I have tried the websites, and they didn't work, as it
> didn't let me compile.
What's the problem? Have you followed all the instructions? If so, can
you provide a sample of what's going wrong when you
I would like to request help concerning the installation of
ghc to cygwin. I have tried the websites, and they didn't work, as it
didn't let me compile.
Thank you
> Is there an easy way to get 'ghc' or one of the other binaries to tell me
> where the GHC installation directory is? I want to put the includes
> directory in a gcc -I flag in my makefile.
For ghc >= 5.00, but not on Windows:
#!/bin/sh
GHCDIR=`grep '^libdir' ${whichGHC} | head -1 | s
> On Thu, 2001-10-25 at 12:04, Simon Marlow wrote:
>
> >
> > The version in /opt/ghc/lib/ghc-5.02 should work, as should
> /usr/local/lib/libgmp.so.3.1.1. The version in /usr/lib
> looks like GMP 2, so that would cause the link errors.
> >
> > Make sure the link command line doesn't have -L/
On Thu, 2001-10-25 at 12:04, Simon Marlow wrote:
>
> The version in /opt/ghc/lib/ghc-5.02 should work, as should
>/usr/local/lib/libgmp.so.3.1.1. The version in /usr/lib looks like GMP 2, so that
>would cause the link errors.
>
> Make sure the link command line doesn't have -L/usr/lib on it,
> >This might work, but no guarantees.
>
> OK, so I'd be better off making sure all Haskell runs in one
> OS-thread.
My concerns still apply - non-thread-friendly library calls may mean
that GHC's RTS interacts badly with the rest of your threaded program.
> Although presumably I can use Haske
> At 2001-10-25 03:01, Simon Marlow wrote:
>
> >I've wondered at various times in the past whether there
> ought to be a
> >link from /usr/local/includes/ghc to
> /usr/local/lib/ghc-5.02/includes.
>
> Won't help, my GHC is installed at /usr/lib/ghc-5.02/,
> exactly where the
> Debian package
Andre W B Furtado writes:
> I was trying to compile a .hs file with the profiling option enabled
> (-prof -auto-all) but I got an error message:
>
> /usr/bin/ld: cannot find -lHSstd_p_imp
> collect2: ld returned 1 exit status
>
> Does anyone know what is this "-lHSstd_p_imp"? I am using GHC-4.08
At 2001-10-25 03:12, Simon Marlow wrote:
>This might work, but no guarantees.
OK, so I'd be better off making sure all Haskell runs in one OS-thread.
Although presumably I can use Haskell-threads: I can have a special
Haskell-thread that handled a queue of incoming execution requests,
firing
Leon Smith wrote:
[snip]
> If GHC had true existential typing, as opposed to just existential datatypes,
> you could reasonably code what I think you want like this:
>
> class A a where
> basicA :: Bool
> nextA :: a -> (EX a'. A a' => a')
> basicA = True
> nextA = id
>
> data W
At 2001-10-25 03:01, Simon Marlow wrote:
>I've wondered at various times in the past whether there ought to be a
>link from /usr/local/includes/ghc to /usr/local/lib/ghc-5.02/includes.
Won't help, my GHC is installed at /usr/lib/ghc-5.02/, exactly where the
Debian package put it. And now that l
> >It isn't safe to call foreign exported
> >functions from more that one OS thread simultaneously.
>
> OK, can I call a foreign exported function from some other
> thread while
> the main thread is in 'foreign import' native code? I could
> have calls to
> the foreign exported function block
Hello *,
I found that decompress hangs if data ends prematurely,
i.e.
do
content <- readFile fp
doSomething (Bzip2.decompress content)
does not terminate in this case.
Data that is corrupt in some other way (for example, decompressing
a file that has not been generated w
> When trying to compile the examples in gtk+hs, I get the
> following link
> errors:
> /opt/ghc/lib/ghc-5.02/libHSstd.a(PrelFloat__413.o): In
> function `shP2_2_alt':
> PrelFloat__413.o(.text+0x2b0): undefined reference to `__gmpz_cmp_si'
> etc..
> When linking simple programs, this doesn't oc
> Is there an easy way to get 'ghc' or one of the other
> binaries to tell me
> where the GHC installation directory is? I want to put the includes
> directory in a gcc -I flag in my makefile.
On a Unix platform, the 'ghc' wrapper script contains the installation
directory, which is passed as
In local.glasgow-haskell-users, you wrote:
> Unfortunately, I am currently working on WinNT and would not like to
> go back and install ghc4.08. Is there an easy way to patch this problem
> in my 5.02 installation.
Maybe you're just lacking the Wintendo equivalent of /etc/protocols, but
I don't k
When trying to compile the examples in gtk+hs, I get the following link
errors:
/opt/ghc/lib/ghc-5.02/libHSstd.a(PrelFloat__413.o): In function `shP2_2_alt':
PrelFloat__413.o(.text+0x2b0): undefined reference to `__gmpz_cmp_si'
etc..
When linking simple programs, this doesn't occur.
I have the fol
Is there an easy way to get 'ghc' or one of the other binaries to tell me
where the GHC installation directory is? I want to put the includes
directory in a gcc -I flag in my makefile.
--
Ashley Yakeley, Seattle WA
___
Glasgow-haskell-users mailing
as I have learnt now, there are problems with Sockets and ghc 5.02:
http://haskell.org/pipermail/glasgow-haskell-users/2001-October/001008.html
Unfortunately, I am currently working on WinNT and would not like to
go back and install ghc4.08. Is there an easy way to patch this problem
in my 5.
26 matches
Mail list logo