You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
I think you just need to execute cmake with "cmake
-DCMAKE_BUILD_TYPE=Debug", and it will a be a debug build with -g and not
sure but probably -O0. To select which version of gcc, use
-DCMAKE_C_COMPILER=/bin/... and -DCMAKE_CXX_COMPILER=...
Regards,
david.
On Sun, 25 Oct 2020 at 06:54, Basile Starynkevitch ***@***.***> wrote:
For the RefPerSys <http://refpersys.org> project (some artificial
intelligence open source software), it would be useful to build libonion
(on Linux/x86-64) with both optimizations and DWARF
<https://en.wikipedia.org/wiki/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 <http://gcc.gnu.org/>; think of some Debian system having
both /usr/bin/gcc-9 and /usr/bin/gcc-10.
Notice that I am unfamiliar with cmake
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#274>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACOZOWJV4FUJU7YJZCK7P3SMO4P3ANCNFSM4S6DFYEA>
.
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 perhapsgcc -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
The text was updated successfully, but these errors were encountered: