shared libraries in sun solaris

2001-08-08 Thread Siemens Entwicklungsteam
Hello, we are writing a haskell program that does a calculation for an intranet application. We assume that at peak times, several thousand users are going to use the program at the same time. Our problem is, that our binary file has several MBs and we don't know how to compile it (we are usin

Re: FWD: Re: GHC FFI Return Type Bug

2001-08-08 Thread Fergus Henderson
On 08-Aug-2001, Fergus Henderson <[EMAIL PROTECTED]> wrote: > Sigbjorn Finne <[EMAIL PROTECTED]> wrote: > > > > "Julian Seward (Intl Vendor)" <[EMAIL PROTECTED]> writes: > > > > > > | > char fooble ( ... ) > > > | > { > > > | >return 'z'; > > > | > } > > > | > > > > | > on an x86, 'z' will

--RTS

2001-08-08 Thread Marcin 'Qrczak' Kowalczyk
Currently --RTS option for a program compiled with ghc means that all the following arguments are passed to the program, even if they are +RTS and -RTS. IMHO -- should act like --RTS too. Imagine a utility like Unix ls written in Haskell. If someone invokes it ls -- "$FILENAME" he means that

Re: GC options. Reply

2001-08-08 Thread Hannah Schroeter
Hello! On Tue, Aug 07, 2001 at 10:47:50AM +0100, Simon Marlow wrote: > - Compacting garbage collection is enabled when the residency > reaches a certain percentage of the maximum heap size (if there > is one). Could there be the possibility to set an absolute amount of memory to start

RE: "foreign export dynamic" in GHC

2001-08-08 Thread Simon Marlow
[ moved to glasgow-haskell-users ] > When I make a function generator with "foreign export > dynamic", GHC spits > out stub files which it apparently then needs for the link. What are > these for? The stub files contain the helper function which invokes the Haskell code when called from C.

RE: adding isWHNF primop to 5.00.2 native code generator

2001-08-08 Thread Julian Seward (Intl Vendor)
| In all the cases I tried, the info pointer in the closure | header pointed to the end of the info table. Although a | comment in ghc/includes/ClosureMacros.h worries me: | |"info pointer"The first word of the closure. Might point | to either the end or t

Re: FWD: Re: GHC FFI Return Type Bug

2001-08-08 Thread Fergus Henderson
Sigbjorn Finne <[EMAIL PROTECTED]> wrote: > > "Julian Seward (Intl Vendor)" <[EMAIL PROTECTED]> writes: > > > > | > char fooble ( ... ) > > | > { > > | >return 'z'; > > | > } > > | > > > | > on an x86, 'z' will be returned at the lowest 8 bits in %eax. What I > > | > don't know is, is the C