lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master fa8bfb7 4/4: Build for x86_64-pc-linux-gnu us


From: Greg Chicares
Subject: [lmi-commits] [lmi] master fa8bfb7 4/4: Build for x86_64-pc-linux-gnu using lmi makefiles--no GUI yet
Date: Sat, 26 Sep 2020 14:24:45 -0400 (EDT)

branch: master
commit fa8bfb743ea2db223d60c4325dce2812fc6c412f
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Build for x86_64-pc-linux-gnu using lmi makefiles--no GUI yet
    
    GUI builds are not yet supported. For other builds, this message:
      wx-config: Command not found
    can be ignored.
    
    An advisory message is redirected to 'tty' lest it be captured as part
    of a shell script which would then fail.
---
 set_toolchain.sh | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/set_toolchain.sh b/set_toolchain.sh
index 3de24cf..c45c6ad 100755
--- a/set_toolchain.sh
+++ b/set_toolchain.sh
@@ -27,8 +27,9 @@
 # used in production if they were unset or null beforehand. They can
 # be overridden at the command line, e.g.:
 #
-#   LMI_COMPILER=gcc ; LMI_TRIPLET=i686-w64-mingw32   ; . 
/opt/lmi/src/lmi/set_toolchain.sh
-#   LMI_COMPILER=gcc ; LMI_TRIPLET=x86_64-w64-mingw32 ; . 
/opt/lmi/src/lmi/set_toolchain.sh
+#   LMI_COMPILER=gcc ; LMI_TRIPLET=i686-w64-mingw32    ; . 
/opt/lmi/src/lmi/set_toolchain.sh
+#   LMI_COMPILER=gcc ; LMI_TRIPLET=x86_64-w64-mingw32  ; . 
/opt/lmi/src/lmi/set_toolchain.sh
+#   LMI_COMPILER=gcc ; LMI_TRIPLET=x86_64-pc-linux-gnu ; . 
/opt/lmi/src/lmi/set_toolchain.sh
 #
 # Implemented as a function that runs and then erases itself, so that
 # sourcing this script changes the environment only as intended. This
@@ -149,8 +150,9 @@ case "$LMI_COMPILER" in
 esac
 
 case "$LMI_TRIPLET" in
-    (i686-w64-mingw32)   ;;
-    (x86_64-w64-mingw32) ;;
+    (i686-w64-mingw32)    ;;
+    (x86_64-w64-mingw32)  ;;
+    (x86_64-pc-linux-gnu) printf '%s\n' "GUI build not yet supported." > 
/dev/tty ;;
     (*)
         printf '%s\n' "Changed nothing because host triplet '$LMI_TRIPLET' is 
untested."
         return 3;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]