Fudgets with GHC 5.04.3

Iavor Diatchki diatchki@cse.ogi.edu
Wed, 28 May 2003 16:27:20 -0700


This is a multi-part message in MIME format.
--------------090404010700070601060200
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

hello,

i have made a package file for GHC.
this is how you can install fudgets.
1. download it:
http://www.cse.ogi.edu/~hallgren/untested/fudgets-030414-ghc-5.04.3-i386-linux-rh9.tar.gz
2. unzip it:
tar -C /usr/local -xzvf fudgets-030414-ghc-5.04.3-i386-linux-rh9.tar.gz
3. add it to the ghc package database:
env GHCFUDGETS=/usr/local/lib/GhcFudgets ghc-pkg -a < fudgets.pkg
(this is in csh, for bash simply remove the "env")

then you should be able to compile programs using fudgets like this:
ghc --make -package fudgets SpaceInvaders2.hs

hope this helps.
bye
iavor


Bas van Dijk wrote:
> Hi,
> 
> Does anybody have the Fudgets library working with GHC 5.04.3 ?
> 
> I know the library is tested under GHC 5.02 but I would rather not install two 
> versions of GHC.
> 
> Bas.
> 
> _______________________________________________
> Haskell mailing list
> Haskell@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell
> 


--------------090404010700070601060200
Content-Type: text/plain;
 name="fudgets.pkg"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="fudgets.pkg"

Package {
     name            = "fudgets",
     import_dirs     = ["${GHCFUDGETS}"],
     source_dirs     = [],
     library_dirs    = ["${GHCFUDGETS}","${GHCFUDGETS}/contrib","/usr/X11R6/lib"],
     hs_libraries    = ["Fudgets","FudgetsXlib","ContribFudgets"],
     extra_libraries = ["X11","Xext"],
     include_dirs    = [],
     c_includes      = [],
     package_deps    = ["lang"],
     extra_ghc_opts  = ["-fglasgow-exts"],
     extra_cc_opts   = [],
     extra_ld_opts   = []
  }


--------------090404010700070601060200--