views:

483

answers:

1

Hi. I want to use Eclipse CDT as an editor. I work in windows machine (since it more poserfull compiuter), while the toolchain resides on the linux box. Now I open Eclipse, create empty project in the proper directory (disk on linux machine where the sources reside) and I add the sources (just drag-n-drop) into the project. All I want is ability to make crossreference and to colorize the syntax. Now I need to add the proper include directories and ... I have only the "cygwin gcc" with preconfigured include pathes, that I cannot remove. I want to define my own enviroment with include pathes, compiler etc. How to do it? Thanks

+1  A: 

You might hack your way using a Standard Make Project. This will make Eclipse CDT use a Makefile of yours in which you can define the proper CPPFLAGS, CFLAGS, compiler etc.

Not that going the Standard Make Project means that you'll somehow have to keep the source directory and files in sync between Eclipe and the content of your Makefile.

Gregory Pakosz
Thanks. Where to take the "Standard Make Project", that i need to modify?
Hmm I don't have CDT at hand, but you can surely modify your existing project to use a standard make build
Gregory Pakosz