Re: Compiling HDirect from CVS

2001-03-29 Thread Reuben Thomas

> > > > | Is "_imp___timezone_dll" a Haskell DLL, a missing Mingw lib,
>
> > >
> > > I think this is a problem with the version of gcc and the switches it
> > > expects; I've added -mwin32 and it seems to work. Try updating and
> rebuilding.
> >
> > ...and add -mwin32 after -mno-cygwin in the *installed compiler's (4.08.2,
> > presumably) driver script.
>
> Sadly, no luck at all.
>
> I went through every file in the CVS distribution and the ghc4.08.2 driver
> and added -mwin32 after every -mno-cygwin.

Unfortunately you need to rebuild your installed compiler's libraries too.
I've now done this, and will hopefully be able to put up a new InstallShield
shortly with this fix in place.

-- 
http://sc3d.org/rrt/ | maxim, n.  wisdom for fools


___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users



Re: Compiling HDirect from CVS

2001-03-28 Thread Mike Thomas


> > > | Is "_imp___timezone_dll" a Haskell DLL, a missing Mingw lib,

> >
> > I think this is a problem with the version of gcc and the switches it
> > expects; I've added -mwin32 and it seems to work. Try updating and
rebuilding.
>
> ...and add -mwin32 after -mno-cygwin in the *installed compiler's (4.08.2,
> presumably) driver script.

Sadly, no luck at all.

I went through every file in the CVS distribution and the ghc4.08.2 driver
and added -mwin32 after every -mno-cygwin.



___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users



RE: Compiling HDirect from CVS

2001-03-28 Thread Reuben Thomas

> > | Is "_imp___timezone_dll" a Haskell DLL, a missing Mingw lib,
> > | or some kind of
> > | foot and mouth virus passed from the pure Scottish air to Australia's
> > | unseasonally warm shores via cvs?
>
> I think this is a problem with the version of gcc and the switches it
> expects; I've added -mwin32 and it seems to work. Try updating and rebuilding.

...and add -mwin32 after -mno-cygwin in the *installed compiler's (4.08.2,
presumably) driver script.

-- 
http://sc3d.org/rrt/ | impatience, n.  the urge to do nothing


___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users



RE: Compiling HDirect from CVS

2001-03-28 Thread Reuben Thomas

> | Is "_imp___timezone_dll" a Haskell DLL, a missing Mingw lib,
> | or some kind of
> | foot and mouth virus passed from the pure Scottish air to Australia's
> | unseasonally warm shores via cvs?

I think this is a problem with the version of gcc and the switches it
expects; I've added -mwin32 and it seems to work. Try updating and rebuilding.

-- 
http://sc3d.org/rrt/
"In 1727, Helen Morrison, a lonely spinster, became the first woman to
place a Lonely Hearts advertisement. It appeared in the Manchester Weekly
Journal. The mayor promptly committed her to a lunatic asylum for four
weeks." - The People's Almanac #2


___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users



RE: Compiling HDirect from CVS

2001-03-28 Thread Simon Peyton-Jones

Reuben is on the job.  Stay tuned.

Simon

| -Original Message-
| From: Mike Thomas [mailto:[EMAIL PROTECTED]]
| Sent: 27 March 2001 08:00
| To: [EMAIL PROTECTED]
| Subject: Compiling HDirect from CVS
| 
| 
| Hi all.
| 
| I'm having a lot of trouble building the latest version of 
| HDirect from CVS.
| 
| After setting up per the instructions, adjusting "mk/config.mk" to
| substitute mingw for cygwin (avoids problems about the Posix 
| library) and
| then typing make at the top level of fptools I get the link 
| error below.
| 
| If I go to the hdirect directory and type "make boot" 
| followed by "make" the
| same problem occurs.
| 
| I am using ghc 4.08.2 under Windows NT4 with the latest Cygwin setup.
| 
| Is "_imp___timezone_dll" a Haskell DLL, a missing Mingw lib, 
| or some kind of
| foot and mouth virus passed from the pure Scottish air to Australia's
| unseasonally warm shores via cvs?
| 
| Cheers
| 
| Mike Thomas.
| 
| --
| --
| ==fptools== make boot - --unix - --no-print-directory -r;
|  in file://d/public/cvsroot/fpt/ghc/utils/hsc2hs
| --
| --
| Creating Config.hs ... done.
| make INSTALLING=0 BIN_DIST=0 - --unix - --no-print-directory -r all
| /cygdrive/c/ghc/ghc-4.08.2/bin/ghc -package util -O-c Config.hs -o
| Config.o
| -osuf o
| /cygdrive/c/ghc/ghc-4.08.2/bin/ghc -package util -O-c
| KludgedSystem.hs -o Kl
| udgedSystem.o -osuf o
| C:/TEMP/ghc218.hc:297: warning: implicit declaration of 
| function `_getpid'
| /cygdrive/c/ghc/ghc-4.08.2/bin/ghc -package util -O-c Main.hs -o
| Main.o -osu
| f o
| /cygdrive/c/ghc/ghc-4.08.2/bin/ghc -o hsc2hs-bin -package util -O
| Config.o
|  KludgedSystem.o Main.o
| C:/ghc/ghc-4.08.2/lib/libHSstd.a(Time.o)(.text+0x1c42c):ghc136
| 0.c: undefined
| ref
| erence to `_imp___timezone_dll'
| collect2: ld returned 1 exit status
| 
| 
| ___
| Glasgow-haskell-users mailing list
| [EMAIL PROTECTED]
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
| 

___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users



Compiling HDirect from CVS

2001-03-26 Thread Mike Thomas

Hi all.

I'm having a lot of trouble building the latest version of HDirect from CVS.

After setting up per the instructions, adjusting "mk/config.mk" to
substitute mingw for cygwin (avoids problems about the Posix library) and
then typing make at the top level of fptools I get the link error below.

If I go to the hdirect directory and type "make boot" followed by "make" the
same problem occurs.

I am using ghc 4.08.2 under Windows NT4 with the latest Cygwin setup.

Is "_imp___timezone_dll" a Haskell DLL, a missing Mingw lib, or some kind of
foot and mouth virus passed from the pure Scottish air to Australia's
unseasonally warm shores via cvs?

Cheers

Mike Thomas.


==fptools== make boot - --unix - --no-print-directory -r;
 in file://d/public/cvsroot/fpt/ghc/utils/hsc2hs

Creating Config.hs ... done.
make INSTALLING=0 BIN_DIST=0 - --unix - --no-print-directory -r all
/cygdrive/c/ghc/ghc-4.08.2/bin/ghc -package util -O-c Config.hs -o
Config.o
-osuf o
/cygdrive/c/ghc/ghc-4.08.2/bin/ghc -package util -O-c
KludgedSystem.hs -o Kl
udgedSystem.o -osuf o
C:/TEMP/ghc218.hc:297: warning: implicit declaration of function `_getpid'
/cygdrive/c/ghc/ghc-4.08.2/bin/ghc -package util -O-c Main.hs -o
Main.o -osu
f o
/cygdrive/c/ghc/ghc-4.08.2/bin/ghc -o hsc2hs-bin -package util -O
Config.o
 KludgedSystem.o Main.o
C:/ghc/ghc-4.08.2/lib/libHSstd.a(Time.o)(.text+0x1c42c):ghc1360.c: undefined
ref
erence to `_imp___timezone_dll'
collect2: ld returned 1 exit status


___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users