Problem When there is a space in Upp path (gdb does not find exefile, && problem using windres)
|Assignee:||Zbigniew Rebacz||% Done:|
Hi, I have to install upp in Program Files, so I found the following two bug: 1: gdb does not find the exe file solution: add quote before and after the path of the exe file in ide\Debuggers\Gdb.cpp line 338 Code: [Select all] [Show/ hide] dbg = host->StartProcess(GdbCommand(console) + "\"" + GetHostPath(exefile) + "\""); 2: windres does not find the preprocessor in it's internal, windres use it's path (without quotes) as base in order to find the propressor. solution: call windres using it's ShortPath: in ide\Builders\GccBuilder.cpp, line 217: Code: [Select all] [Show/ hide] exec << GetHostPathShort( FindInDirs(((LocalHost*)host)->exedirs, "windres.exe")) << " -i " << GetHostPathQ(fn); instead of: Code: [Select all] [Show/ hide] exec << "windres -i " << GetHostPathQ(fn);
#1 Updated by Zbigniew Rebacz about 6 years ago
- Status changed from New to Approved
- Assignee changed from Miroslav Fidler to Zbigniew Rebacz
Change in the trunk.