Re: Why have file names with 3 components?

2001-09-28 Thread Keith Wansbrough

 This looks like a bug, but please don't change it!
 
 If you have a file A.blah.hs containing a module A, ghc5.02 compiles it, producing 
A.hi and A.blah.o.

This is correct... the basename for the .hi files is the module name, not the 
filename.  Thus if A.blah.hs contained module C where... then the hi file would be 
C.hi.

--KW 8-)
-- 
Keith Wansbrough [EMAIL PROTECTED]
http://www.cl.cam.ac.uk/users/kw217/
Cambridge University Computer Laboratory.


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



Telling ghc where to start

2001-09-28 Thread George Russell

There are various reasons why one might have a Haskell file which doesn't have the
expected Module.hs filename, in particular when putting ghc into some larger
system which does its own thing with files.  I may well want this as part of UniForM
in the next few months.  However ghc doesn't provide anyway support for this, and while
you could create a symbolic link with a name ghc approves of to the real file, that 
seems
somewhat messy.  gcc has an option which allows you to specify that the input is, say,
a C program (even though it's called hello.txt) but it's rather messy and might take 
too
long to implement.  I suggest instead a new option called
   -virtual-name
or something similar, so that
   ghc -virtual-name Module.hs /blah/horrible932
will compile the contents of /blah/horrible932, but treat it as if it were called 
Module.hs.

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



Happy 1.11 InstallShield released

2001-09-28 Thread Reuben Thomas

A Happy 1.11 InstallShield is now available (including the post hoc
bug fix!).

-- 
http://sc3d.org/rrt/ | competent, a.  underpromoted

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