Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Environment variable issue
Environment variable issue [message #186054] Mon, 26 February 2007 10:43 Go to next message
Eclipse UserFriend
Originally posted by: mhameau.yahoo.fr

Hello,

I'm trying to set up Eclipse v3.2.1 with CDT v3.1.2.200701290901 to work
with Cygwin and GCC cross-compiler for ARM platform, on Windows XP Pro.

Cygwin binaries are not in the PATH environment variable because it mess
with other installed programs.
So, I set the PATH just when I want to compile my programs with its
cross-compiler.

I managed to make it work for the build environment (Standard Make) by
adding the PATH variable in the "Environment" tab of the Make
configuration (Window, Preferences, C/C+, Make, New Make Project,
Environment).

Then, I want to do the same for the debug. I go into "Run", "Debug...",
C/C++ Local Application, My Config, Debugger.
I use "gdbserver Debugger"
The command is "arm-linux-uclibc-gdb.exe", this is not the full path.
If I click on "Environment" tab, wathever I put here, it is not taken into
account.
The only solution I found (that I can not really accept) is to modify
manually the PATH environment variable of Windows.

Can somebody help me to make this environment variables work?
Is there some files I can erase to reinitialize Eclipse/CDT to take those
variables into account?
Thank you so much, I tried to search on nables.com, on the bugtracker and
on google but I did not find anything useful.

Regards,
Matthieu HAMEAU
Re: Environment variable issue [message #186094 is a reply to message #186054] Mon, 26 February 2007 12:34 Go to previous message
Eclipse UserFriend
Originally posted by: dschaefer.qnx.com

Matthieu HAMEAU wrote:
> Hello,
>
> I'm trying to set up Eclipse v3.2.1 with CDT v3.1.2.200701290901 to work
> with Cygwin and GCC cross-compiler for ARM platform, on Windows XP Pro.
>
> Cygwin binaries are not in the PATH environment variable because it mess
> with other installed programs.
> So, I set the PATH just when I want to compile my programs with its
> cross-compiler.
>
> I managed to make it work for the build environment (Standard Make) by
> adding the PATH variable in the "Environment" tab of the Make
> configuration (Window, Preferences, C/C+, Make, New Make Project,
> Environment).
>
> Then, I want to do the same for the debug. I go into "Run", "Debug...",
> C/C++ Local Application, My Config, Debugger.
> I use "gdbserver Debugger"
> The command is "arm-linux-uclibc-gdb.exe", this is not the full path.
> If I click on "Environment" tab, wathever I put here, it is not taken
> into account.
> The only solution I found (that I can not really accept) is to modify
> manually the PATH environment variable of Windows.
>
> Can somebody help me to make this environment variables work?
> Is there some files I can erase to reinitialize Eclipse/CDT to take
> those variables into account?
> Thank you so much, I tried to search on nables.com, on the bugtracker
> and on google but I did not find anything useful.
>
> Regards,
> Matthieu HAMEAU
>

Yes, this is a known problem (although I'm not sure if there is a bug on
it, feel free to raise another). The debug engine isn't using the
environment settings when launching the debugger. Scanner discovery
wasn't either but that is fixed now in CDT 4. The debug still needs to
be done though.

Doug
Previous Topic:Shared libraries issue
Next Topic:"Broken Pipe" error when compiling on Fedora Core
Goto Forum:
  


Current Time: Sat Aug 30 02:25:24 EDT 2025

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

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

Back to the top