Skip to content

Instantly share code, notes, and snippets.

@TimSimpson
TimSimpson / gist:e0d168f02bee2ea2c065
Created November 15, 2015 01:04
Boost Build 1.59 errors when the site-config.jam is completely missing the "using boost" line
When the site-config.jam has no "using boost" line at all:
c:\Work\github\TimSimpson\BoostBuildExamples\boost-test>b2 address-model=64 toolset=msvc-12.0 link=shared
Performing configuration checks
- 32-bit : yes
- arm : no
- mips1 : no
- power : no
@TimSimpson
TimSimpson / gist:027b5c0b1b32793471a1
Created November 15, 2015 00:43
Boost Build 1.59 compiling Boost Test example with "wrongly" specified site-config.jam
Site config says:
using boost
: 1.59
;
Command line says:
c:\Work\github\TimSimpson\BoostBuildExamples\boost-test>b2 address-model=32 toolset=msvc-12.0
Performing configuration checks
@TimSimpson
TimSimpson / clang.diff
Created October 5, 2013 16:05
These are two diff files created by Aditya Kumar for his presentation on the LLVM project (see here for more info http://www.meetup.com/The-Austin-C-C-Meetup-Group/events/142294062/). From Aditya's notes: """ The clang.diff file can be applied directly as is. The llvm.diff file contains changes to be made to the existing source files as well as …
diff --git a/examples/Makefile b/examples/Makefile
index d8d9028..700014b 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -9,6 +9,6 @@
CLANG_LEVEL := ..
-PARALLEL_DIRS := analyzer-plugin clang-interpreter PrintFunctionNames
+PARALLEL_DIRS := analyzer-plugin PrintFunctionNames
configure:3407: /usr/kos/kos/utils/dc-chain/build-gcc-sh-elf-4.7.0/./gcc/xgcc -B/usr/kos/kos/utils/dc-chain/build-gcc-sh-elf-4.7.0/./gcc/ -B/opt/toolchains/dc/sh-elf/sh-elf/bin/ -B/opt/toolchains/dc/sh-elf/sh-elf/lib/ -isystem /opt/toolchains/dc/sh-elf/sh-elf/include -isystem /opt/toolchains/dc/sh-elf/sh-elf/sys-include -V >&5
xgcc: error: unrecognized command line option '-V'
xgcc: fatal error: no input files
compilation terminated.
configure:3418: $? = 1
configure:3407: /usr/kos/kos/utils/dc-chain/build-gcc-sh-elf-4.7.0/./gcc/xgcc -B/usr/kos/kos/utils/dc-chain/build-gcc-sh-elf-4.7.0/./gcc/ -B/opt/toolchains/dc/sh-elf/sh-elf/bin/ -B/opt/toolchains/dc/sh-elf/sh-elf/lib/ -isystem /opt/toolchains/dc/sh-elf/sh-elf/include -isystem /opt/toolchains/dc/sh-elf/sh-elf/sys-include -qversion >&5
xgcc: error: unrecognized command line option '-qversion'
xgcc: fatal error: no input files
compilation terminated.
configure:3418: $? = 1