From: krasimir Date: Tue, 11 Jan 2005 21:26:42 +0000 (+0000) Subject: [project @ 2005-01-11 21:26:42 by krasimir] X-Git-Tag: nhc98-1-18-release~122 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=1af70f7e6d70a69ffdc440d9b9cc70c8d60ccd86;p=ghc-base.git [project @ 2005-01-11 21:26:42 by krasimir] Use "o" extension everywere. Added haddock comment about the possible usage of "obj" for Hugs. --- diff --git a/System/FilePath.hs b/System/FilePath.hs index a970486..1ddb24b 100644 --- a/System/FilePath.hs +++ b/System/FilePath.hs @@ -413,14 +413,10 @@ exeExtension = "" #endif -- ToDo: This should be determined via autoconf (AC_OBJEXT) --- | Extension for object files --- (typically @\"o\"@ on Unix and @\"obj\"@ on Windows) +-- | Extension for object files. For GHC and NHC the extension is @\"o\"@. +-- Hugs uses either @\"o\"@ or @\"obj\"@ depending on the used C compiler. objExtension :: String -#ifdef mingw32_TARGET_OS -objExtension = "obj" -#else objExtension = "o" -#endif -- | Extension for dynamically linked (or shared) libraries -- (typically @\"so\"@ on Unix and @\"dll\"@ on Windows)