Skip to content

How to compile inih with debugging on Linux #207

@bstarynk

Description

@bstarynk

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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions