libstdc++-6.dll 의존성 없애기

최신의 MinGW gcc 4.5 버전을 사용하여 컴파일된 실행파일이 libstdc++-6.dll 의존성을 갖을때 아래의 옵션을 붙이면 컴파일시 실행파일에 포함이 된다.

% gcc hello.cpp -static

-static 옵션을 붙인다.

2 thoughts on “libstdc++-6.dll 의존성 없애기”

  1. 감사합니다. 자꾸 libstdc++-6.dll 의존성이 있었는데 해결 할 수 있었습니다.

  2. The article was rather catching and intriguing enough to get
    all possible nuances to remember. I do get pleasure from reading the content and
    the writing mode of the author, etc as I did when finding I advise you to
    write such kinds of articles daily to provide the audience
    like me all of the necessary information. In my view, it is better to
    be prepared for all the unexpected situations beforehand, so thanks, it was pretty cool.

댓글 남기기

이메일은 공개되지 않습니다. 필수 입력창은 * 로 표시되어 있습니다

This site uses Akismet to reduce spam. Learn how your comment data is processed.