Skip to content

How to build libonion with DWARF debug information and optimizations? #274

@bstarynk

Description

@bstarynk

For the RefPerSys project (some artificial intelligence open source software), it would be useful to build libonion (on Linux/x86-64) with both optimizations and DWARF enabled. That is to compile libonion's C code with e.g. at least gcc -Wall -O -g (or perhaps gcc -Wall -O2 -g...) and the C++ code with e.g. g++ -Wall -O -g.

It would also be nice to have written instructions on how to choose the version of GCC; think of some Debian system having both /usr/bin/gcc-9 and /usr/bin/gcc-10.

Notice that I am unfamiliar with cmake

Thanks

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