2013-05-08 4 views
0

/usr/local/lib/gcc/x86_64-apple-darwin10.8.0/과 관련된 경고가 있습니다. 4.6.4/libgcc.a. 내가 "확인"내가 터미널에서 다음과 같은 출력을 얻을 호출 할 때/usr/local/lib/gcc/x86_64-apple-darwin10.8.0/4.6.4/libgcc.a 경고

executeit: bplustree.o nonleafnode.o leafnode.o 
    g++ -o executeit bplustree.o nonleafnode.o leafnode.o 
bplustree.o: bplustree.cpp 
    g++ -g -c bplustree.cpp 
nonleafnode.o: nonleafnode.h nonleafnode.cpp 
    g++ -g -c nonleafnode.h nonleafnode.cpp 
leafnode.o: leafnode.h leafnode.cpp 
    g++ -g -c leafnode.h leafnode.cpp 
clean: 
    rm executeit bplustree.o nonleafnode.o leafnode.o 

:

g++ -g -c bplustree.cpp 
g++ -g -c nonleafnode.h nonleafnode.cpp 
g++ -g -c leafnode.h leafnode.cpp 
g++ -o executeit bplustree.o nonleafnode.o leafnode.o 
ld: warning: in /usr/local/lib/gcc/x86_64-apple-darwin10.8.0/4.6.4/libgcc.a, file was built for unsupported file format which is not the architecture being linked (x86_64) 

을 따라 당신이 볼 수있는 나는 메이크 파일을 사용하여 C++ 프로젝트를 컴파일하려고했던 것은 다음을 보여줍니다 , gcc 버전 4.6.4 있습니다. 이 경고가 어떤 방식 으로든 프로젝트 작업에 위협이되는지 확실하지 않지만이 경고의 의미와 위협인지 알고 싶습니다. 나가 그것을 제거하기 위하여 무언가를해서 좋은 경우에, 너무 좋을. 고맙습니다.

답변

0

Mac OS X 버전 10.6.8입니다. /usr/local/lib/gcc/x86_64-apple-darwin10.8.0/4.6.4/libgcc.a 파일에는 "10.8.0"이 있고이 gcc 버전이 설치되어 있어야합니다. OS X 10.8.0을 설치하여이 경고를 제거 할 수 있는지 여부는 알 수 없지만이 질문은 현재 답변으로 간주됩니다. 고맙습니다.