Author Topic: Stripping debug info from output tree  (Read 10177 times)

Offline everSome

  • Multiple posting newcomer
  • *
  • Posts: 52
Re: Stripping debug info from output tree
« Reply #15 on: March 10, 2025, 02:37:03 pm »
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.

Offline everSome

  • Multiple posting newcomer
  • *
  • Posts: 52
Re: Stripping debug info from output tree
« Reply #16 on: March 13, 2025, 04:42:38 pm »
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.

Offline everSome

  • Multiple posting newcomer
  • *
  • Posts: 52
Re: Stripping debug info from output tree
« Reply #17 on: March 13, 2025, 06:43:48 pm »
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.