Skip to content

Instantly share code, notes, and snippets.

@JohannesMP
Last active August 1, 2018 08:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save JohannesMP/1e7ed200367460255971 to your computer and use it in GitHub Desktop.
Save JohannesMP/1e7ed200367460255971 to your computer and use it in GitHub Desktop.
@echo off
set "GCC_PATH_ADD=C:\Program Files (x86)\LLVM\bin;C:\mingw32\bin"
if defined GCC_PATH_BASE (
set "PATH=%GCC_PATH_BASE%"
) else (
set "GCC_PATH_BASE=%PATH%"
)
set "PATH=%GCC_PATH_ADD%;%PATH%"
echo - clang and gnu compiler are now 32 bit
echo.
@echo on
@echo off
set "GCC_PATH_ADD=C:\Program Files\LLVM\bin;C:\mingw64\bin"
if defined GCC_PATH_BASE (
set "PATH=%GCC_PATH_BASE%"
) else (
set "GCC_PATH_BASE=%PATH%"
)
set "PATH=%GCC_PATH_ADD%;%PATH%"
echo - clang and gnu compiler are now 64 bit
echo.
@echo on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment