{"action":"opened","issue":{"url":"https://api.github.com/repos/sih4sing5hong5/tai5-uan5_gian5-gi2_kang1-ku7/issues/268","repository_url":"https://api.github.com/repos/sih4sing5hong5/tai5-uan5_gian5-gi2_kang1-ku7","labels_url":"https://api.github.com/repos/sih4sing5hong5/tai5-uan5_gian5-gi2_kang1-ku7/issues/268/labels{/name}","comments_url":"https://api.github.com/repos/sih4sing5hong5/tai5-uan5_gian5-gi2_kang1-ku7/issues/268/comments","events_url":"https://api.github.com/repos/sih4sing5hong5/tai5-uan5_gian5-gi2_kang1-ku7/issues/268/events","html_url":"https://github.com/sih4sing5hong5/tai5-uan5_gian5-gi2_kang1-ku7/issues/268","id":171324620,"number":268,"title":"mac裝moses文件","user":{"login":"sih4sing5hong5","id":5996555,"avatar_url":"https://avatars.githubusercontent.com/u/5996555?v=3","gravatar_id":"","url":"https://api.github.com/users/sih4sing5hong5","html_url":"https://github.com/sih4sing5hong5","followers_url":"https://api.github.com/users/sih4sing5hong5/followers","following_url":"https://api.github.com/users/sih4sing5hong5/following{/other_user}","gists_url":"https://api.github.com/users/sih4sing5hong5/gists{/gist_id}","starred_url":"https://api.github.com/users/sih4sing5hong5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sih4sing5hong5/subscriptions","organizations_url":"https://api.github.com/users/sih4sing5hong5/orgs","repos_url":"https://api.github.com/users/sih4sing5hong5/repos","events_url":"https://api.github.com/users/sih4sing5hong5/events{/privacy}","received_events_url":"https://api.github.com/users/sih4sing5hong5/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-16T04:53:33Z","updated_at":"2016-08-16T04:53:33Z","closed_at":null,"body":"https://www.facebook.com/ru.lu0\r\n```\r\n# compile boost\r\n./bootstrap.sh --with-libraries=filesystem,system,test,thread,program_options,serialization,iostreams\r\n./bjam stage  &&sudo ./bjam install\r\n\r\n# moses\r\nbrew install xmlrpc-c\r\n./bjam -j8 --prefix=$PWD --libdir=$PWD/lib64 --layout=system link=static toolset=clang  install || echo FAILURE\r\n\r\n強迫重新編譯時加 -a \r\n\r\n\r\n# giza++ Makefile\r\nclu:giza-pp clu$ git diff\r\ndiff --git a/GIZA++-v2/Makefile b/GIZA++-v2/Makefile\r\nindex 17daae5..8defea3 100644\r\n--- a/GIZA++-v2/Makefile\r\n+++ b/GIZA++-v2/Makefile\r\n@@ -6,7 +6,8 @@ INSTALLDIR ?= /usr/local/bin/\r\n\r\n CFLAGS = $(CFLAGS_GLOBAL) -Wall -Wno-parentheses\r\n #CFLAGS_OPT = $(CFLAGS) -O3 -DNDEBUG -DWORDINDEX_WITH_4_BYTE -O3 -DNDEBUG -DWORDINDEX_WITH_4_BYTE -ffast-math\r\n-CFLAGS_OPT = $(CFLAGS) -O3 -funroll-loops -DNDEBUG -DWORDINDEX_WITH_4_BYTE -DBINARY_SEARCH_FOR_TTABLE -DWORDINDEX_WITH_4_BYTE\r\n+#CFLAGS_OPT = $(CFLAGS) -O3 -funroll-loops -DNDEBUG -DWORDINDEX_WITH_4_BYTE -DBINARY_SEARCH_FOR_TTABLE -DWORDINDEX_WITH_4_BYTE\r\n+CFLAGS_OPT = $(CFLAGS) -O3 -funroll-loops -DNDEBUG -DWORDINDEX_WITH_4_BYTE -DWORDINDEX_WITH_4_BYTE -stdlib=libstdc++\r\n CFLAGS_PRF = $(CFLAGS) -O2 -pg -DNDEBUG -DWORDINDEX_WITH_4_BYTE\r\n CFLAGS_DBG = $(CFLAGS) -g -DDEBUG -DWORDINDEX_WITH_4_BYTE\r\n CFLAGS_NRM = $(CFLAGS) -DWORDINDEX_WITH_4_BYTE\r\ndiff --git a/mkcls-v2/Makefile b/mkcls-v2/Makefile\r\nindex 66a86d0..10ec3b6 100644\r\n--- a/mkcls-v2/Makefile\r\n+++ b/mkcls-v2/Makefile\r\n@@ -5,7 +5,7 @@ OBJS = GDAOptimization.o HCOptimization.o Problem.o \\\r\n             KategProblemWBC.o KategProblem.o StatVar.o general.o \\\r\n             mkcls.o\r\n\r\n-CFLAGS = -Wall -W -DNDEBUG -O3 -funroll-loops\r\n+CFLAGS = -Wall -W -DNDEBUG -O3 -funroll-loops -stdlib=libstdc++\r\n\r\n .cpp.o:\r\n        $(CXX) $(CFLAGS) -c $< -o $@\r\n```"}}
{"actor":{"display_login":"sih4sing5hong5"}}