91
Help / Stripping debug info from output tree
« Last post by wtfisgoingoff on March 03, 2025, 12:24:29 pm »Windows 11
I got those msg after running update32_64.bat (@call update.bat 32_64)
strip: 'output32_64\*.exe': No such file
strip: 'output32_64\*.dll': No such file
strip: 'output32_64\share\CodeBlocks\plugins\*.dll': No such file
I added those cmd into that bat file dir "%CB_OUTPUT_DIR%\*.exe" echo CB_OUTPUT_DIR=%CB_OUTPUT_DIR%
CB_OUTPUT_DIR outputed correctly and all *.exe were listed
chatgpt suggested this cmd and it worked
for %%f in ("%CB_OUTPUT_DIR%\*.exe") do strip "%%f"
for %%f in ("%CB_OUTPUT_DIR%\*.dll") do strip "%%f"
for %%f in ("%CB_OUTPUT_RESDIR%\plugins\*.dll") do strip "%%f"
So what might be wrong here? Original strip cmds in update.bat are
strip "%CB_OUTPUT_DIR%\*.exe"
strip "%CB_OUTPUT_DIR%\*.dll"
strip "%CB_OUTPUT_RESDIR%\plugins\*.dll"
I got those msg after running update32_64.bat (@call update.bat 32_64)
strip: 'output32_64\*.exe': No such file
strip: 'output32_64\*.dll': No such file
strip: 'output32_64\share\CodeBlocks\plugins\*.dll': No such file
I added those cmd into that bat file dir "%CB_OUTPUT_DIR%\*.exe" echo CB_OUTPUT_DIR=%CB_OUTPUT_DIR%
CB_OUTPUT_DIR outputed correctly and all *.exe were listed
chatgpt suggested this cmd and it worked
for %%f in ("%CB_OUTPUT_DIR%\*.exe") do strip "%%f"
for %%f in ("%CB_OUTPUT_DIR%\*.dll") do strip "%%f"
for %%f in ("%CB_OUTPUT_RESDIR%\plugins\*.dll") do strip "%%f"
So what might be wrong here? Original strip cmds in update.bat are
strip "%CB_OUTPUT_DIR%\*.exe"
strip "%CB_OUTPUT_DIR%\*.dll"
strip "%CB_OUTPUT_RESDIR%\plugins\*.dll"