Re: [sqlite] How to compile sqlite with gcov support?

2020-02-18 Thread Xingwei Lin
When I deleted the --enable-debug flag, the .gcno file can be generated.

Not sure why the --enable-debug flag will influence gcov compilation.

On Tue, Feb 18, 2020 at 3:16 PM Xingwei Lin  wrote:

> Hi,
>
> I decompressed the sqlite-autoconf-3310100.tar.gz and compiled it with the
> following commands:
>
> ```
> cd sqlite-autoconf-3310100
> CFLAGS="-g -ftest-coverage -fprofile-arcs" ./configure --enable-fts3
> --enable-debug --enable-session
> make -j$(nproc)
> ```
>
> But when I completed the building process, I didn't find the .gcno file.
> And when I execute sqlite3, it also didn't occur the  .gcda files.
>
> --
> Best regards,
> Xingwei Lin
>


-- 
Best regards,
Xingwei Lin
___
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users


[sqlite] How to compile sqlite with gcov support?

2020-02-17 Thread Xingwei Lin
Hi,

I decompressed the sqlite-autoconf-3310100.tar.gz and compiled it with the
following commands:

```
cd sqlite-autoconf-3310100
CFLAGS="-g -ftest-coverage -fprofile-arcs" ./configure --enable-fts3
--enable-debug --enable-session
make -j$(nproc)
```

But when I completed the building process, I didn't find the .gcno file.
And when I execute sqlite3, it also didn't occur the  .gcda files.

-- 
Best regards,
Xingwei Lin
___
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users