Skip to main content



      Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Change environment variable before compiling
Change environment variable before compiling [message #604634] Thu, 11 February 2010 06:08 Go to next message
Eclipse UserFriend
Hello,

I'm developping an Eclipse plugin for my own compiler. It may not be a link with this problem but I created a custom toolchain to enable to set particular options...

The compilation is ok when I add my compiler path in the PATH environment variable before launching eclipse. But, it would be interesting to change this path in Eclipse to compile with another version without restarting the IDE.

I tried to change the environment variable in the C/C++ Build > Build Variable but it did not solve my problem (compiler not found). It works when I replace my compiler by gcc.

My question will probably seem basic, it sounds that these tools are useful for that but I can not use them... Can anyone tell me how to do that ?

Thank you in advance
Re: Change environment variable before compiling [message #604745 is a reply to message #604634] Fri, 19 February 2010 10:32 Go to previous message
Eclipse UserFriend
Allright I found the solution. It was such simple that I found somebody could help me.

To do that, I had to set the build variable in the C/C++ build > Environment, and not in C/C++ Build > Build Variables !
Previous Topic:Change environment variable before compiling
Next Topic:Feature-based self-hosting
Goto Forum:
  


Current Time: Wed Jul 23 13:56:29 EDT 2025

Powered by FUDForum. Page generated in 0.03434 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top