QZaw55cn4c@KORP ~/2ch $ cat extern.test.01.c #include int main() { printf("hello, world\n"); return 0; } /* end */ QZaw55cn4c@KORP ~/2ch $ gcc -ansi -pedantic -Wall -static extern.test.01.c QZaw55cn4c@KORP ~/2ch $ ls -l ./a.exe -rwxr-xr-x+ 1 QZaw55cn4c なし 49786 7月 1 07:12 ./a.exe QZaw55cn4c@KORP ~/2ch $ cat extern.test.01.c #include int array[1000000]; int main() { printf("hello, world\n"); return 0; } /* end */ QZaw55cn4c@KORP ~/2ch $ gcc -ansi -pedantic -Wall -static extern.test.01.c QZaw55cn4c@KORP ~/2ch $ ls -l ./a.exe -rwxr-xr-x+ 1 QZaw55cn4c なし 49804 7月 1 07:13 ./a.exe QZaw55cn4c@KORP ~/2ch $ ldd ./a.exe ntdll.dll => /cygdrive/c/WINDOWS/system32/ntdll.dll (0x7c940000) kernel32.dll => /cygdrive/c/WINDOWS/system32/kernel32.dll (0x7c800000) cygwin1.dll => /usr/bin/cygwin1.dll (0x61000000)