Wed, 9 May 2001 13:26:42 -0700 (PDT), Thomas Hallock <[EMAIL PROTECTED]> pisze:
> _Main_main_closure
> ___init_Main
This is because your module has a different name then Main.
> __udivdi3
> __umoddi3
> __cmpdi2
> __fixunsdfdi
> __floatdidf
These symbols should be found in libgcc.a. I don't kno
Would it be possible to flush open file buffers on ctrl-C?
I realise I could do this with hSetBuffering though with some performance cost.
I also appreciate that it could be a little tricky to implement (or,
maybe, really simple?) - but it would be really useful.
--
Alastair Reid[EMAI
Armin Groesslinger <[EMAIL PROTECTED]> wrote,
> ---
> module Main where
>
> import CForeign
>
> foreign import "puts" puts :: CString -> IO ()
>
> main :: IO ()
> main = return ()
> ---
>
> to ghci-5.00 (with ghci -package lang -fglasgow-exts Main.hs
>
Thomas Hallock <[EMAIL PROTECTED]> wrote,
> I get these crazy link errors whenever ghc tried to
> link its object files:
>
>
> [localhost:Documents/minimax/hs] root# ghc simple.hs
> /usr/bin/ld: Undefined symbols:
> _Main_main_closure
> ___init_Main
> __udivdi3
> __umoddi3
> __cmpdi2
> __fixuns
* Thomas Hallock <[EMAIL PROTECTED]> [2001-05-09T13:26-0700]:
> I get these crazy link errors whenever ghc tried to
> link its object files:
>
>
> [localhost:Documents/minimax/hs] root# ghc simple.hs
> /usr/bin/ld: Undefined symbols:
> _Main_main_closure
> ___init_Main
> __udivdi3
> __umoddi3
>
s/comprension/comprehension/ in the last line of this error message
Couldn't match `[Char]' against `Char'
Expected type: [[Char]]
Inferred type: FilePath
in a `list comprension' pattern binding: f
Here's the offending line:
grep comprension compiler/*/*.lhs
compile
Hello,
feeding the program
---
module Main where
import CForeign
foreign import "puts" puts :: CString -> IO ()
main :: IO ()
main = return ()
---
to ghci-5.00 (with ghci -package lang -fglasgow-exts Main.hs
on x86/Linux) gives the following error:
Co
I get these crazy link errors whenever ghc tried to
link its object files:
[localhost:Documents/minimax/hs] root# ghc simple.hs
/usr/bin/ld: Undefined symbols:
_Main_main_closure
___init_Main
__udivdi3
__umoddi3
__cmpdi2
__fixunsdfdi
__floatdidf
what gives?
Thanks,
Thomas Hallock
___
William Chesters writes:
>However the toy exe I build terminates with an "Illegal
> instruction" signal (whether or not I use -via-C), and the same quite
> quickly happens to ghci if I play around. If I copy the toy exe onto
> a Mandrake (~ RedHat) 6.0 machine I get the same. (If I copy
Hi, I'm trying to get GHC 5.00 installed on my SuSE 7.1 box. I have
tried (a) the binary distribution, (b) the source distribution, (c) a
CVS snapshot.
The binary distribution ghc-5.00-i386-unknown-linux.tar.bz2 does to
some extent work if I either install libreadline.so.3 manually or just
s
10 matches
Mail list logo