[ 
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}

If debug is enabled, there would be no compilation optimization.

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 --enable-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}
> If debug is enabled, there would be no compilation optimization.
> Then we can remove the Makefile.example.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to