Hello,
I'm working with a multiplatform project.
I use environment variable to specify some parameters, like the compiler command.
For example I have created a generic compiler in wich I have specified the tools executables like
$(CCPREFIX)gcc etc...
This way works for all the build commands,
but I cannot specify the debugger like this.
It's possible in some way?
I'd like to have an environment variable like $(GDB_FULL_PATH) that can change from an environment to another.
Thank you in advance
kind regards
Marco Tessore
Specify a debugger as environment variable.
-
- CodeLite Curious
- Posts: 1
- Joined: Wed Sep 10, 2014 6:08 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Specify a debugger as environment variable.
This is beacuse the build commands are going through a Makefile first, which expands your macros "$(CCPREFIX)" before running the toolmarcote wrote:This way works for all the build commands,
but I cannot specify the debugger like this.
while the debugger is executed directly from within codelite and not via makefile.
Please open a feature request for this.
Have you tried using a different approach, like using the build configurations?
Eran
Make sure you have read the HOW TO POST thread