Hi,

I wanted multiple versions of ghdl on my system (e.g. 0.33 and 0.34dev).
So I installed them into different paths and added a softlink switch like

    ln -s ..../ghdl/ghdl-0.33-llvm/bin/ghdl     ghdl-0.33-llvm
    ln -s ..../ghdl/ghdl-0.33-gcc/bin/ghdl      ghdl-0.33-gcc
    ln -s ..../ghdl/ghdl-0.34dev-gcc/bin/ghdl   ghdl-0.34dev-gcc

    ln -s ghdl-0.34dev-gcc  ghdl

In effect ghdl is reached after following two soft links.

Works fine for normal ghdl compile and run activities.

But this fails in a strange way when coverage is enabled.
When I compile with coverage, thus with

  ghdl -m  -Wc,-ftest-coverage -Wc,-fprofile-arcs -Wl,-lgcov

I get all *.gcno files.
But when I run the test no *.gcda files are created !!

When I add the desired ghdl directly in my PATH like

  export PATH=..../ghdl/ghdl-0.34dev-gcc/bin/ghdl:$PATH

also coverage analysis works, I get *.gcda files when I
run the simulation.

Therefore the questions:
 1. any idea why this coverage support fails (and all else works) ?
 2. what is the recommended way to have multiple ghdl versions ?

Any help or hint very appreciated.

                With best regards,      Walter

_______________________________________________
Ghdl-discuss mailing list
Ghdl-discuss@gna.org
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to