Running gdc -cov on ubuntu with AMD64
Jason House
jason.james.house at gmail.com
Wed May 30 17:25:10 PDT 2007
Now that I've gotten gdc to work on ubuntu with AMD64, I've started
experimenting with the coverage analysis. gdc -cov will build object
files, but doesn't link. Any tips?
dsss build -cov -llgcov
housebot.d => housebot-0.6
+ /bin/rebuild -Idsss_imports/ -I. -S./ -I/include/d -S/lib/ -cov
-llgcov -oqdsss_objs -Dddoc -unittest -w -g housebot.d -ofhousebot-0.6
/usr/bin/ld: cannot find -lgcov
dsss build -cov -lgcov --libdir=/usr/lib/gcc/x86_64-linux-gnu/4.1.2
housebot.d => housebot-0.6
+ /bin/rebuild -Idsss_imports/ -I. -S./ -I/include/d
-S/usr/lib/gcc/x86_64-linux-gnu/4.1.2/ -cov -lgcov -oqdsss_objs -Dddoc
-unittest -w -g housebot.d -ofhousebot-0.6
dsss_objs/_housebot.o: In function `global constructors keyed to
0__D8housebot21mainThreadControllers6__initZ':
/home/jhouse/housebot/0.6/housebot.d:1: undefined reference to `__gcov_init'
...
More information about the Digitalmars-d-learn
mailing list