Skip to content

Instantly share code, notes, and snippets.

@rossy
Created August 31, 2012 01:31
Show Gist options
  • Star 10 You must be signed in to star a gist
  • Fork 6 You must be signed in to fork a gist
  • Save rossy/3547420 to your computer and use it in GitHub Desktop.
Save rossy/3547420 to your computer and use it in GitHub Desktop.
MinGW SublimeClang configuration
{
"show_output_panel": false,
"dont_prepend_clang_includes": true,
"additional_language_options":
{
"c++" :
[
"-std=gnu++11",
"-isystem", "C:\\cygwin\\usr\\i686-w64-mingw32\\sys-root\\mingw\\include\\c++\\4.8.0",
"-isystem", "C:\\cygwin\\lib\\gcc\\i686-w64-mingw32\\4.8.0\\include\\c++"
],
"c":
[
"-std=gnu11"
],
"objc":
[
"-std=gnu11",
"-isystem", "C:\\cygwin\\lib\\gcc\\i686-w64-mingw32\\4.8.0\\include\\objc"
],
"objc++":
[
"-std=gnu++11",
"-isystem", "C:\\cygwin\\usr\\i686-w64-mingw32\\sys-root\\mingw\\include\\c++\\4.8.0",
"-isystem", "C:\\cygwin\\lib\\gcc\\i686-w64-mingw32\\4.8.0\\include\\c++",
"-isystem", "C:\\cygwin\\lib\\gcc\\i686-w64-mingw32\\4.8.0\\include\\objc"
]
},
"options":
[
"-m32",
"-w",
"-ferror-limit=9",
"-fgnu-runtime",
"-fms-extensions",
"-nostdinc",
"-isystem", "C:\\mingw32-dw2\\lib\\clang\\3.1\\include",
"-isystem", "C:\\cygwin\\usr\\i686-w64-mingw32\\sys-root\\mingw\\include",
"-isystem", "C:\\mingw32-dw2\\i686-w64-mingw32\\include",
"-isystem", "C:\\mingw32-dw2\\mingw\\include",
"-isystem", "C:\\mingw32-dw2\\include",
"-D__GNUC__=4",
"-D__GNUC_MINOR__=2",
"-D__GNUC_PATCHLEVEL__=1",
"-D__GXX_ABI_VERSION__=1002",
"-Di386=1",
"-D__i386=1",
"-D__i386__=1",
"-DWIN32=1",
"-D_WIN32=1",
"-D__WIN32=1",
"-D__WIN32__=1",
"-DWINNT=1",
"-D__WINNT=1",
"-D__WINNT__=1",
"-D_X86_=1",
"-D__MSVCRT__=1",
"-D__MINGW32__=1",
"-D__STDC_VERSION__=201112L"
]
}
@shangbo
Copy link

shangbo commented Apr 17, 2014

Could you explain those code's meaning please?
I can't understand them....Orz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment