<commit_before>Installing tcpcrypt on Windows
==============================

Compiling
=========

Only cross-compiling for Windows on Linux (using mingw) is supported right now. You can almost certainly compile the Windows version on Windows itself, but we haven't done that yet (if you have, contact us).

Using mingw, run the following commands to cross-compile tcpcrypt for Windows
on a Linux host.

    cd tcpcrypt/user
./configure CC=i586-mingw32msvc-gcc CFLAGS="-mwin32 -D__WIN32__ -I<path-to-mingw-openssl>/include" LDFLAGS=" -L<path-to-openssl> " --target=i586-mingw32msvc --host=i586-mingw32msvc --prefix=/usr/local/i586-mingw32msvc<commit_msg>simplified windows docs ./configure cmd<commit_after>Installing tcpcrypt on Windows
==============================

Compiling
=========

Only cross-compiling for Windows on Linux (using mingw) is supported right now. You can almost certainly compile the Windows version on Windows itself, but we haven't done that yet (if you have, contact us).

Using mingw, run the following commands to cross-compile tcpcrypt for Windows
on a Linux host.

    cd tcpcrypt/user
    ./configure CFLAGS="-mwin32 -D__WIN32__ -I/home/sqs/src/mingw/OpenSSL-Win32/include" LDFLAGS=" -L/home/sqs/src/mingw/OpenSSL-Win32/ " --host=i586-mingw32msvc
{'fraction_non_alphanumeric': 0.14397496087636932, 'fraction_numerical': 0.028951486697965573, 'mean_word_length': 4.787330316742081, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '887507', 'n_tokens_mistral': 420, 'n_tokens_neox': 382, 'n_words': 132}