Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » PC environment variables
PC environment variables [message #142658] Tue, 05 April 2005 12:30 Go to next message
Eclipse UserFriend
Originally posted by: david.aldrich.t-modus.nec.co.uk

Hi

I am new to Eclipse and CDT. I am running Eclipse 3.0.2 and CDT 2.1.0
under Win 2000.

I have created a new Standard Make project from an existing source root.
The project is to be built using GNU make and gcc.

My problem is that Eclipse does not seem to be picking up my PC's
environment variables. I think this is true because:

1) I have make 3.77 installed on my PC but my path variable includes a
path to make 3.79.1 at the beginning of the path. However, Eclipse invokes
make 3.79.1, which is found later in the path.

(I have got around this by specifying the complete make path in the
"Modify a Make Target" dialog box.)

2) My system environment variable OSTYPE is not picked up by make when
running from Eclipse, but is picked up when running from the DOS command
line.

Can anyone help with this please?

David
Re: PC environment variables [message #142724 is a reply to message #142658] Wed, 06 April 2005 06:56 Go to previous message
Eclipse UserFriend
Originally posted by: david.aldrich.t-modus.nec.co.uk

Hi

I will answer my own question! I set the path to the MingW tools in a DOS
command window. However, the new path was then only valid in the context
of that window, not across the system, so Eclipse did not pick up the
path. Fixed by specifying path in Control Panel.

David
Previous Topic:Makefile Error under Solaris
Next Topic:Linking Error, possible makefile problem
Goto Forum:
  


Current Time: Sun Jul 13 14:00:16 EDT 2025

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

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

Back to the top