0
我有一個警告涉及到/usr/local/lib/gcc/x86_64-apple-darwin10.8.0/ 4.6.4/libgcc.a中。我試圖編譯使用的Makefile,其中一個C++項目顯示以下內容:/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)
正如你所看到的,我有gcc版本4.6.4。我不確定此警告是否會對以任何方式工作的項目構成威脅,但我想知道此警告的含義以及是否構成威脅。如果我也可以做些事情來刪除它,那將會很好。謝謝。