#3093: -osuf and stub files results in incorrect extension
-----------------------------+----------------------------------------------
Reporter: NeilMitchell | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 6.10.1 | Severity: normal
Keywords: | Testcase:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
-----------------------------+----------------------------------------------
Using the example from the manual 9.2.1 on stub files:
{{{
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.10.1
$ ghc --make Foo.hs -fffi -osuf foo.bar
[1 of 1] Compiling Foo ( Foo.hs, Foo.foo.bar )
}}}
This generates the file {{{Foo.foo_stub.bar}}}, which is clearly wrong.
I'd have expected {{{Foo_stub.foo.bar}}}. Note that the command works if
no . is placed in the suffix.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3093>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs