summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2012-12-27 18:13:03 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2012-12-27 18:13:03 +0000
commitd966f23ad530a6cf35f26b39396da5cd9accbaad (patch)
tree654f21e15421e614805e4d565f451452c5bd823b
parent7f4ed864c796bf4b64caff078d3a37816ae7bb97 (diff)
downloadgcc-tarball-d966f23ad530a6cf35f26b39396da5cd9accbaad.tar.gz
Add morphology for normal build-essential build
This has most of the compile flags of a normal build, but the branch is based on baserock/bootstrap-pass1-1 because we don't have any autotools, flex or bison available.
-rw-r--r--gcc-bootstrap-pass1-1.morph16
-rw-r--r--gcc.morph15
2 files changed, 15 insertions, 16 deletions
diff --git a/gcc-bootstrap-pass1-1.morph b/gcc-bootstrap-pass1-1.morph
deleted file mode 100644
index 51d4944f33..0000000000
--- a/gcc-bootstrap-pass1-1.morph
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "name": "gcc-bootstrap-pass1-1",
- "kind": "chunk",
- "configure-commands": [
- "mkdir o",
- "cd o && ../configure --target=\"$TOOLCHAIN_TARGET\" --prefix=\"$PREFIX\" --disable-nls --disable-shared --disable-multilib --disable-decimal-float --disable-threads --disable-libmudflap --disable-libssp --disable-libgomp --disable-libquadmath --disable-target-libiberty --disable-target-zlib --enable-languages=c --without-ppl --without-cloog --with-mpfr-include=\"$(pwd)/../mpfr/src\" --with-mpfr-lib=\"$(pwd)/mpfr/src/.libs\""
- ],
- "build-commands": [
- "cd o && make"
- ],
- "install-commands": [
- "cd o && make DESTDIR=\"$DESTDIR\" install",
- "for f in `find \"$DESTDIR\" -name libgcc.a`; do EH=\"`echo \"$f\" | sed 's/libgcc/&_eh/'`\" && if [ ! -e \"$EH\" ]; then ln -s libgcc.a \"$EH\"; fi; done"
- ]
-}
-
diff --git a/gcc.morph b/gcc.morph
new file mode 100644
index 0000000000..3d5957ad19
--- /dev/null
+++ b/gcc.morph
@@ -0,0 +1,15 @@
+{
+ "name": "gcc",
+ "kind": "chunk",
+ "configure-commands": [
+ "mkdir o",
+ "cd o && ../configure --prefix=\"$PREFIX\" --disable-libgomp --disable-multilib --disable-nls --enable-__cxa_atexit --enable-languages=c,c++ --enable-threads=posix --without-cloog --without-ppl --with-mpfr-include=\"$(pwd)/../mpfr/src\" --with-mpfr-lib=\"$(pwd)/mpfr/src/.libs\""
+ ],
+ "build-commands": [
+ "cd o && make"
+ ],
+ "install-commands": [
+ "cd o && make DESTDIR=\"$DESTDIR\" install",
+ ]
+}
+