[llvm-commits] [dragonegg] r101905 - /dragonegg/trunk/extras/do_self_strap

Duncan Sands baldrick at free.fr
Tue Apr 20 08:02:07 PDT 2010


Author: baldrick
Date: Tue Apr 20 10:02:07 2010
New Revision: 101905

URL: http://llvm.org/viewvc/llvm-project?rev=101905&view=rev
Log:
If building Ada, make sure that the newly built GNAT tools are
used, rather than the system tools.

Modified:
    dragonegg/trunk/extras/do_self_strap

Modified: dragonegg/trunk/extras/do_self_strap
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/extras/do_self_strap?rev=101905&r1=101904&r2=101905&view=diff
==============================================================================
--- dragonegg/trunk/extras/do_self_strap (original)
+++ dragonegg/trunk/extras/do_self_strap Tue Apr 20 10:02:07 2010
@@ -158,6 +158,7 @@
   export CC="$GCC_INSTALL/bin/gcc $PLUGIN_OPTION"
   export CXX="$GCC_INSTALL/bin/g++ $PLUGIN_OPTION"
   export GCC=$CC # Tells dragonegg what to build against
+  export PATH=$GCC_INSTALL/bin:$PATH # For gnatmake, gnatbind etc if building Ada
 
   # The built libstdc++ and libgcc may be more recent than the system versions.
   # Set the library path so that programs compiled with the just built GCC will





More information about the llvm-commits mailing list