Re: gcc -fprofile-arcs

2012-08-21 Thread Azwaw OUSADOU
2012/8/21 Miod Vallat > > Hi, > > > > I have a problem with gcc. I want use gcov but i can't compile my > programs. > > It generate .gcda file if i use gcc of ports tree. > > > > $ gcc -Wall -g --coverage -o sample sample.c > > /usr/bin/ld: cannot find -lgcov > > collect2: ld returned 1 exit stat

Re: gcc -fprofile-arcs

2012-08-21 Thread Miod Vallat
> Hi, > > I have a problem with gcc. I want use gcov but i can't compile my programs. > It generate .gcda file if i use gcc of ports tree. > > $ gcc -Wall -g --coverage -o sample sample.c > /usr/bin/ld: cannot find -lgcov > collect2: ld returned 1 exit status Argh. Turns out we are not building

gcc -fprofile-arcs

2012-08-20 Thread Azwaw OUSADOU
Hi, I have a problem with gcc. I want use gcov but i can't compile my programs. It generate .gcda file if i use gcc of ports tree. $ gcc -Wall -g --coverage -o sample sample.c /usr/bin/ld: cannot find -lgcov collect2: ld returned 1 exit status /usr/local/lib/gcc/amd64-unknown-openbsd5.2/4.2.4/li