diff options
author | Jonathan Maw <jonathan.maw@codethink.co.uk> | 2013-02-21 17:05:34 +0000 |
---|---|---|
committer | Jonathan Maw <jonathan.maw@codethink.co.uk> | 2013-02-21 17:05:36 +0000 |
commit | 31dde8ccd1281152347242e1a376f78f6e82b9d4 (patch) | |
tree | 3431303b2ae78d30eaf9f2fa869269cc9cd8540d | |
parent | 624cae3c3f3105bec3ebfdb43b184c551494db52 (diff) | |
download | gcc-tarball-31dde8ccd1281152347242e1a376f78f6e82b9d4.tar.gz |
Add cxx-dynamic.morph
cxx-dynamic adds shared C++ libraries, and can be integrated on top of
gcc.morph
Doing so will take as long as building gcc twice, so this should be
avoided if possible.
-rw-r--r-- | cxx-dynamic.morph | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/cxx-dynamic.morph b/cxx-dynamic.morph new file mode 100644 index 0000000000..e65d35217a --- /dev/null +++ b/cxx-dynamic.morph @@ -0,0 +1,17 @@ +{ + "name": "cxx-dynamic", + "kind": "chunk", + "configure-commands": [ + "sed -i 's@\\./fixinc\\.sh@-c true@' gcc/Makefile.in", + "mkdir o", + "cd o && ../configure --prefix=/usr --enable-clocale=gnu --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-languages=c,c++ --disable-libstdcxx-pch --disable-multilib --disable-libgomp --without-ppl --without-cloog" + ], + "build-commands": [ + "cd o && make" + ], + "install-commands": [ + "cd o && make DESTDIR=\"$DESTDIR\" install-target-libstdc++-v3", + "cd o && make DESTDIR=\"$DESTDIR\" install-target-libgcc" + ] +} + |