Advertisement
DEKTEN

MCV/005/MAIN.SH

Sep 22nd, 2021
623
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.32 KB | None | 0 0
  1.     gcc_exe="M:\SOF\GCC\bin\gcc.exe"
  2.  
  3.     $gcc_exe -x c -c "MAIN.C11" -o "obj.obj"
  4.     $gcc_exe -o "exe.exe" "obj.obj"
  5.  
  6.     ./exe.exe
  7.     bash_exit_status_variable=$?
  8.     echo "[bash_exit_status_variable]:"
  9.     echo  $bash_exit_status_variable
  10.  
  11.     rm "obj.obj"
  12.     rm "exe.exe"
  13.  
  14.     read -p "[Press_Any_Key_To_Exit]"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement