Browse Source

Remove gcc from Windows

pull/63/head
Kevin Bogusch 5 months ago
parent
commit
ef351da849
  1. 9
      week4/day4.ipynb

9
week4/day4.ipynb

@ -508,15 +508,6 @@
" my_compiler = [\"Windows\", \"Visual Studio 2019\", [\"cmd\", \"/c\", VISUAL_STUDIO_2019_TOOLS, \"&\", \"cl\", f\"{filename_base}.cpp\"]]\n",
" \n",
" if not my_compiler:\n",
" if os.path.isfile(\"./simple.exe\"):\n",
" os.remove(\"./simple.exe\")\n",
" compile_cmd = [\"cmd\", \"/c\", \"gcc\", \"simple.cpp\"]\n",
" if run_cmd(compile_cmd):\n",
" print(\"here\")\n",
" if run_cmd([\"./simple\"]) == \"Hello\":\n",
" my_compiler = [\"Windows\", \"GCC\", [\"cmd\", \"/c\", \"gcc\", f\"{filename_base}.cpp\"]]\n",
" \n",
" if not my_compiler:\n",
" my_compiler=[my_platform, \"Unavailable\", []]\n",
" \n",
" elif my_platform == \"Linux\":\n",

Loading…
Cancel
Save