Brian Hulley wrote:
>
>
>
> Since Begin would be a function exported by the DLL, Windows would ensure
> that the DLL was loaded when it is first called from your application if
> it
> was not already loaded so there would be no need for an explicit call to
> LoadLibrary.
>
>> and then End
I installed the darwin ports readline and created the following soft
link:
/usr/local/lib/libreadline.5.1.dylib -> /opt/local/lib/libreadline.
5.1.dylib
Alternatively, you could install the darwin ports readline and set
the DYLD_LIBRARY_PATH variable. I prefer not to use DYLD_LIBRARY_P
I am still working on it. Some external events have slowed me down a
little (research, classes, appendicitis), and it has involved more
changes to the innards of GHC than anticipated, but it is still
moving along. If you can wait a little while, it should be possible
to use GHC.
A slight
SevenThunders wrote:
Brian Hulley wrote:
SevenThunders wrote:
DllMain
if (reason == DLL_PROCESS_DETACH) {
shutdownHaskell();
return TRUE;
}
The above *may* be the problem: it is unsafe to do anything in
DllMain that...
Instead of trying to start/shutdown Haskell from DllMain,
Simon Marlow-5 wrote:
>
>
> I wonder if you're hitting this bug:
>
>http://hackage.haskell.org/trac/ghc/ticket/926
>
> if so, it's slightly worrying that the same thing happens if you just link
> your
> program directly to the DLL, rather than loading it explicitly.
>
> Cheers,
>
On 2/6/07, Ricky Barefield <[EMAIL PROTECTED]> wrote:
I've tried running Happy on these files but get the error `Not enough type arguments for
the type synonym "P"' when I try to run the resultant Parser.hs in Hugs and
similar errors when run in GHC.
What I'm trying to achieve is to read th
Brian Hulley wrote:
>
> SevenThunders wrote:
>> Before I post this as a bug, I thought I'd check to make sure I'm not
>> doing something wrong.
>> BOOL
>> STDCALL
>> DllMain
>> ( HANDLE hModule
>> , DWORD reason
>> , void* reserved
>> )
>> {
>> if (reason == DLL_PROCESS_ATTACH) {
>>
Hello Ian,
Ian Lynagh wrote:
Are you using
http://haskell.org/ghc/dist/6.6/ghc-6.6-i386-apple-darwin.tar.bz2
?
Yes.
I've just downloaded it, and it looks like the Makefile should run
post-install-script to put readline/* in the right place. Can you check
if that is happening correctly
Hello,
On Tuesday 06 February 2007 16:15, Ariel Apostoli wrote:
> but when I try installing ghc from that page it seems to install fine
> but when I invoke /usr/local/bin/ghc i get:
>
> dyld: Library not loaded: /opt/local/lib/libreadline.5.1.dylib
> Referenced from: /usr/local/lib/ghc-6.6/ghc
I can confirm that the version of ghc in MacPorts installs perfectly
(on a clean system):
$ sudo port install ghc
On 06/02/2007, at 17:35, Ian Lynagh wrote:
On Tue, Feb 06, 2007 at 09:15:32AM -0600, Ariel Apostoli wrote:
Kirsten Chevalier wrote:
http://haskell.org/ghc/download_ghc_66.ht
On Tue, Feb 06, 2007 at 09:15:32AM -0600, Ariel Apostoli wrote:
> Kirsten Chevalier wrote:
> >http://haskell.org/ghc/download_ghc_66.html#macosxintel
>
> but when I try installing ghc from that page it seems to install fine
> but when I invoke /usr/local/bin/ghc i get:
>
> dyld: Library not loade
On Fri, Jan 12, 2007 at 12:32:47PM -0500, David Morse wrote:
> I have a machine-generated source-code file that brings my computer to
> its knees with ghc-6.6. After an hour or so of rummaging around, ghc
> dies with: "ghc-6.6: out of memory (requested 1048576 bytes)".
I've made a bug report at
but when I try installing ghc from that page it seems to install fine
but when I invoke /usr/local/bin/ghc i get:
dyld: Library not loaded: /opt/local/lib/libreadline.5.1.dylib
Referenced from: /usr/local/lib/ghc-6.6/ghc-6.6
Reason: image not found
Trace/BPT trap
My version of mac os x is 10
Hi Alistair,
On Tue, Feb 06, 2007 at 09:00:17AM +, Alistair Bayley wrote:
>
> C:\DOCUME~1\bayleya\LOCALS~1\Temp\ghc728_0\ghc728_0.hc:8:20: HsTime.h:
> No such file or directory
>
> Is this me doing something I shouldn't,
No, this should work.
> or is there something wrong
> with the way t
Hi Tays,
If I understood correctly, if your compiler generates Haskell code, then
later on you should compile this code (with GHC, for example) and running it
implies a main function that is of the tipe IO() (i.e. IO Monad).
What you can do is to add (it could be, for example, in debugging mode in
SevenThunders wrote:
Before I post this as a bug, I thought I'd check to make sure I'm not doing
something wrong.
For this test case, on my windows XP machine I create a simple Haskell
routine that counts the characters in a file,
create a DLL for that routine and call it from C. The C code give
[EMAIL PROTECTED] wrote:
Here at [EMAIL PROTECTED] we have the following that we could use:
AIX on PPC
Linux on PPC
Mac OSX on PPC
Mac OSX on x86
OpenVMS on Alpha
Solaris on Sparc
If needed we could also set up the following:
Solaris on x86
BeOS on BeBox
IRIX on MIPS
Linux on Sparc
something on
Seth Kurtzberg wrote:
I'm joining this discussion a bit late, but ...
I can provide a build machines for netbsd and freebsd. I didn't see those on
the URL cited below. They are fairly common, so perhaps I just missed them.
In any event, if netbsd and/or freebsd will be helpful, please let me
SevenThunders wrote:
Before I post this as a bug, I thought I'd check to make sure I'm not
doing something wrong.
BOOL
STDCALL
DllMain
( HANDLE hModule
, DWORD reason
, void* reserved
)
{
if (reason == DLL_PROCESS_ATTACH) {
/* By now, the RTS DLL should have been hoisted in, but we
If I try to compile this Main.hs:
module Main where
import Data.Time
main = getCurrentTime >>= print
with this ghc-6.6 command:
ghc --make Main -o test -O
... I get this error:
C:\DOCUME~1\bayleya\LOCALS~1\Temp\ghc728_0\ghc728_0.hc:8:20: HsTime.h:
No such file or directory
Is this me doing
20 matches
Mail list logo