카테고리 없음

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

각각 약 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


test-x64.zip


//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 ^