Pārlūkot izejas kodu

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

Nathalie Furmento 12 gadi atpakaļ
vecāks
revīzija
f04dafc99f
1 mainītis faili ar 6 papildinājumiem un 0 dzēšanām
  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