Hello,
I got the following error msg when I compiled my
.hs program with GHC-4.04 on
unix platform (SunOS 5.7)
cc1:
ghc16082.s: I/O error
May I know whether it is my program's error, GHC
error or sun system's error?
Regards,
shikun
This is an error from the C compiler (not GHC), while it was trying to
write the assembly file. It probably indicates a problem with your
system - a faulty disk or problems with an NFS mount, perhaps?
Cheers,
Simon
-Original Message-
From: Shi Kun [mailto:[EMAIL PROTECTED]]
Sent:
Incredibly tiny nit, but in the final section about compiling stubs,
I believe you mean -fPIC as the gcc option (the documentation says
-fPCI, which isn't something gcc recognizes).
You might also want to point out that debian packages are available
for apt-get'ting, at least you run woody.
In fact I can produce a simple example, either. So just the facts:
perftest@monster [11:46:35] ./Reader
[2] 86029
perftest@monster [11:46:40] jobs
[2]+ Stopped ./Reader
Sourcecode-snippet of Reader:
main = do
-- Posix.installHandler Posix.sigTTOU Posix.Ignore
But we're not changing any of the terminal flags, simply setting
the same ones again.
I'm totally stumped! Any ideas, anyone?
According to the manual page,
tcgetattr() ... This function may be invoked
from a background process; however, the terminal
* Michael Weber [EMAIL PROTECTED] [2001-01-16T00:00+0100]:
[...]
So, a solution seems to be, to block SIGTTOU during the call of
tcsetattr
[...]
BTW: Eventually, the following functions need the same shielding:
tcsetattr, tcsendbreak, tcflow, tcflush
Cheers,
M/
--
() ASCII ribbon
Hi,
I have received the following error message when
compiling the "Hello World" program:
$ ghc -o main main.hs
Compilation IS NOT required
gcc: C:/ghc/ghc-4.08.1/lib/Main.dll_o: No such file or directory
gcc: C:/ghc/ghc-4.08.1/lib/PrelMain.dll_o: No such file or directory
.
So it seems that there is possibly a feature/bug in the C library
such that calling tcsetattr() always suspends a backgrounded process,
regardless of the setting of TOSTOP. As yet, I haven't been able to
find a workaround. :-(
Yes, I went through a similar set of diagnoses myself after I
Can someone help? The program below works fine with small files but when I
try to use it on the one I need to (about 3 million lines of data) it
produces no output. The hard disk is hammered - I assume this is the run time
system paging. My suspicion is that the program is trying to read in
Can someone help? The program below works fine with small files but when I try to use
it on the one I need to (about 3 million lines of data) it produces no output. The
hard disk is hammered - I assume this is the run time system paging. My suspicion is
that the program is trying to read in
Greetings,
I've been looking at http://www.haskell.org/libraries/#guis and trying
to figure out which package is "best" for building a gui. Can anyone
give a comparison of the strengths/weaknesses of these packages (or any
others)?
thanks
-Matt
begin:vcard
n:Liberty;Matthew
Marcin 'Qrczak' Kowalczyk writes:
Mon, 8 Jan 2001 17:53:35 +1300, Tom Pledger [EMAIL PROTECTED] pisze:
Having types with type variables which are never instantiated nor
constrained should be equivalent to having ground types!
Do you have any examples of such a type variable
[apologies if you receive this more than once]
FGMOL'01 FGMOL'01 FGMOL'01 FGMOL'01 FGMOL'01 FGMOL'01 FGMOL'01 FGMOL'01
FORMAL GRAMMAR/MATHEMATICS OF LANGUAGE CONFERENCE
August 10--12, 2001
Helsinki, Finland
FIRST CALL FOR PAPERS
| I am finding functional dependencies confusing. (I suspect I am
| not alone.) Should the following code work?
|
| class HasConverter a b | a - b where
|convert :: a - b
|
| instance (HasConverter a b,Show b) = Show a where
|show value = show (convert value)
It's a separate issue.
On 12 Jan 2001, Steinitz, Dominic J wrote:
I was thinking of using MD5 or SHA-1 for an application.
Is there a Haskell library that contains these or other hash algorithms
that have a very low probability of giving clashes?
Dominic.
I've recently acquired access to SPARC and PPC Linux boxen. GHC 4.04 is
presently bootstrapping on the SPARC, and I was wondering if there were
PPC hc files floating about anywhere, or documentation on how to
generate them.
Thanks,
Bill
___
Haskell
Can someone help? The program below works fine with small files but when I
try to use it on the one I need to (about 3 million lines of data) it
produces no output. The hard disk is hammered - I assume this is the run time
system paging. My suspicion is that the program is trying to read in
What should be the preferred way of marking correspondence to source
positions after some preprocessing?
Here is what is currently supported:
| {-# LINE 100 "Foo.hs #-} | # 100 "Foo.hs"
+--+
Released
Does such a thing exists? Is it part of Happy?
Regards,
Shlomi Fish
--
Shlomi Fish[EMAIL PROTECTED]
Home Page: http://t2.technion.ac.il/~shlomif/
Home E-mail: [EMAIL PROTECTED]
The prefix
What should be the preferred way of marking correspondence to source
positions after some preprocessing?
Here is what is currently supported:
| {-# LINE 100 "Foo.hs #-} | #
100 "Foo.hs"
+--+--
Dear Colleague
I would like to invite you to propose papers, experiences, tutorials, tool
expositions, dissertations at the
IEEE International Conference on Software Maintenance, 2001,
and workshops: SCAM, WESS, WSE and TABOO, etc., November 2001, Florence, Italy.
ICSM is the
On Sun, Jan 14, 2001 at 04:05:47PM -0800, William Lee Irwin III wrote:
I've recently acquired access to SPARC and PPC Linux boxen. GHC 4.04 is
presently bootstrapping on the SPARC, and I was wondering if there were
PPC hc files floating about anywhere, or documentation on how to
generate
How do you do OOP-style polymorphic functions in O'Haskell? My first
attempt looked something like this:
struct Base
struct Derived Base =
value :: Int
theValue :: Base - Maybe Int
theValue x = Just (x.value) -- problem line
theValue _ = Nothing
In the problem line, x is considered to
Mark P Jones wrote:
| I am finding functional dependencies confusing. (I suspect I am
| not alone.) Should the following code work?
|
| class HasConverter a b | a - b where
|convert :: a - b
|
| instance (HasConverter a b,Show b) = Show a where
|show value = show (convert
At 2001-01-15 11:24, Jan Kort wrote:
When Manuel's Haskell GTK+ binding (gtkhs) is finished it will
be really cool.
On top of gtkhs there are/will be many other libraries and tools:
- iHaskell: a high level GUI library that avoids the eventloop
mess.
- GtkGLArea: 3D graphics in your GTK+
25 matches
Mail list logo