2010年3月17日 星期三

Some Makefile Tutorial

This link has great Makefile website
makefile

Solve library order problem
LIBS = lib1.a \
lib2.a

-Xlinker --start-group -l1.a -l2.a --end-group

upper command is same with as follows

-Xlinker --start-group $(LIBS) --end-group

ubuntu
error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

apt-get install libstdc++5

1 則留言: