Opened 4 years ago

Closed 4 years ago

#9383 closed bug (invalid)

GHCi parser doesn't properly handle -fobject-code

Reported by: crockeea Owned by:
Priority: normal Milestone:
Component: GHCi Version: 7.8.2
Keywords: Cc: hvr
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Other Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


My complete Haskell source:

module Foo where

f x = x


$ ghci Foo.hs -fobject-code GHCi, version 7.8.2: :? for help Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. target ‘-fobject-code’ is not a module name or a source file Ok, modules loaded: Linker. Prelude Linker>

Despite the wanring/error, GHCi *does* generate the object code. This error also prints when I *load* the compiled Foo object file.

Change History (1)

comment:1 Changed 4 years ago by crockeea

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.