This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Prelude> import LLVM.General as LG | |
Prelude LG> LG. | |
LG.Module LG.moduleObject LG.writeAssemblyToFile | |
LG.linkModules LG.moduleString LG.writeBitcodeToFile | |
LG.moduleAST LG.withModuleFromAST LG.writeObjectToFile | |
LG.moduleAssembly LG.withModuleFromString | |
Prelude LG> let f x = LG.linkModules x | |
Loading package transformers-0.3.0.0 ... linking ... done. | |
Loading package pretty-1.1.1.1 ... linking ... done. | |
Loading package array-0.5.0.0 ... linking ... done. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Module {moduleName = "<string>", moduleDataLayout = Just (DataLayout {endianness = Just LittleEndian, stackAlignment = Just 128, pointerLayouts = fromList [(AddrSpace 0,(64,AlignmentInfo {abiAlignment = 64, preferredAlignment = Just 64}))], typeLayouts = fromList [((IntegerAlign,1),AlignmentInfo {abiAlignment = 8, preferredAlignment = Just 8}),((IntegerAlign,8),AlignmentInfo {abiAlignment = 8, preferredAlignment = Just 8}),((IntegerAlign,16),AlignmentInfo {abiAlignment = 16, preferredAlignment = Just 16}),((IntegerAlign,32),AlignmentInfo {abiAlignment = 32, preferredAlignment = Just 32}),((IntegerAlign,64),AlignmentInfo {abiAlignment = 64, preferredAlignment = Just 64}),((VectorAlign,64),AlignmentInfo {abiAlignment = 64, preferredAlignment = Just 64}),((VectorAlign,128),AlignmentInfo {abiAlignment = 128, preferredAlignment = Just 128}),((FloatAlign,32),AlignmentInfo {abiAlignment = 32, preferredAlignment = Just 32}),((FloatAlign,64),AlignmentInfo {abiAlignment = 64, preferredAlignment = Just 64}),((FloatAlign |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# LANGUAGE CPP,MagicHash #-} | |
{-# LINE 10 "src/Text/Pandoc/Readers/Haddock/Lex.x" #-} | |
{-# LANGUAGE BangPatterns #-} -- Generated by Alex | |
{-# OPTIONS -Wwarn -w #-} | |
-- The above warning supression flag is a temporary kludge. | |
-- While working on this module you are encouraged to remove it and fix | |
-- any warnings in the module. See | |
-- http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#Warnings | |
-- for details |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
arter Desktop/repoScratcher » cabal install glfw --ghc-options="-pgma clang -pgmc clang -pgml clang" | |
Resolving dependencies... | |
Configuring GLFW-0.5.2.0... | |
Building GLFW-0.5.2.0... | |
Failed to install GLFW-0.5.2.0 | |
Last 10 lines of the build log ( /Users/carter/.cabal/logs/GLFW-0.5.2.0.log ): | |
gcc -Iglfw/include -Iglfw/lib -Iglfw/lib/cocoa -m64 -S -c glfw/lib/init.c -o glfw/lib/init.s | |
gcc -Iglfw/include -Iglfw/lib -Iglfw/lib/cocoa -m64 -S -c glfw/lib/input.c -o glfw/lib/input.s | |
gcc -Iglfw/include -Iglfw/lib -Iglfw/lib/cocoa -m64 -S -c glfw/lib/joystick.c -o glfw/lib/joystick.s | |
gcc -Iglfw/include -Iglfw/lib -Iglfw/lib/cocoa -m64 -S -c glfw/lib/stream.c -o glfw/lib/stream.s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%====Set up Listings=============================================================== | |
\definecolor{darkgreen}{rgb}{0,0.5,0} | |
\definecolor{darkred}{rgb}{0.5,0,0} | |
\lstloadlanguages{Haskell} | |
\lstnewenvironment{code} | |
{ % \centering | |
\lstset{}% | |
\csname lst@SetFirstLabel\endcsname} | |
{ %\centering |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gcc-4.8 -m64 -fno-stack-protector -DTABLES_NEXT_TO_CODE -m64 -dynamiclib -o /var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/ghc72168_0/ghc72168_231.dylib dist/build/LLVM/General/Internal/InstructionDefs.dyn_o dist/build/LLVM/General/Internal/FFI/Cleanup.dyn_o dist/build/LLVM/General/Internal/FFI/InstructionDefs.dyn_o dist/build/LLVM/General/Internal/FFI/PtrHierarchy.dyn_o -undefined dynamic_lookup -single_module -install_name '@rpath/ghc72168_231.dylib' -L/Users/carter/.cabal/lib/x86_64-osx-ghc-7.8.20140130/utf8-string-0.3.7 -Wl,-rpath -Wl,/Users/carter/.cabal/lib/x86_64-osx-ghc-7.8.20140130/utf8-string-0.3.7 -L/Users/carter/.cabal/lib/x86_64-osx-ghc-7.8.20140130/llvm-general-pure-3.4.0.0 -Wl,-rpath -Wl,/Users/carter/.cabal/lib/x86_64-osx-ghc-7.8.20140130/llvm-general-pure-3.4.0.0 -L/usr/local/lib/ghc-7.8.20140130/template-haskell-2.9.0.0 -Wl,-rpath -Wl,/usr/local/lib/ghc-7.8.20140130/template-haskell-2.9.0.0 -L/usr/local/lib/ghc-7.8.20140130/pretty-1.1.1.1 -Wl,-rpath -Wl,/usr/local/lib/ghc-7.8.20140130/pret |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ld: warning: direct access in llvm::fouts() to global weak symbol llvm::formatted_raw_ostream::~formatted_raw_ostream() means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. | |
ld: warning: direct access in llvm::ferrs() to global weak symbol llvm::formatted_raw_ostream::~formatted_raw_ostream() means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. | |
ld: warning: direct access in llvm::fdbgs() to global weak symbol llvm::formatted_raw_ostream::~formatted_raw_ostream() means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. | |
*** Deleting temp files: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[("Project name","The Glorious Glasgow Haskell Compilation System") | |
,("GCC extra via C opts"," -fwrapv") | |
,("C compiler command","gcc-4.8") | |
,("C compiler flags"," -m64 -fno-stack-protector") | |
,("C compiler link flags"," -m64") | |
,("ld command","/usr/bin/ld") | |
,("ld flags"," -arch x86_64") | |
,("ld supports compact unwind","YES") | |
,("ld supports build-id","NO") | |
,("ld supports filelist","YES") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
carter repoScratcher/ghc ‹ghc-7.8› » otool -L /usr/local/lib/ghc-7.8.20140130/bin/ghc | |
/usr/local/lib/ghc-7.8.20140130/bin/ghc: | |
@rpath/libHShaskeline-0.7.1.2-ghc7.8.20140130.dylib (compatibility version 0.0.0, current version 0.0.0) | |
@rpath/libHSterminfo-0.4.0.0-ghc7.8.20140130.dylib (compatibility version 0.0.0, current version 0.0.0) | |
@rpath/libHSghc-7.8.20140130-ghc7.8.20140130.dylib (compatibility version 0.0.0, current version 0.0.0) | |
@rpath/libHStransformers-0.3.0.0-ghc7.8.20140130.dylib (compatibility version 0.0.0, current version 0.0.0) | |
@rpath/libHStemplate-haskell-2.9.0.0-ghc7.8.20140130.dylib (compatibility version 0.0.0, current version 0.0.0) | |
@rpath/libHShpc-0.6.0.1-ghc7.8.20140130.dylib (compatibility version 0.0.0, current version 0.0.0) | |
@rpath/libHShoopl-3.10.0.0-ghc7.8.20140130.dylib (compatibility version 0.0.0, current version 0.0.0) | |
@rpath/libHSbin-package-db-0.0.0.0-ghc7.8.20140130.dylib (compatibility version 0.0.0, current version 0.0.0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
carter ghc-7.8.20140130/bin » otool -L ghc | |
ghc: | |
@rpath/libHShaskeline-0.7.1.2-ghc7.8.20140130.dylib (compatibility version 0.0.0, current version 0.0.0) | |
@rpath/libHSterminfo-0.4.0.0-ghc7.8.20140130.dylib (compatibility version 0.0.0, current version 0.0.0) | |
@rpath/libHSghc-7.8.20140130-ghc7.8.20140130.dylib (compatibility version 0.0.0, current version 0.0.0) | |
@rpath/libHStransformers-0.3.0.0-ghc7.8.20140130.dylib (compatibility version 0.0.0, current version 0.0.0) | |
@rpath/libHStemplate-haskell-2.9.0.0-ghc7.8.20140130.dylib (compatibility version 0.0.0, current version 0.0.0) | |
@rpath/libHShpc-0.6.0.1-ghc7.8.20140130.dylib (compatibility version 0.0.0, current version 0.0.0) | |
@rpath/libHShoopl-3.10.0.0-ghc7.8.20140130.dylib (compatibility version 0.0.0, current version 0.0.0) | |
@rpath/libHSbin-package-db-0.0.0.0-ghc7.8.20140130.dylib (compatibility version 0.0.0, current version 0.0.0) |
OlderNewer