I have been writing a MAC version of the WIKI text found here <https://sourceforge.net/p/oorexx/_list/wiki> and I am almost done. I have found what I think is a typo in the text for Windows and Ubuntu. In the sections CMake <https://sourceforge.net/p/oorexx/wiki/how-to-build-oorexx/#cmake> and CMake_1 <https://sourceforge.net/p/oorexx/wiki/how-to-build-oorexx/#cmake_1> you find this text:
When building a release version, use -DCMAKE_BUILD_TYPE=RELEASE, when building a release version with debug information, use -DCMAKE_BUILD_TYPE=RELWITHDEBUGINFO. The default is -DCMAKE_BUILD_TYPE=DEBUG for a debug version. I think RELWITHDEBUGINFO should be changed to RELWITHDEBINFO ? should I make a bug report for the WIKI? The same goes for the text in how-to-debug-oorexx <https://sourceforge.net/p/oorexx/wiki/how-to-debug-oorexx/> The reason I ask is that I have the problem that Valgrind (the debugger on MAC) complains that it can not find debug symbols in the executables: --25154-- run: /usr/bin/dsymutil "/Users/po/Applications/ooRexx5.0.0/bin/rexx" warning: no debug symbols in executable (-arch x86_64) --25154-- run: /usr/bin/dsymutil "/Users/po/Applications/ooRexx5.0.0/lib/librexx.5.0.0.dylib" warning: no debug symbols in executable (-arch x86_64) --25154-- run: /usr/bin/dsymutil "/Users/po/Applications/ooRexx5.0.0/lib/librexxapi.5.0.0.dylib" warning: no debug symbols in executable (-arch x86_64) I can see that the executable (Rexx) increases in size and rexxcps reports lesser performance for all non-RELEASE versions but the debug symbols are only present in BUILD_TYPE=DEBUG. Can someone enlighten me on the correct settings to get a release version WITH debug information for MAC? Here are the settings I have tried so far: # Installing to ~/Applications (default) # cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=RELEASE ../oorexxSVN # cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=RELWITHDEBUGINFO ../oorexxSVN # cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=RELWITHDEBINFO ../oorexxSVN # cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=DEBUG ../oorexxSVN # cmake -G "Unix Makefiles" ../oorexxSVN Hälsningar/Regards/Grüsse, P.O. Jonsson oor...@jonases.se
_______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel