Skip to content

Commit 92637ae

Browse files
committed
Merge pull request #2 from wrengr/revert-1-master
Revert "Note that logfloat works in Windows GHCi as of 8.0"
2 parents 8d1663a + 6a93bad commit 92637ae

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

README.md

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
logfloat
22
========
3-
[![Hackage version](https://img.shields.io/hackage/v/logfloat.svg?style=flat)](https://hackage.haskell.org/package/logfloat)
3+
[![Hackage version](https://img.shields.io/hackage/v/logfloat.svg?style=flat)](https://hackage.haskell.org/package/logfloat)
44
[![Hackage-Deps](https://img.shields.io/hackage-deps/v/logfloat.svg?style=flat)](http://packdeps.haskellers.com/specific?package=logfloat)
5-
[![TravisCI Build Status](https://img.shields.io/travis/wrengr/logfloat.svg?style=flat)](https://travis-ci.org/wrengr/logfloat)
5+
[![TravisCI Build Status](https://img.shields.io/travis/wrengr/logfloat.svg?style=flat)](https://travis-ci.org/wrengr/logfloat)
66
[![CircleCI Build Status](https://circleci.com/gh/wrengr/logfloat.svg?style=shield&circle-token=b57517657c556be6fd8fca92b843f9e4cffaf8d1)](https://circleci.com/gh/wrengr/logfloat)
77

88
This package provides a type for storing numbers in the log-domain,
@@ -35,11 +35,11 @@ of the following standard installation methods:
3535

3636
-- With cabal-install and without the source:
3737
$> cabal install logfloat
38-
38+
3939
-- With cabal-install and with the source already:
4040
$> cd logfloat
4141
$> cabal install
42-
42+
4343
-- Without cabal-install, but with the source already:
4444
$> cd logfloat
4545
$> runhaskell Setup.hs configure --user
@@ -77,15 +77,14 @@ bug report (which is resolved in GHC 6.10.2):
7777

7878
### Windows FFI
7979

80-
The logfloat package builds and installs cleanly with GHC 8.0 and
81-
later on Windows (without needing Cygwin nor Mingw/Msys), and the
82-
installed package can be used in compiled programs without any
83-
issues.
80+
The logfloat package builds and installs cleanly with GHC on Windows
81+
(without needing Cygwin nor Mingw/Msys), and the installed package
82+
can be used in compiled programs without any issues.
8483

85-
Prior to GHC 8.0, the package does not work from the GHCi debugger
86-
by default and gives errors like "can't load .so/.DLL for: m (addDLL:
87-
could not load DLL)". This is a long-standing issue with GHCi having
88-
to do with the fact that, on Windows, the so-called "libm" file does
84+
However, by default, the package does not work from the GHCi debugger
85+
and gives errors like "can't load .so/.DLL for: m (addDLL: could
86+
not load DLL)". This is a long-standing issue with GHCi having to
87+
do with the fact that, on Windows, the so-called "libm" file does
8988
not actually contain anything (as it does on POSIX) and the C
9089
functions we use are instead placed in `libmingwex.a` (which comes
9190
bundled with GHC). The problem is that `ghc` (the compiler) knows
@@ -169,7 +168,7 @@ If you need to disable the FFI due to issues with not being able
169168
to find <math.h>, not having prototypes for functions, or linking
170169
errors, be sure *not* to pass -D__USE_FFI__ to the cpp filter for
171170
ffihugs.
172-
171+
173172
Notably, Hugs installs cpphs under the name "cpphs-hugs" by default.
174173
The `which` command will try to resolve the location, assuming it's
175174
on your $PATH. If it isn't, then change the --with-cpphs= flag to

0 commit comments

Comments
 (0)