Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
callable [2019/02/12 13:19] gawrilow [Building a program] |
callable [2019/02/12 13:22] (current) gawrilow [Building a program] |
||
---|---|---|---|
Line 59: | Line 59: | ||
You can add an option ''%%--debug%%'' before ''%%--cflags%%'', ''%%--ldflags%%'', or ''%%--libs%%'' if you are going to debug your program together with polymake. Compiler options displayed without ''%%--debug%%'' provide for a build optimized for execution speed. | You can add an option ''%%--debug%%'' before ''%%--cflags%%'', ''%%--ldflags%%'', or ''%%--libs%%'' if you are going to debug your program together with polymake. Compiler options displayed without ''%%--debug%%'' provide for a build optimized for execution speed. | ||
- | For compilation with debugging enabled run ''%%make Debug=y%%'' (see also [[user_guide:extend:clients#building_and_debugging|here]]) and make sure to install with ''%%make install Debug=y%%''. When you run the program you need to set ''POLYMAKE_CLIENT_SUFFIX=-d'' either via ''.gdbinit'' or your environment. | ||