[llvm-commits] [dragonegg] r100927 - in /dragonegg/trunk: README extras/do_self_strap
Duncan Sands
baldrick at free.fr
Sat Apr 10 06:18:07 PDT 2010
Author: baldrick
Date: Sat Apr 10 08:18:07 2010
New Revision: 100927
URL: http://llvm.org/viewvc/llvm-project?rev=100927&view=rev
Log:
Make clear that gcc should be configured with --enable-plugin. If you
don't specify this then plugins are enabled automatically if gcc thinks
the platform supports them. The point of adding --enable-plugin is that
if gcc thinks the platform *does not* support plugins then you discover
that at gcc build time, and not later when trying to build the plugin.
Modified:
dragonegg/trunk/README
dragonegg/trunk/extras/do_self_strap
Modified: dragonegg/trunk/README
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/README?rev=100927&r1=100926&r2=100927&view=diff
==============================================================================
--- dragonegg/trunk/README (original)
+++ dragonegg/trunk/README Sat Apr 10 08:18:07 2010
@@ -18,9 +18,9 @@
cat gcc-patches/*.diff | patch -d SomeLocalDir -p1
Hopefully one day the plugin will work with an unpatched gcc, but for the
moment a small patch needs to be applied. Configure gcc with your favorite
-options and also with --enable-lto. Build gcc and install it somewhere.
-If you don't have libelf installed then the build will fail, because gcc's
-LTO code makes use of it, see
+options and also with --enable-plugin and --enable-lto. Build gcc and install
+it somewhere. If you don't have libelf installed then the build will fail,
+because gcc's LTO code makes use of it, see
http://gcc.gnu.org/wiki/LinkTimeOptimization#Building_the_branch
Darwin special: the gcc configure script thinks darwin doesn't support dynamic
Modified: dragonegg/trunk/extras/do_self_strap
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/extras/do_self_strap?rev=100927&r1=100926&r2=100927&view=diff
==============================================================================
--- dragonegg/trunk/extras/do_self_strap (original)
+++ dragonegg/trunk/extras/do_self_strap Sat Apr 10 08:18:07 2010
@@ -42,12 +42,13 @@
# How to configure GCC. As a minimum you need to enable C and C++, but you can
-# also enable other languages if you like. You must specify --enable-lto. The
-# other flags are optional. The reason for --disable-multilib is that GCC fails
-# to build on my machine without it (this is a GCC issue, and has nothing to do
-# with dragonegg or LLVM).
-GCC_OPTIONS="--enable-lto --enable-languages=c,c++ --disable-bootstrap \
- --disable-multilib --enable-checking $GCC_OPTIONS"
+# also enable other languages if you like. You must specify --enable-plugin and
+# --enable-lto. The other flags are optional. The reason for --disable-multilib
+# is that GCC fails to build on my machine without it (this is a GCC issue, and
+# has nothing to do with dragonegg or LLVM).
+GCC_OPTIONS="--enable-plugin --enable-lto --enable-languages=c,c++ \
+ --disable-bootstrap --disable-multilib --enable-checking \
+ $GCC_OPTIONS"
# How to configure LLVM. These are all optional. On my machine, the debugger
# refuses to work with dragonegg unless I build LLVM with --disable-threads.
More information about the llvm-commits
mailing list