Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsMINGW_HOME Relative Path (code cannot be debugged)
https://www.eclipse.org/forums/index.php/mv/msg/1090350/1777561/#msg_1777561
I am not able to debug C project in Eclipse when the Absolute Path of MINGW is replaced with its relative Path.
Using he Absolute Path works perfectly, but when it is replaced with the relative path, the project builds and runs with a warning ( Tolchain "MinGW GCC" ). But I am unable to debug the code. I get the following message when i want to start debugging ( Cannot run program "gdb": Launching failed )]]>Colette Mongu2017-11-30T10:48:07-00:00Re: MINGW_HOME Relative Path (code cannot be debugged)
https://www.eclipse.org/forums/index.php/mv/msg/1090350/1777837/#msg_1777837
These are apparently derived from the PATH variable set before Eclipse has started.
In any case, a relative path would have to be relative to the Eclipse working directory
or the current working directory of the program.
It's not clear which.
Perhaps both depending on what is being done.
Why do you want a relative path?
]]>David Vavra2017-12-05T08:43:16-00:00Re: MINGW_HOME Relative Path (code cannot be debugged)
https://www.eclipse.org/forums/index.php/mv/msg/1090350/1777840/#msg_1777840
Instead of "../../../../../path_to_Mingw/mingw"
I now have "${workspace_loc:/Project_Name}/../../../../path_to_Mingw/mingw"
I need to use the realtive path so that when another person opens the project on thier computer, They should be able to access the compiler independent of the computer name. ]]>Colette Mongu2017-12-05T08:57:51-00:00Re: MINGW_HOME Relative Path (code cannot be debugged)
https://www.eclipse.org/forums/index.php/mv/msg/1090350/1777843/#msg_1777843
It will work for others provided they have MinGW installed in the same location relative to the project as you have
and if the workspace is on the same drive as MinGW.
]]>David Vavra2017-12-05T09:15:26-00:00Re: MINGW_HOME Relative Path (code cannot be debugged)
https://www.eclipse.org/forums/index.php/mv/msg/1090350/1777844/#msg_1777844
]]>David Vavra2017-12-05T09:16:00-00:00