On Linux, both gcc and g++ (version 15 or later, see gcc.gnu.org for more) allow a library to be build as a shared library with both optimization and debugging flags (eg compiling with -O2 -g or -O2 -g -fPIC).
How can I compile this library in that way?
I am very unfamiliar with meson but am using INIH library in the RefPerSys free software inference engine project, and also using libbacktrace (which needs DWARF information).
Respectful regards
Basile STARYNKEVITCH basile@starynkevitch.net
8 rue de la Faïencerie, 92340 Bourg-la-Reine, France
http://starynkevitch.net/Basile & https://github.com/bstarynk
https://github.com/RefPerSys/RefPerSys/
On Linux, both
gccandg++(version 15 or later, see gcc.gnu.org for more) allow a library to be build as a shared library with both optimization and debugging flags (eg compiling with-O2 -gor-O2 -g -fPIC).How can I compile this library in that way?
I am very unfamiliar with
mesonbut am using INIH library in the RefPerSys free software inference engine project, and also using libbacktrace (which needs DWARF information).Respectful regards
Basile STARYNKEVITCH basile@starynkevitch.net
8 rue de la Faïencerie, 92340 Bourg-la-Reine, France
http://starynkevitch.net/Basile & https://github.com/bstarynk
https://github.com/RefPerSys/RefPerSys/