I've put:
TARGETPLATFORM=i386-unknown-linux
and all is well. The install instructions don't mention you have to change this and it
wasn't clear (to me at least) from the comments in config.mk that this needed to be
changed.
Thanks, Dominic.
[EMAIL PROTECTED] on 23/02/2001 15:47:00
To:
I deleted everything and started again using -static and it now works. In fact it
works really well. I replaced a linear lookup table implemented via lists with
FiniteMap - a 3 line change - and my program performed significantly better. And
because all this stuff is in the distribution it was
I've just upgraded to 4.08 (because I need to do some profiling)
and am in the process of rebuilding HDirect. I'm getting the following
Pointer.lhs:103:
Couldn't match `AddrOff' against `Int'
Expected type: AddrOff
Inferred type: Int
In the application `toInt i'
In
I have made the math example with both FOR_HUGS=NO and FOR_HUGS=YES on
[dom@lhrtba8fd85 mypcre]$ uname -a
Linux lhrtba8fd85 2.2.12-20 #1 Thu Nov 11 12:45:54 GMT 1999 i686 unknown
I managed to make the pcre example with FOR_HUGS=NO but when I tried make with
FOR_HUGS=YES, I got the
The answer is the Makefile needs modifying to make the link step also have (in my case)
-L/home/dom/pcre-2.08 -lpcre
Of course it has to be in the right place on the line (I could have saved myself a few
hours)
otherwise the linker doesn't bother to look in the library.
Dominic.
/mingw32. You wouldn't happen to be cross-compiling?
--sigbjorn
-Original Message-
From: Steinitz, Dominic J
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 08, 2000 4:18 AM
To: Sigbjorn Finne
Cc: Barnett, Paul G
Subject: RE: HaskellDirect Almost There
Sigbjorn,
I'm running
I have now made HaskellDirect. I had to add
import GlaExts
even though I am running
The Glorious Glasgow Haskell Compilation System, version 4.04, patchlevel 1
I tried making example/math with
FOR_HUGS=NO and FOR_WIN32=NO
as I am running on
Linux lhrtba8fd85 2.2.12-20 #1 Thu Nov 11
Apologies if you receive this twice. I seem to be having trouble getting through.
Dominic.
Dominic Steinitz
20/01/2000 10:36:34
To: glasgow-haskell-bugs
hugs-bugs
cc: Paul Barnett
bcc:
Subject: HaskellDirect Almost There
I have now made HaskellDirect. I had to add
Simon,
Thanks for looking at this but I think it's ghc that's at fault. I found toInt in
Prelude.hs in the hugs distribution and I was able to use it in hugs.
I tried
ghc -o main main.hs
where main.hs is
module Main(main) where
main = putStrLn ("Hello World "++show (toInt 3))
-- Forwarded by Dominic Steinitz/HEATHROW/BRITISH AIRWAYS/GB on
14/01/2000 07:58 ---
Dominic Steinitz
14/01/2000 07:57:47
To: glasgow-haskell-bugs
cc:
bcc:
Subject: Problems Building HaskellDirect
I successfully installed
Simon,
The Glorious Glasgow Haskell Compilation System, version 4.04, patchlevel 1
Dominic.
I have now discovered that I need to use -syslib win32.
Apologies, Dominic.
12 matches
Mail list logo