Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » [Bug+Patch] when there is a space in Upp path (gdb does not find exefile, && problem using windres)
Re: [Bug+Patch] when there is a space in Upp path [message #47756 is a reply to message #47751] |
Sun, 19 March 2017 10:14   |
omari
Messages: 276 Registered: March 2010
|
Experienced Member |
|
|
Hi,
Tested on Linux Mint / GCC :
gdb bug is there too, and the quote fix it.
I think this fix this bug too.
windres bug is PLATFORM_WIN specific as .rc file is.
Quote:
Can you explain for me what following lines do?
GetHostPathShort( FindInDirs(((LocalHost*)host)->exedirs, "windres.exe"))
FindInDirs(((LocalHost*)host)->exedirs, "windres.exe")
localhost.exedir is a vector of the PATH directorys
FindInDirs find "windres.exe" in this list of directory, and return the full path, for example :"c:\\program files\\upp\\bin\\mingw\\bin\\windres.exe"
GetHostPathShort convert this to: "c:\\program~1\\upp\\bin\\mingw\\bin\\windres.exe"
in the current version, FindInDirs(..) is called inside CppBuilder::Run() { LocalHost::Run() { FindCommand(const Vector<String>& exedir, const String& mdline)}}
regards
omari.
|
|
|
 |
|
[Bug+Patch] when there is a space in Upp path
By: omari on Fri, 17 March 2017 16:55
|
 |
|
Re: [Bug+Patch] when there is a space in Upp path
By: Klugier on Sat, 18 March 2017 20:54
|
 |
|
Re: [Bug+Patch] when there is a space in Upp path
By: omari on Sun, 19 March 2017 10:14
|
 |
|
Re: [Bug+Patch] when there is a space in Upp path
By: Klugier on Sun, 19 March 2017 21:06
|
 |
|
Re: [Bug+Patch] when there is a space in Upp path
By: omari on Sun, 19 March 2017 23:04
|
 |
|
Re: [Bug+Patch] when there is a space in Upp path
By: Klugier on Sun, 19 March 2017 23:22
|
 |
|
Re: [Bug+Patch] when there is a space in Upp path
By: omari on Mon, 20 March 2017 23:33
|
 |
|
Re: [Bug+Patch] when there is a space in Upp path
By: Klugier on Wed, 22 March 2017 22:35
|
 |
|
Re: [Bug+Patch] when there is a space in Upp path
By: omari on Fri, 24 March 2017 23:46
|
 |
|
Re: [Bug+Patch] when there is a space in Upp path
By: Klugier on Sat, 25 March 2017 23:16
|
 |
|
Re: [Bug+Patch] when there is a space in Upp path
By: omari on Sat, 25 March 2017 23:55
|
 |
|
Re: [Bug+Patch] when there is a space in Upp path
By: Klugier on Sun, 26 March 2017 00:29
|
 |
|
Re: [Bug+Patch] when there is a space in Upp path
By: omari on Sun, 26 March 2017 00:53
|
 |
|
Re: [Bug+Patch] when there is a space in Upp path
By: omari on Sun, 26 March 2017 12:54
|
 |
|
Re: [Bug+Patch] when there is a space in Upp path
By: Klugier on Sun, 26 March 2017 14:04
|
 |
|
Re: [Bug+Patch] when there is a space in Upp path
By: Klugier on Sun, 26 March 2017 15:35
|
 |
|
Re: [Bug+Patch] when there is a space in Upp path
By: omari on Sun, 26 March 2017 23:22
|
Goto Forum:
Current Time: Tue Apr 29 17:13:51 CEST 2025
Total time taken to generate the page: 0.04073 seconds
|