diff options
author | thing 1 <thing1@seacrossedlovers.xyz> | 2024-12-16 13:36:15 +0000 |
---|---|---|
committer | thing 1 <thing1@seacrossedlovers.xyz> | 2024-12-16 13:36:15 +0000 |
commit | 857de9681685bc5cfd3907ccfe87d8a9b160b968 (patch) | |
tree | a2e88494c3931fc4946f6fc4fda1d5f4d9f63247 /comp/lucas-standen-NEA/writeup2/examples/fib/haskell/dist-newstyle/build | |
parent | 03625304e740c9c0f7c434833dcded7ecdb9ca99 (diff) |
created example
Diffstat (limited to 'comp/lucas-standen-NEA/writeup2/examples/fib/haskell/dist-newstyle/build')
11 files changed, 194 insertions, 0 deletions
diff --git a/comp/lucas-standen-NEA/writeup2/examples/fib/haskell/dist-newstyle/build/x86_64-linux/ghc-9.2.8/haskell-0.1.0.0/x/haskell/build/haskell/autogen/Paths_haskell.hs b/comp/lucas-standen-NEA/writeup2/examples/fib/haskell/dist-newstyle/build/x86_64-linux/ghc-9.2.8/haskell-0.1.0.0/x/haskell/build/haskell/autogen/Paths_haskell.hs new file mode 100644 index 0000000..e1b049e --- /dev/null +++ b/comp/lucas-standen-NEA/writeup2/examples/fib/haskell/dist-newstyle/build/x86_64-linux/ghc-9.2.8/haskell-0.1.0.0/x/haskell/build/haskell/autogen/Paths_haskell.hs @@ -0,0 +1,74 @@ +{-# LANGUAGE CPP #-} +{-# LANGUAGE NoRebindableSyntax #-} +{-# OPTIONS_GHC -fno-warn-missing-import-lists #-} +{-# OPTIONS_GHC -w #-} +module Paths_haskell ( + version, + getBinDir, getLibDir, getDynLibDir, getDataDir, getLibexecDir, + getDataFileName, getSysconfDir + ) where + + +import qualified Control.Exception as Exception +import qualified Data.List as List +import Data.Version (Version(..)) +import System.Environment (getEnv) +import Prelude + + +#if defined(VERSION_base) + +#if MIN_VERSION_base(4,0,0) +catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a +#else +catchIO :: IO a -> (Exception.Exception -> IO a) -> IO a +#endif + +#else +catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a +#endif +catchIO = Exception.catch + +version :: Version +version = Version [0,1,0,0] [] + +getDataFileName :: FilePath -> IO FilePath +getDataFileName name = do + dir <- getDataDir + return (dir `joinFileName` name) + +getBinDir, getLibDir, getDynLibDir, getDataDir, getLibexecDir, getSysconfDir :: IO FilePath + + + +bindir, libdir, dynlibdir, datadir, libexecdir, sysconfdir :: FilePath +bindir = "/home/thing1/.cabal/bin" +libdir = "/home/thing1/.cabal/lib/x86_64-linux-ghc-9.2.8/haskell-0.1.0.0-inplace-haskell" +dynlibdir = "/home/thing1/.cabal/lib/x86_64-linux-ghc-9.2.8" +datadir = "/home/thing1/.cabal/share/x86_64-linux-ghc-9.2.8/haskell-0.1.0.0" +libexecdir = "/home/thing1/.cabal/libexec/x86_64-linux-ghc-9.2.8/haskell-0.1.0.0" +sysconfdir = "/home/thing1/.cabal/etc" + +getBinDir = catchIO (getEnv "haskell_bindir") (\_ -> return bindir) +getLibDir = catchIO (getEnv "haskell_libdir") (\_ -> return libdir) +getDynLibDir = catchIO (getEnv "haskell_dynlibdir") (\_ -> return dynlibdir) +getDataDir = catchIO (getEnv "haskell_datadir") (\_ -> return datadir) +getLibexecDir = catchIO (getEnv "haskell_libexecdir") (\_ -> return libexecdir) +getSysconfDir = catchIO (getEnv "haskell_sysconfdir") (\_ -> return sysconfdir) + + + + +joinFileName :: String -> String -> FilePath +joinFileName "" fname = fname +joinFileName "." fname = fname +joinFileName dir "" = dir +joinFileName dir fname + | isPathSeparator (List.last dir) = dir ++ fname + | otherwise = dir ++ pathSeparator : fname + +pathSeparator :: Char +pathSeparator = '/' + +isPathSeparator :: Char -> Bool +isPathSeparator c = c == '/' diff --git a/comp/lucas-standen-NEA/writeup2/examples/fib/haskell/dist-newstyle/build/x86_64-linux/ghc-9.2.8/haskell-0.1.0.0/x/haskell/build/haskell/autogen/cabal_macros.h b/comp/lucas-standen-NEA/writeup2/examples/fib/haskell/dist-newstyle/build/x86_64-linux/ghc-9.2.8/haskell-0.1.0.0/x/haskell/build/haskell/autogen/cabal_macros.h new file mode 100644 index 0000000..34b2b11 --- /dev/null +++ b/comp/lucas-standen-NEA/writeup2/examples/fib/haskell/dist-newstyle/build/x86_64-linux/ghc-9.2.8/haskell-0.1.0.0/x/haskell/build/haskell/autogen/cabal_macros.h @@ -0,0 +1,120 @@ +/* DO NOT EDIT: This file is automatically generated by Cabal */ + +/* package haskell-0.1.0.0 */ +#ifndef VERSION_haskell +#define VERSION_haskell "0.1.0.0" +#endif /* VERSION_haskell */ +#ifndef MIN_VERSION_haskell +#define MIN_VERSION_haskell(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 1 || \ + (major1) == 0 && (major2) == 1 && (minor) <= 0) +#endif /* MIN_VERSION_haskell */ +/* package base-4.16.4.0 */ +#ifndef VERSION_base +#define VERSION_base "4.16.4.0" +#endif /* VERSION_base */ +#ifndef MIN_VERSION_base +#define MIN_VERSION_base(major1,major2,minor) (\ + (major1) < 4 || \ + (major1) == 4 && (major2) < 16 || \ + (major1) == 4 && (major2) == 16 && (minor) <= 4) +#endif /* MIN_VERSION_base */ + +/* tool gcc-14.2.1 */ +#ifndef TOOL_VERSION_gcc +#define TOOL_VERSION_gcc "14.2.1" +#endif /* TOOL_VERSION_gcc */ +#ifndef MIN_TOOL_VERSION_gcc +#define MIN_TOOL_VERSION_gcc(major1,major2,minor) (\ + (major1) < 14 || \ + (major1) == 14 && (major2) < 2 || \ + (major1) == 14 && (major2) == 2 && (minor) <= 1) +#endif /* MIN_TOOL_VERSION_gcc */ +/* tool ghc-9.2.8 */ +#ifndef TOOL_VERSION_ghc +#define TOOL_VERSION_ghc "9.2.8" +#endif /* TOOL_VERSION_ghc */ +#ifndef MIN_TOOL_VERSION_ghc +#define MIN_TOOL_VERSION_ghc(major1,major2,minor) (\ + (major1) < 9 || \ + (major1) == 9 && (major2) < 2 || \ + (major1) == 9 && (major2) == 2 && (minor) <= 8) +#endif /* MIN_TOOL_VERSION_ghc */ +/* tool ghc-pkg-9.2.8 */ +#ifndef TOOL_VERSION_ghc_pkg +#define TOOL_VERSION_ghc_pkg "9.2.8" +#endif /* TOOL_VERSION_ghc_pkg */ +#ifndef MIN_TOOL_VERSION_ghc_pkg +#define MIN_TOOL_VERSION_ghc_pkg(major1,major2,minor) (\ + (major1) < 9 || \ + (major1) == 9 && (major2) < 2 || \ + (major1) == 9 && (major2) == 2 && (minor) <= 8) +#endif /* MIN_TOOL_VERSION_ghc_pkg */ +/* tool haddock-2.26.0 */ +#ifndef TOOL_VERSION_haddock +#define TOOL_VERSION_haddock "2.26.0" +#endif /* TOOL_VERSION_haddock */ +#ifndef MIN_TOOL_VERSION_haddock +#define MIN_TOOL_VERSION_haddock(major1,major2,minor) (\ + (major1) < 2 || \ + (major1) == 2 && (major2) < 26 || \ + (major1) == 2 && (major2) == 26 && (minor) <= 0) +#endif /* MIN_TOOL_VERSION_haddock */ +/* tool hpc-0.68 */ +#ifndef TOOL_VERSION_hpc +#define TOOL_VERSION_hpc "0.68" +#endif /* TOOL_VERSION_hpc */ +#ifndef MIN_TOOL_VERSION_hpc +#define MIN_TOOL_VERSION_hpc(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 68 || \ + (major1) == 0 && (major2) == 68 && (minor) <= 0) +#endif /* MIN_TOOL_VERSION_hpc */ +/* tool hsc2hs-0.68.8 */ +#ifndef TOOL_VERSION_hsc2hs +#define TOOL_VERSION_hsc2hs "0.68.8" +#endif /* TOOL_VERSION_hsc2hs */ +#ifndef MIN_TOOL_VERSION_hsc2hs +#define MIN_TOOL_VERSION_hsc2hs(major1,major2,minor) (\ + (major1) < 0 || \ + (major1) == 0 && (major2) < 68 || \ + (major1) == 0 && (major2) == 68 && (minor) <= 8) +#endif /* MIN_TOOL_VERSION_hsc2hs */ +/* tool pkg-config-2.3.0 */ +#ifndef TOOL_VERSION_pkg_config +#define TOOL_VERSION_pkg_config "2.3.0" +#endif /* TOOL_VERSION_pkg_config */ +#ifndef MIN_TOOL_VERSION_pkg_config +#define MIN_TOOL_VERSION_pkg_config(major1,major2,minor) (\ + (major1) < 2 || \ + (major1) == 2 && (major2) < 3 || \ + (major1) == 2 && (major2) == 3 && (minor) <= 0) +#endif /* MIN_TOOL_VERSION_pkg_config */ +/* tool runghc-9.2.8 */ +#ifndef TOOL_VERSION_runghc +#define TOOL_VERSION_runghc "9.2.8" +#endif /* TOOL_VERSION_runghc */ +#ifndef MIN_TOOL_VERSION_runghc +#define MIN_TOOL_VERSION_runghc(major1,major2,minor) (\ + (major1) < 9 || \ + (major1) == 9 && (major2) < 2 || \ + (major1) == 9 && (major2) == 2 && (minor) <= 8) +#endif /* MIN_TOOL_VERSION_runghc */ +/* tool strip-2.43 */ +#ifndef TOOL_VERSION_strip +#define TOOL_VERSION_strip "2.43" +#endif /* TOOL_VERSION_strip */ +#ifndef MIN_TOOL_VERSION_strip +#define MIN_TOOL_VERSION_strip(major1,major2,minor) (\ + (major1) < 2 || \ + (major1) == 2 && (major2) < 43 || \ + (major1) == 2 && (major2) == 43 && (minor) <= 0) +#endif /* MIN_TOOL_VERSION_strip */ + +#ifndef CURRENT_COMPONENT_ID +#define CURRENT_COMPONENT_ID "haskell-0.1.0.0-inplace-haskell" +#endif /* CURRENT_COMPONENT_ID */ +#ifndef CURRENT_PACKAGE_VERSION +#define CURRENT_PACKAGE_VERSION "0.1.0.0" +#endif /* CURRENT_PACKAGE_VERSION */ diff --git a/comp/lucas-standen-NEA/writeup2/examples/fib/haskell/dist-newstyle/build/x86_64-linux/ghc-9.2.8/haskell-0.1.0.0/x/haskell/build/haskell/haskell b/comp/lucas-standen-NEA/writeup2/examples/fib/haskell/dist-newstyle/build/x86_64-linux/ghc-9.2.8/haskell-0.1.0.0/x/haskell/build/haskell/haskell Binary files differnew file mode 100755 index 0000000..edb4e5d --- /dev/null +++ b/comp/lucas-standen-NEA/writeup2/examples/fib/haskell/dist-newstyle/build/x86_64-linux/ghc-9.2.8/haskell-0.1.0.0/x/haskell/build/haskell/haskell diff --git a/comp/lucas-standen-NEA/writeup2/examples/fib/haskell/dist-newstyle/build/x86_64-linux/ghc-9.2.8/haskell-0.1.0.0/x/haskell/build/haskell/haskell-tmp/Main.dyn_hi b/comp/lucas-standen-NEA/writeup2/examples/fib/haskell/dist-newstyle/build/x86_64-linux/ghc-9.2.8/haskell-0.1.0.0/x/haskell/build/haskell/haskell-tmp/Main.dyn_hi Binary files differnew file mode 100644 index 0000000..e4c1256 --- /dev/null +++ b/comp/lucas-standen-NEA/writeup2/examples/fib/haskell/dist-newstyle/build/x86_64-linux/ghc-9.2.8/haskell-0.1.0.0/x/haskell/build/haskell/haskell-tmp/Main.dyn_hi diff --git a/comp/lucas-standen-NEA/writeup2/examples/fib/haskell/dist-newstyle/build/x86_64-linux/ghc-9.2.8/haskell-0.1.0.0/x/haskell/build/haskell/haskell-tmp/Main.dyn_o b/comp/lucas-standen-NEA/writeup2/examples/fib/haskell/dist-newstyle/build/x86_64-linux/ghc-9.2.8/haskell-0.1.0.0/x/haskell/build/haskell/haskell-tmp/Main.dyn_o Binary files differnew file mode 100644 index 0000000..16ea7ea --- /dev/null +++ b/comp/lucas-standen-NEA/writeup2/examples/fib/haskell/dist-newstyle/build/x86_64-linux/ghc-9.2.8/haskell-0.1.0.0/x/haskell/build/haskell/haskell-tmp/Main.dyn_o diff --git a/comp/lucas-standen-NEA/writeup2/examples/fib/haskell/dist-newstyle/build/x86_64-linux/ghc-9.2.8/haskell-0.1.0.0/x/haskell/cache/build b/comp/lucas-standen-NEA/writeup2/examples/fib/haskell/dist-newstyle/build/x86_64-linux/ghc-9.2.8/haskell-0.1.0.0/x/haskell/cache/build Binary files differnew file mode 100644 index 0000000..920bc19 --- /dev/null +++ b/comp/lucas-standen-NEA/writeup2/examples/fib/haskell/dist-newstyle/build/x86_64-linux/ghc-9.2.8/haskell-0.1.0.0/x/haskell/cache/build diff --git a/comp/lucas-standen-NEA/writeup2/examples/fib/haskell/dist-newstyle/build/x86_64-linux/ghc-9.2.8/haskell-0.1.0.0/x/haskell/cache/config b/comp/lucas-standen-NEA/writeup2/examples/fib/haskell/dist-newstyle/build/x86_64-linux/ghc-9.2.8/haskell-0.1.0.0/x/haskell/cache/config Binary files differnew file mode 100644 index 0000000..10499cc --- /dev/null +++ b/comp/lucas-standen-NEA/writeup2/examples/fib/haskell/dist-newstyle/build/x86_64-linux/ghc-9.2.8/haskell-0.1.0.0/x/haskell/cache/config diff --git a/comp/lucas-standen-NEA/writeup2/examples/fib/haskell/dist-newstyle/build/x86_64-linux/ghc-9.2.8/haskell-0.1.0.0/x/haskell/cache/registration b/comp/lucas-standen-NEA/writeup2/examples/fib/haskell/dist-newstyle/build/x86_64-linux/ghc-9.2.8/haskell-0.1.0.0/x/haskell/cache/registration Binary files differnew file mode 100644 index 0000000..b755b9f --- /dev/null +++ b/comp/lucas-standen-NEA/writeup2/examples/fib/haskell/dist-newstyle/build/x86_64-linux/ghc-9.2.8/haskell-0.1.0.0/x/haskell/cache/registration diff --git a/comp/lucas-standen-NEA/writeup2/examples/fib/haskell/dist-newstyle/build/x86_64-linux/ghc-9.2.8/haskell-0.1.0.0/x/haskell/package.conf.inplace/package.cache b/comp/lucas-standen-NEA/writeup2/examples/fib/haskell/dist-newstyle/build/x86_64-linux/ghc-9.2.8/haskell-0.1.0.0/x/haskell/package.conf.inplace/package.cache Binary files differnew file mode 100644 index 0000000..b3cae5c --- /dev/null +++ b/comp/lucas-standen-NEA/writeup2/examples/fib/haskell/dist-newstyle/build/x86_64-linux/ghc-9.2.8/haskell-0.1.0.0/x/haskell/package.conf.inplace/package.cache diff --git a/comp/lucas-standen-NEA/writeup2/examples/fib/haskell/dist-newstyle/build/x86_64-linux/ghc-9.2.8/haskell-0.1.0.0/x/haskell/package.conf.inplace/package.cache.lock b/comp/lucas-standen-NEA/writeup2/examples/fib/haskell/dist-newstyle/build/x86_64-linux/ghc-9.2.8/haskell-0.1.0.0/x/haskell/package.conf.inplace/package.cache.lock new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/comp/lucas-standen-NEA/writeup2/examples/fib/haskell/dist-newstyle/build/x86_64-linux/ghc-9.2.8/haskell-0.1.0.0/x/haskell/package.conf.inplace/package.cache.lock diff --git a/comp/lucas-standen-NEA/writeup2/examples/fib/haskell/dist-newstyle/build/x86_64-linux/ghc-9.2.8/haskell-0.1.0.0/x/haskell/setup-config b/comp/lucas-standen-NEA/writeup2/examples/fib/haskell/dist-newstyle/build/x86_64-linux/ghc-9.2.8/haskell-0.1.0.0/x/haskell/setup-config Binary files differnew file mode 100644 index 0000000..450c04a --- /dev/null +++ b/comp/lucas-standen-NEA/writeup2/examples/fib/haskell/dist-newstyle/build/x86_64-linux/ghc-9.2.8/haskell-0.1.0.0/x/haskell/setup-config |