레이블이 gcc인 게시물을 표시합니다. 모든 게시물 표시
레이블이 gcc인 게시물을 표시합니다. 모든 게시물 표시

2013년 11월 6일 수요일

C++ 컴파일러 선택의 문제.



C++ 컴파일러 선택의 문제.


   32bit 인가. 64bit 인가.
   Exception handling 은 무엇인가? ( SJLJ, DWARF, and SEH )
   Threading model 은 posix thread 인가 win32 threaad 인가.
   MinGW 인가 TDM-GCC 인가.



http://qt-project.org/wiki/MinGW-64-bit

http://tdm-gcc.tdragon.net/quirks

http://mingw-w64.sourceforge.net/




2012년 5월 18일 금요일

boost 를 MinGW 로 빌드하기

boost 를 MinGW 로 빌드하기



참조:

http://www.boost.org/

http://sourceforge.net/apps/trac/mingw-w64/wiki/Building%20Boost

http://www.boost.org/doc/libs/1_32_0/tools/build/v1/mingw-tools.html

http://www.boost.org/doc/libs/1_49_0/more/getting_started/windows.html





boost root 에서 다음내용의 batch 파일을 만들고 실행시키면,

"D:\DEV\boost_1_49_0\boost_1_49_0\stage\libgcc32" 디렉토리에

boost header 와 library 가 생성된다.







ECHO make sure bjam.exe is available (build if this not the case)
IF NOT EXIST "bjam.exe" (
   CALL bootstrap.bat
)


bjam --prefix=D:\DEV\boost_1_49_0\boost_1_49_0\stage\libgcc32 ^
 --toolset=gcc address-model=32 variant=debug,release link=static,shared ^
 threading=multi install









MinGW 64 버전으로도 한번 해볼까.