From 1af70f7e6d70a69ffdc440d9b9cc70c8d60ccd86 Mon Sep 17 00:00:00 2001 From: krasimir Date: Tue, 11 Jan 2005 21:26:42 +0000 Subject: [PATCH] [project @ 2005-01-11 21:26:42 by krasimir] Use "o" extension everywere. Added haddock comment about the possible usage of "obj" for Hugs. --- System/FilePath.hs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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) -- 1.7.10.4