MinGW-1.1�̍\���͈ȉ��̒ʂ�ł��B
MinGW��DOS�ォ��g�����Ƃ��ł��܂����AMSYS��Cygwin����g���������֗��ł��B
�����ł́AMSYS �� Cygwin����MinGW���g�����@���ȒP�ɐ������܂��B
�܂��AMSYS-1.0.8-i686-2002.05.13-1.exe�����s����MSYS���C���X�g�[�����܂��B
�C���X�g�[������ꏊ�́A�Ƃ肠�����A�f�t�H���g�� C:/msys/1.0 �ɂ��܂��B
�C���X�g�[������MinGW�̂���ꏊ����܂����A�Ȃ��ꍇ�́An ����͂��܂��B
���Ƃ́A�K����Enter�L�[�𐔉�łĂC���X�g�[���͊������܂��B
���ɁAMinGW���C���X�g�[�����܂��B
MSYS���N�����܂��BMSYS�̃R���\�[���E�E�B���h�E���J���̂ŁA
�ȉ��̃R�}���h����͂��āAMinGW���C���X�g�[�����܂��B
$ cd /mingw $ tar xvzf MinGW-1.1.tar.gz |
�����MSYS��MinGW�̃C���X�g�[���͊����ł��B
$ cd tcl8.3.4/win $ ./configure --enable-gcc --enable-threads $ make $ cd tk8.3.4/win $ ./configure --enable-gcc --enable-threads $ make |
�o�������s�`����cygwin1.dll�Ɉˑ����Ă��Ȃ����ׂ�ɂ�objdump�R�}���h���g���܂��B
$ objdump -p tclsh83.exe | grep "\.dll" DLL Name: msvcrt.dll DLL Name: KERNEL32.dll DLL Name: tcl83.dll $ objdump -p wish83.exe | grep "\.dll" DLL Name: msvcrt.dll DLL Name: KERNEL32.dll DLL Name: USER32.dll DLL Name: tcl83.dll DLL Name: tk83.dll |
cygwin1.dll�̑����msvcrt.dll���\�������A���Ȃ��ł��傤�B
���Ȃ݂ɁAmsvcrt.dll�́AMS�Ђ�C�����^�C���ŁAWindows�ɕW���Ŕ�����Ă��܂��B
�I�v�V���� | ���� |
---|---|
-O | -O1�Ɠ��� |
-O0 | �œK�����s��Ȃ� |
-O1 | �R�[�h�T�C�Y�팸�Ǝ��s���x�����ڎw���œK�����s�� �ϐ������W�X�^�Ɋ��蓖�Ă���A���d�����W�����v�̍œK���Ȃǂ��s�� |
-O2 | ����ɍ��x�ȍœK�������s����B�قƂ�ǂ̍œK���@�\���L���ɂȂ��A ���[�v�W�J�Ɗ��̃C�����C���W�J�A���W�X�^�̃��l�[���͍s��Ȃ� |
-O3 | -O2���i�œK�����s���B���[�v�W�J����̃C�����C���W�J�Ȃǂ��s�� |
-Os | �R�[�h�T�C�Y�����������邽�߂̍œK�����s���B-O0�`3�Ȃǂ̎��s���x�����コ����I�v�V�����Ƃ����p�ł��܂� |
�ʏ�A�R���p�C���̃o�O�Ȃǂɑ������鋰�ꂪ����̂ŁA-O2���g���̂�����ł��B
CPU�^�C�v | ���� |
---|---|
i386 | i386�₻�̌݊�CPU |
i486 | i486�₻�̌݊�CPU |
i586 | Pentium, MMX Pentium,�₻�̌݊�CPU |
i686 | Pentium Pro, Pentium II, Pentium III, Pentium 4, Celeron�Ȃ� |
pentium | i586�Ɠ��� |
pentiumpro | i686�Ɠ��� |
k6 | K6, K6-2, K6-III |
athlon | Athlon, Athlon MP, Athlon XP |
����ɁAgcc 3.1����ȉ���CPU�^�C�v���lj�����Ă��܂��B
CPU�^�C�v | ���� |
---|---|
pentium2 | PentiumII/Celeron(Covington, Mendocino) |
pentium3 | PentiumIII/Celeron(Coppermine, Tualatin) |
pentium4 | Pentium4/Celeron(Willamette, Northwood) |
athlon-tbird | Athlon(Thunderbird) |
athlon-4 | Athlon4 |
athlon-xp | Athlon XP |
athlon-mp | Athlon MP |
���̑��ɁAgcc 3.1����SSE���߂��g���ĕ��������_���Z���s��-mfpmath=sse�I�v�V�������lj�����Ă��܂��B
�� | TkEngine�l |
---|---|
ActiveTcl 8.3.4.1 | 31 |
Tcl8.3.4 MinGW�r���h�� | 33 |
���ɁA�{�I���l���A1997�N11���Ɍ��J���ꂽTcl/Tk Benchmark Ver.1.3���g���ăe�X�g���܂����B
���̌��ʂ��AMinGW�r���h�ł̕���������Ƃ������ʂɂȂ�܂����B�덷�͈̔͂�������܂���B
�� | ���� | ���s���� |
---|---|---|
ActiveTcl 8.3.4.1 | LINE | 0.98�b |
PAINT | 0.89�b | |
MOVE | 1.77�b | |
TOTAL | 3.64�b | |
Tcl8.3.4 MinGW�r���h�� | LINE | 0.93�b |
PAINT | 0.85�b | |
MOVE | 1.69�b | |
TOTAL | 3.47�b |
�Ō�ɁAMetaCard��Performance Benchmarks ���g���ăe�X�g���܂����B
���̌��ʂ́AMinGW�r���h�ł̕�����x���Ƃ������ʂɂȂ�܂����B�덷�͈̔͂�������܂���B
�� | ���� | ���s���� |
---|---|---|
ActiveTcl 8.3.4.1 | 1000000 repeats | 1.162�b |
10000 iterative factorial(100) | 49.942�b | |
10000 iterative factorial(100) with 'if' | 50.382�b | |
10000 recursive factorial(100) | 87.316�b | |
1000 exec calls | 16.183�b | |
2000 100-line file writes and reads | 6.199�b | |
10 stem generation took | 5.017�b | |
total time was | 216.201�b | |
Tcl8.3.4 MinGW�r���h�� | 1000000 repeats | 1.122�b |
10000 iterative factorial(100) | 50.803�b | |
10000 iterative factorial(100) with 'if' | 51.354�b | |
10000 recursive factorial(100) | 88.858�b | |
1000 exec calls | 16.864�b | |
2000 100-line file writes and reads | 5.398�b | |
10 stem generation took | 5.658�b | |
total time was | 220.057�b |
���ꂾ���̃f�[�^�ł́A�Ȃ�Ƃ������܂��A���̃e�X�g�̌��ʂł́A
ActiveTcl��MinGW�r���h�ł͌݊p�̐��\�ŁA�\���Ɏ��p�I�ł���ƌ����܂��B
����ɁAgcc 3.1�ł͍œK���@�\�����サ�Ă���悤�ł��B