<commit_before>set(toolchain_dir /opt/roots/win32-static)
set(toolchain_bin_dir ${toolchain_dir}/bin)
set(toolchain_inc_dir ${toolchain_dir}/include)
set(toolchain_lib_dir ${toolchain_dir}/lib)
set(cross_prefix /usr/local/bin/i686-w64-mingw32-)
set(ENV{PKG_CONFIG_LIBDIR} ${toolchain_dir}/lib/pkgconfig)
set(ENV{PKG_CONFIG_PATH} ${toolchain_lib_dir}/pkgconfig:${toolchain_dir}/share/pkgconfig)
set(CMAKE_PREFIX_PATH ${toolchain_dir})

set(inc_flags "-I/usr/local/i686-w64-mingw32/include -B/usr/local/lib/gcc/i686-w64-mingw32/4.9.1 -I${toolchain_dir}/usr/include")
set(link_flags "-static-libgcc -static-libstdc++ -Bstatic -L${toolchain_dir}/plugins/platforms -L${toolchain_dir}/plugins/audio")

set(CMAKE_SYSTEM_NAME Windows CACHE INTERNAL "system name")
set(CMAKE_AR ${cross_prefix}ar CACHE FILEPATH "archiver")
set(CMAKE_C_COMPILER ${cross_prefix}gcc)
set(CMAKE_CXX_COMPILER ${cross_prefix}g++)
set(CMAKE_ASM_COMPILER ${cross_prefix}gcc)
set(CMAKE_RC_COMPILER ${cross_prefix}windres)
set(CMAKE_LINKER ${cross_prefix}ld)

set(CMAKE_EXE_LINKER_FLAGS ${link_flags} CACHE INTERNAL "exe link flags")<commit_msg>Update Windows to gcc 4.9.3, allow LTO<commit_after>set(toolchain_dir /opt/roots/win32-static)
set(toolchain_bin_dir ${toolchain_dir}/bin)
set(toolchain_inc_dir ${toolchain_dir}/include)
set(toolchain_lib_dir ${toolchain_dir}/lib)
set(cross_prefix /usr/local/bin/i686-w64-mingw32-)
set(ENV{PKG_CONFIG_LIBDIR} ${toolchain_dir}/lib/pkgconfig)
set(ENV{PKG_CONFIG_PATH} ${toolchain_lib_dir}/pkgconfig:${toolchain_dir}/share/pkgconfig)
set(CMAKE_PREFIX_PATH ${toolchain_dir})

set(inc_flags "-I/usr/local/i686-w64-mingw32/include -B/usr/local/lib/gcc/i686-w64-mingw32/4.9.3 -I${toolchain_dir}/usr/include")
set(link_flags "-static-libgcc -static-libstdc++ -Bstatic -L${toolchain_dir}/plugins/platforms -L${toolchain_dir}/plugins/audio")

set(CMAKE_SYSTEM_NAME Windows CACHE INTERNAL "system name")
set(CMAKE_AR ${cross_prefix}gcc-ar CACHE FILEPATH "archiver")
set(CMAKE_RANLIB ${cross_prefix}gcc-ranlib CACHE FILEPATH "ranlib")
set(CMAKE_C_COMPILER ${cross_prefix}gcc)
set(CMAKE_CXX_COMPILER ${cross_prefix}g++)
set(CMAKE_ASM_COMPILER ${cross_prefix}gcc)
set(CMAKE_RC_COMPILER ${cross_prefix}windres)
set(CMAKE_LINKER ${cross_prefix}ld)

set(CMAKE_EXE_LINKER_FLAGS ${link_flags} CACHE INTERNAL "exe link flags")
{'fraction_non_alphanumeric': 0.14341252699784018, 'fraction_numerical': 0.023758099352051837, 'mean_word_length': 9.069565217391304, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3182744', 'n_tokens_mistral': 979, 'n_tokens_neox': 910, 'n_words': 118}