News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Stripping debug info from output tree

Started by wtfisgoingoff, March 03, 2025, 12:24:29 PM

Previous topic - Next topic

everSome

I forgot to mention that you'll have to uncomment three commands beginning at line 241:
REM %3 "%CB_OUTPUT_DIR%/*.exe"
REM %3 "%CB_OUTPUT_DIR%/*.dll"
REM %3 "%CB_OUTPUT_RESDIR_STRIP%/plugins/*.dll"

just remove the leading "REM " characters thereof as I do not want them stripped for my personal use.

everSome

I forgot to mention that as I've commented out stripping since don't want to do that, you'll have to uncomment the three strip commands around lines 241 to 243.
REM echo Stripping debug info from output tree
REM %3 "%CB_OUTPUT_DIR%/*.exe"
REM %3 "%CB_OUTPUT_DIR%/*.dll"
REM %3 "%CB_OUTPUT_RESDIR_STRIP%/plugins/*.dll"

Just remove the "REM "prefix threof.

everSome

I'm being rather forgetful about this stuff as I did it a year or two ago. You'll notice that at the bottom of the update32_64_MSYS2.sh file there is a reference to
update32_64_MSYS2.sh
You can just delete it, or I could post it if you'd find it useful. I've only used this in the UCRT64 and MINGW64 environments. What that python script does is examine the import tables of all .exe and .dll files in output32_64 in a repetative manner for references to MSYS2 .dll files and copies them into output32_64.