Parcourir la source

mic-configure: error when mic gcc compiler not found in PATH

Nathalie Furmento il y a 12 ans
Parent
commit
f04dafc99f
1 fichiers modifiés avec 6 ajouts et 0 suppressions
  1. 6 0
      mic-configure

+ 6 - 0
mic-configure

@@ -28,6 +28,12 @@ do
 
 done
 
+if [ ! -x "${mic_host}-gcc" ]
+then
+    echo "[error] please add path to ${mic_host}-gcc in your PATH"
+    exit 1
+fi
+
 for arch in mic host
 do
 	# We call the configure script from a build directory further in the