<commit_before>import os, sys, subprocess
import py
from rpython.translator.tool.cbuild import ExternalCompilationInfo
from rpython.rtyper.lltypesystem import rffi
from rsqueakvm.util import system

_Default = "Squeak.image"

if system.IS_ARM:
    def get_file():
        return _Default
else:
    
    this_dir = py.path.local(__file__).dirpath()
    
    if system.IS_WINDOWS:
        lfiles = ['comdlg32.lib', 'ole32.lib', 'shell32.lib', 'user32.lib']
    else:
        lfiles = [str(this_dir.join("tinyfiledialogs/tinyfiledialogs.c"))]
    
    eci = ExternalCompilationInfo(
            include_dirs=[this_dir],
            link_files=lfiles,
            separate_module_sources=["""
                #include <string.h>
                #ifdef _WIN32
                #include <windows.h>
                #include <Commdlg.h><commit_msg>added debug string printf<commit_after>import os, sys, subprocess
import py
from rpython.translator.tool.cbuild import ExternalCompilationInfo
from rpython.rtyper.lltypesystem import rffi
from rsqueakvm.util import system

_Default = "Squeak.image"

print
print "os uname:",
print os.uname()
print

if system.IS_ARM:
    def get_file():
        return _Default
else:
    
    this_dir = py.path.local(__file__).dirpath()
    
    if system.IS_WINDOWS:
        lfiles = ['comdlg32.lib', 'ole32.lib', 'shell32.lib', 'user32.lib']
    else:
        lfiles = [str(this_dir.join("tinyfiledialogs/tinyfiledialogs.c"))]
    
    eci = ExternalCompilationInfo(
            include_dirs=[this_dir],
            link_files=lfiles,
            separate_module_sources=["""
                #include <string.h>
                #ifdef _WIN32
                #include <windows.h>
                #include <Commdlg.h>
{'fraction_non_alphanumeric': 0.10511200459506032, 'fraction_numerical': 0.011487650775416428, 'mean_word_length': 2.5478615071283097, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '2193649', 'n_tokens_mistral': 586, 'n_tokens_neox': 559, 'n_words': 113}