Re: filename corruption with -osuf in ghc-7.0.3

2012-01-04 Thread Evan Laforge
> In 7.4 we merge the stub object file into the main object file > automatically, so you don't have to worry about stub objects in your > Makefiles or whatever. Nice, this is very convenient. ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@

Re: filename corruption with -osuf in ghc-7.0.3

2012-01-03 Thread Simon Marlow
On 24/12/2011 06:23, Evan Laforge wrote: I've noticed a strange behaviour with ghc's -osuf flag: % cat>Test.hs {-# LANGUAGE ForeignFunctionInterface #-} module Test where import Foreign foreign import ccall "wrapper" c_callback :: Int -> IO (FunPtr Int) % ghc-7.0.3 -v -c -osuf .hs.o Test.hs % l

filename corruption with -osuf in ghc-7.0.3

2011-12-23 Thread Evan Laforge
I've noticed a strange behaviour with ghc's -osuf flag: % cat >Test.hs {-# LANGUAGE ForeignFunctionInterface #-} module Test where import Foreign foreign import ccall "wrapper" c_callback :: Int -> IO (FunPtr Int) % ghc-7.0.3 -v -c -osuf .hs.o Test.hs % ls Tes_stub.hs.o Test.hsTest_stub.c