Try to create /tmp from Windows environment, not from cygwin bash shell.

Regards,
Michael

-----Original Message-----
From: Dion McMurtrie <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: 27 aadaciy 1999 d. 17:13
Subject: problem setting up GHC on Win32


>I'm having trouble setting up GHC on Win32.
>
>I can install the cygwin B20 software and run it.  As soon as I run it it
>complains that -
>
>bash.exe: warning: could not find /tmp, please create!
>BASH.EXE-2.02$
>
>If I try to make the /tmp directory by typing "mkdir -p /tmp" or "mkdir
>/tmp" I get the error -
>
>BASH.EXE-2.02$ mkdir /tmp
>mkdir: cannot make directory `/tmp': No such file or directory
>BASH.EXE-2.02$ mkdir -p /tmp
>mkdir: cannot create directory `/tmp': No such file or directory
>BASH.EXE-2.02$
>
>What am I doing wrong?
>
>The cygwin software is installed to h:\cygwin
>ghc is installed to h:\ghc
>I'm running Windows 95
>
>Nothing else wants to run without the /tmp directory set up (perl and the
>configure scripts both complain about the /tmp directory).
>
>I'm running ghc under Linux with no hassles, but I need to compile a
>Haskell program for Win32, and thought that setting up ghc for Win32 would
>be the best way to do this.
>
>Actually it would be really good to be able to compile my Haskell code to
>some intermediate language that I could compile anywhere.  For example
>compile to C under Linux, and then use the gcc compiler on any UNIX box to
>make a useable binary - is there a way to do this?  I can't get the .hc
>code output of the ghc compiler to compile with gcc, is there a way to do
>something like this?
>
>Thanks in advance,
>
> - Dion McMurtrie.
>

Reply via email to