Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » External scanner info generator
External scanner info generator [message #186314] Wed, 28 February 2007 04:11 Go to next message
Eclipse UserFriend
Originally posted by: breezsea.gmail.com

I want to set PATH variable only in Eclipse CDT, but not in Windows (I use
Cygwin and have problems with installation of PosgreSQL with "real" PATH
variable). But when I specify in Window->Preferences->C/C++->PathEntry
variables variable PATH with location H:\Cygwin\bin, I get warnings:
"Error launching external scanner info generator (gcc -E -P -v -dD
H:/Program Files/Eclipse
CDT/eclipse/workspace/.metadata/.plugins/org.eclipse.cdt.mak e.core/specs.c) "
on each of my projects. But compilation of projects is OK.
I tried to set PATH variable on Properties of project (in Environment),
but results were the same. What's wrong?
Re: External scanner info generator [message #186836 is a reply to message #186314] Thu, 01 March 2007 15:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: breezsea.gmail.com

Is this bug of Eclipse CDT?
Re: External scanner info generator [message #187243 is a reply to message #186314] Wed, 07 March 2007 03:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: breezsea.gmail.com

Can anyone answer my question? Or my question is incorrect?
Re: External scanner info generator [message #187257 is a reply to message #186314] Wed, 07 March 2007 04:21 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dmsubs.NOSPAM.consertum.com

I suspect this is because it is using "gcc" but I doubt your compiler is called
"gcc" but something like "xxx-yyy-zzz-gcc". Try changing the 'compiler
invocation command' in your Project Properties (C/C++ Make Project->Discovery
Options) to the name of your compiler.

HTH

--
Derek


Thunder wrote:
> I want to set PATH variable only in Eclipse CDT, but not in Windows (I
> use Cygwin and have problems with installation of PosgreSQL with "real"
> PATH variable). But when I specify in
> Window->Preferences->C/C++->PathEntry variables variable PATH with
> location H:\Cygwin\bin, I get warnings:
> "Error launching external scanner info generator (gcc -E -P -v -dD
> H:/Program Files/Eclipse
> CDT/eclipse/workspace/.metadata/.plugins/org.eclipse.cdt.mak e.core/specs.c) "
>
> on each of my projects. But compilation of projects is OK.
> I tried to set PATH variable on Properties of project (in Environment),
> but results were the same. What's wrong?
Re: External scanner info generator [message #187272 is a reply to message #187257] Wed, 07 March 2007 07:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: breezsea.gmail.com

Derek Morris wrote:

> I suspect this is because it is using "gcc" but I doubt your compiler is
called
> "gcc" but something like "xxx-yyy-zzz-gcc". Try changing the 'compiler
> invocation command' in your Project Properties (C/C++ Make
Project->Discovery
> Options) to the name of your compiler.
No, my compiler is called gcc. There are file gcc.exe in Cygwin\bin
directory and cygwin Bash accept command gcc, i.e. gcc --version give me
information about version of compiler.
Re: External scanner info generator [message #187278 is a reply to message #187272] Wed, 07 March 2007 07:24 Go to previous message
Eclipse UserFriend
Originally posted by: dmsubs.NOSPAM.consertum.com

In that case, try putting /path/to/gcc in the discovery options. I think you can
also use an eclipse variable if you don't want to hard code it.

e.g. set MYPATH in your environment and use
${env-var:MYPATH}/gcc
in the discovery option.
--
Derek


Thunder wrote:
> Derek Morris wrote:
>
>> I suspect this is because it is using "gcc" but I doubt your compiler is
> called
>> "gcc" but something like "xxx-yyy-zzz-gcc". Try changing the 'compiler
>> invocation command' in your Project Properties (C/C++ Make
> Project->Discovery
>> Options) to the name of your compiler.
> No, my compiler is called gcc. There are file gcc.exe in Cygwin\bin
> directory and cygwin Bash accept command gcc, i.e. gcc --version give me
> information about version of compiler.
>
>
>
Previous Topic:Post-build Steps
Next Topic:Adding a context menu visible in all editors - Please help
Goto Forum:
  


Current Time: Tue Jul 22 15:42:55 EDT 2025

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

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

Back to the top