resurrecting the gnu c++ build on windows
[feisty_meow.git] / scripts / generator / build_variables.sh
index c8a4c3ec637ba19c1fecbbb8e0aa2c1d5b89f1e1..0856f06c89f384b00c922dbc228ae6b0cd0ca7e9 100644 (file)
@@ -1,3 +1,5 @@
+#!/bin/bash
+
 ##############
 #
 #  Name   : build variable calculator
@@ -179,12 +181,12 @@ if [ -z "$got_bad" ]; then
 
   # where we store the binaries used for building the rest of the code base.
   export CLAM_BINARIES="$RUNTIME_PATH/clam_bin"
-    # the final destination for the new binaries which provide the hoople
-    # build with all the apps it needs to get going.
+    # the final destination for the new binaries which provide the
+    # build with all the applications it needs to get going.
   export TARGETS_STORE="$RUNTIME_PATH/binaries"
     # targets directory is meaningful to clam, which will use it for output.
   export INTERMEDIATE_STORE="$TARGETS_STORE"
-    # where we are building the apps before they get promoted.
+    # where we are building the applications before they get promoted.
 
 #hmmm: could allow override on this if already set.
   # calculate which build ini file to use.
@@ -206,9 +208,15 @@ if [ -z "$got_bad" ]; then
   
   # load up the helper variables for visual studio on winders.
   if [ "$OPERATING_SYSTEM" == "WIN32" ]; then
-    source "$BUILD_SCRIPTS_PATH/vis_stu_vars.sh"
+#no.    source "$BUILD_SCRIPTS_PATH/vis_stu_vars.sh"
+    # we are trying to move back to our good path of using gcc, not visual studio.
+    # the visual studio rig was for version 6?  a long time ago, and has withered
+    # on the vine.  meanwhile gnu cc is still cooking along and available.
+#what vars needed?
+#trying just unixy ones, since we're doing cygwin on doze.
+export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$TARGETS_STORE"
   else
-    export LD_LIBRARY_PATH="$TARGETS_STORE"
+    export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$TARGETS_STORE"
   fi
   
   popd &>/dev/null # checking is over, jump back to the starting point.