Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
build bot in the github, I see one nice project
ollydbg:
--- Quote from: Grit Clef on August 22, 2024, 04:28:17 am ---That zip would not work; I have tried several other distributions, but none of them worked.
--- End quote ---
Zip file path separator - Stack Overflow
or
windows - Zip files expand with backslashes on Linux, no subdirectories - Super User
You can see that the zip file format should always use "/".
Can we hack the cb2make plugin?
ollydbg:
I just looked at the source code of cb2make project, I see this line:
https://github.com/mirai-computing/cbp2make/blob/d40e6de50a5142f57576d0f2e8e433b7f510270a/src/platforms.cpp#L89
--- Code: ---void CPlatform::Assign(const CPlatform& Platform)
{
m_OS_Type = Platform.m_OS_Type;
m_Active = Platform.m_Active;
m_Cmd_Null = Platform.m_Cmd_Null;
m_Cmd_Copy = Platform.m_Cmd_Copy;
m_Cmd_Move = Platform.m_Cmd_Move;
m_Cmd_Make = Platform.m_Cmd_Make;
m_Tool_Make = Platform.m_Tool_Make;
//m_Cmd_TestFile = Platform.m_Cmd_TestFile;
m_Cmd_RemoveFile = Platform.m_Cmd_RemoveFile;
m_Cmd_ForceRemoveFile = Platform.m_Cmd_ForceRemoveFile;
//m_Cmd_TestDir = Platform.m_Cmd_TestDir;
m_Cmd_MakeDir = Platform.m_Cmd_MakeDir;
m_Cmd_TestMakeDir = Platform.m_Cmd_TestMakeDir;
m_Cmd_ForceMakeDir = Platform.m_Cmd_ForceMakeDir;
m_Cmd_RemoveDir = Platform.m_Cmd_RemoveDir;
m_Cmd_PrintWorkDir = Platform.m_Cmd_PrintWorkDir;
m_Cmd_EvalWorkDir = Platform.m_Cmd_EvalWorkDir;
m_Cmd_ChangeDir = Platform.m_Cmd_ChangeDir;
m_PathDelimiter = Platform.m_PathDelimiter;
m_LibraryPrefix = Platform.m_LibraryPrefix;
m_StaticLibraryExtensions = Platform.m_StaticLibraryExtensions;
m_DynamicLibraryExtensions = Platform.m_DynamicLibraryExtensions;
}
--- End code ---
So, we can hack the "m_PathDelimiter" variable? for Windows system?
stahta01:
--- Quote from: ollydbg on August 24, 2024, 02:57:46 pm ---I just looked at the source code of cb2make project, I see this line:
https://github.com/mirai-computing/cbp2make/blob/d40e6de50a5142f57576d0f2e8e433b7f510270a/src/platforms.cpp#L89
--- Code: ---void CPlatform::Assign(const CPlatform& Platform)
{
m_OS_Type = Platform.m_OS_Type;
m_Active = Platform.m_Active;
m_Cmd_Null = Platform.m_Cmd_Null;
m_Cmd_Copy = Platform.m_Cmd_Copy;
m_Cmd_Move = Platform.m_Cmd_Move;
m_Cmd_Make = Platform.m_Cmd_Make;
m_Tool_Make = Platform.m_Tool_Make;
//m_Cmd_TestFile = Platform.m_Cmd_TestFile;
m_Cmd_RemoveFile = Platform.m_Cmd_RemoveFile;
m_Cmd_ForceRemoveFile = Platform.m_Cmd_ForceRemoveFile;
//m_Cmd_TestDir = Platform.m_Cmd_TestDir;
m_Cmd_MakeDir = Platform.m_Cmd_MakeDir;
m_Cmd_TestMakeDir = Platform.m_Cmd_TestMakeDir;
m_Cmd_ForceMakeDir = Platform.m_Cmd_ForceMakeDir;
m_Cmd_RemoveDir = Platform.m_Cmd_RemoveDir;
m_Cmd_PrintWorkDir = Platform.m_Cmd_PrintWorkDir;
m_Cmd_EvalWorkDir = Platform.m_Cmd_EvalWorkDir;
m_Cmd_ChangeDir = Platform.m_Cmd_ChangeDir;
m_PathDelimiter = Platform.m_PathDelimiter;
m_LibraryPrefix = Platform.m_LibraryPrefix;
m_StaticLibraryExtensions = Platform.m_StaticLibraryExtensions;
m_DynamicLibraryExtensions = Platform.m_DynamicLibraryExtensions;
}
--- End code ---
So, we can hack the "m_PathDelimiter" variable? for Windows system?
--- End quote ---
There is an option for msys that should fix the issue under msys2 and may fix it for the poster.
I was planning to test it; but, the issue I had was fixed by an Msys2 packager.
--- Code: --- Manage platforms:
cbp2make --config platform [-msys|-unix|-windows|-mac] [-pwd <print_dir_command>]
[-cd <change_dir_command>] [-rm <remove_file_command>]
[-rmf <remove_file_forced>] [-rmd <remove_dir_command>]
[-cp <copy_file_command>] [-mv <move_file_command>]
[-md <make_dir_command>] [-mdf <make_dir_forced>]
[-make <default_make_tool>]
--- End code ---
Tim S.
ollydbg:
--- Quote from: stahta01 on August 24, 2024, 04:07:19 pm ---
There is an option for msys that should fix the issue under msys2 and may fix it for the poster.
I was planning to test it; but, the issue I had was fixed by an Msys2 packager.
--- Code: --- Manage platforms:
cbp2make --config platform [-msys|-unix|-windows|-mac] [-pwd <print_dir_command>]
[-cd <change_dir_command>] [-rm <remove_file_command>]
[-rmf <remove_file_forced>] [-rmd <remove_dir_command>]
[-cp <copy_file_command>] [-mv <move_file_command>]
[-md <make_dir_command>] [-mdf <make_dir_forced>]
[-make <default_make_tool>]
--- End code ---
Tim S.
--- End quote ---
Hi, Tim, thanks!
I think the OP should use the option "-msys" for generating the makefile for used by mingw32-make.exe. :)
Grit Clef:
OK, I will have a try.
Still the same...
I think those commands are from the project files.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version