Skip to content

Instantly share code, notes, and snippets.

@deech
Created August 30, 2013 23:46
Show Gist options
  • Save deech/6395316 to your computer and use it in GitHub Desktop.
Save deech/6395316 to your computer and use it in GitHub Desktop.
Extra libs not statically linked ...
$cabal build -v2
creating dist/setup
./dist/setup/setup build --verbose=2
PackageDescription {package = PackageIdentifier {pkgName = PackageName "fltkhs", pkgVersion = Version {versionBranch = [0,1,0,0], versionTags = []}}, license = MIT, licenseFile = "LICENSE", copyright = "", maintainer = "[email protected]", author = "Aditya Siram", stability = "", testedWith = [], homepage = "http://github.com/deech/fltkc", pkgUrl = "", bugReports = "", sourceRepos = [], synopsis = "FLTK bindings", description = "Low level bindings for the FLTK GUI toolkit.", category = "UI", customFieldsPD = [], buildDepends = [Dependency (PackageName "base") (IntersectVersionRanges AnyVersion (ThisVersion (Version {versionBranch = [4,6,0,1], versionTags = []})))], specVersionRaw = Right (UnionVersionRanges (ThisVersion (Version {versionBranch = [1,8], versionTags = []})) (LaterVersion (Version {versionBranch = [1,8], versionTags = []}))), buildType = Just Custom, library = Just (Library {exposedModules = [ModuleName ["Graphics","UI","FLTK","Test"],ModuleName ["Graphics","UI","FLTK","Window"]], libExposed = True, libBuildInfo = BuildInfo {buildable = True, buildTools = [Dependency (PackageName "c2hs") AnyVersion], cppOptions = [], ccOptions = [], ldOptions = [], pkgconfigDepends = [], frameworks = [], cSources = [], hsSourceDirs = ["src"], otherModules = [], defaultLanguage = Nothing, otherLanguages = [], defaultExtensions = [], otherExtensions = [], oldExtensions = [EnableExtension ForeignFunctionInterface], extraLibs = ["fltkc"], extraLibDirs = ["/home/deech/Old/Haskell/fltkhs/lib"], includeDirs = ["/home/deech/Old/Haskell/fltkhs/c-src","/home/deech/Old/Haskell/fltkhs"], includes = [], installIncludes = [], options = [], ghcProfOptions = [], ghcSharedOptions = [], customFieldsBI = [], targetBuildDepends = [Dependency (PackageName "base") (IntersectVersionRanges AnyVersion (ThisVersion (Version {versionBranch = [4,6,0,1], versionTags = []})))]}}), executables = [], testSuites = [], benchmarks = [], dataFiles = [], dataDir = "", extraSrcFiles = [], extraTmpFiles = []}
creating dist/build
creating dist/build/autogen
Building fltkhs-0.1.0.0...
Preprocessing library fltkhs-0.1.0.0...
Building library...
creating dist/build
/usr/local/bin/ghc --make -fbuilding-cabal-package -O -odir dist/build -hidir dist/build -stubdir dist/build -i -idist/build -isrc -idist/build/autogen -Idist/build/autogen -Idist/build -I/home/deech/Old/Haskell/fltkhs/c-src -I/home/deech/Old/Haskell/fltkhs -optP-include -optPdist/build/autogen/cabal_macros.h -package-name fltkhs-0.1.0.0 -hide-all-packages -package-db dist/package.conf.inplace -package-id base-4.6.0.1-8aa5d403c45ea59dcd2c39f123e27d57 -XHaskell98 -XForeignFunctionInterface Graphics.UI.FLTK.Test Graphics.UI.FLTK.Window
Linking...
/usr/bin/ar -r dist/build/libHSfltkhs-0.1.0.0.a dist/build/Graphics/UI/FLTK/Test.o dist/build/Graphics/UI/FLTK/Window.o
/usr/bin/ar: creating dist/build/libHSfltkhs-0.1.0.0.a
/usr/bin/ld -x --hash-size=31 --reduce-memory-overheads -r -o dist/build/HSfltkhs-0.1.0.0.o dist/build/Graphics/UI/FLTK/Test.o dist/build/Graphics/UI/FLTK/Window.o
In-place registering fltkhs-0.1.0.0...
/usr/local/bin/ghc-pkg update - --global --user --package-db=dist/package.conf.inplace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment