카테고리 없음
MinGW-W64 - 32비트 윈도우에서 설치하니, 32비트 컴파일러만 설치가된다.
안녕1999
2019. 3. 23. 23:30
아래 링크에서, exe파일이 아닌, 압축파일을 받으면 된다.
https://sourceforge.net/projects/mingw-w64/files/mingw-w64/
MinGW-W64 GCC-8.1.0
- x86_64-posix-sjlj
- x86_64-posix-seh <<--64비트 윈도우에서, 64비트 프로그램 컴파일(?)
- x86_64-win32-sjlj
- x86_64-win32-seh <<--64비트 윈도우에서, 32비트 프로그램 컴파일(?) (7zip)
- i686-posix-sjlj <<--32비트 윈도우에서 64비트 exe파일(?)
- i686-posix-dwarf
- i686-win32-sjlj <<--32비트 컴파일러(?)
- i686-win32-dwarf
각각 약 460MByte
x86_64는 64비트 exe 컴파일러(실핼파일이 64비트)
i686은 32비트 exe 컴파일러(실핼파일이 32비트)
"x86_64-win32"에서 "win32"는 32비트원도우에서 컴파일한다는 의미.(크로스컴파일)
SEH(structured exception handling)
http://blog.tcltk.co.kr/wp-content/uploads/2015/08/MinGW-MinGW-w64-@-klutzy.nanabi.pdf
//error: 'uint128_t' was not declared in this scope
//gcc -g -O3 -fmax-errors=2 -m64 ^
typedef unsigned int uint128_t __attribute__((mode(TI)));
gcc -g -O3 -fmax-errors=2 -m64 -mwindows ^