You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@singa.apache.org by "wangwei (JIRA)" <ji...@apache.org> on 2015/10/10 11:41:05 UTC
[jira] [Updated] (SINGA-69) Add debug option in compilation
configuration
[ https://issues.apache.org/jira/browse/SINGA-69?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
wangwei updated SINGA-69:
-------------------------
Description:
The current Makefile generated from *./configure* compiles SINGA without debug information.
To debug SINGA, developers have to use the Makefile.example file and manually add the *-g* flag into the CXXFLAGS.
It would be better to add an option for *./configure* to add *-g* in the generated Makefile, e.g.,
{code}
./configure --enable-debug
{code}
Then we can remove the Makefile.example.
was:
The current Makefile generated from *./configure* compiles SINGA without debug information.
To debug SINGA, developers have to use the Makefile.example file and manually add the *-g* flag into the CXXFLAGS.
It would be better to add an option for *./configure* to add *-g* in the generated Makefile, e.g.,
{code}
./configure --with-debug
{code}
Then we can remove the Makefile.example.
> Add debug option in compilation configuration
> ---------------------------------------------
>
> Key: SINGA-69
> URL: https://issues.apache.org/jira/browse/SINGA-69
> Project: Singa
> Issue Type: Improvement
> Reporter: wangwei
> Assignee: Xie Zhongle
>
> The current Makefile generated from *./configure* compiles SINGA without debug information.
> To debug SINGA, developers have to use the Makefile.example file and manually add the *-g* flag into the CXXFLAGS.
> It would be better to add an option for *./configure* to add *-g* in the generated Makefile, e.g.,
> {code}
> ./configure --enable-debug
> {code}
> Then we can remove the Makefile.example.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)