Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Newbie CDT :- Need Clarifications
Newbie CDT :- Need Clarifications [message #203954] Wed, 31 October 2007 16:37 Go to next message
Eclipse UserFriend
Originally posted by: prakashpvss.gmail.com

Hi all

I m trying to convert existing projects having standard make files to work
with eclipse CDT. I m using Europa with 4.0 CDT version on linux. I
created a simple project to start with whose make file looks below. Now I
want to create a project with this make file. I am facing lots of problems
and I m not finding documentation too. I m lisitng the problems I m facing
below. Any Help is highly appreciated.

CXX = gcc
INCLUDE_PATH = ./include/

SUFFIXES : .c .o

c.o :
$(CXX) -I$(INCLUDE_PATH) -c -o $@ $<

all : convert

convert : convert.o weight.o distance.o temperature.o
$(CXX) -I$(INCLUDE_PATH) $? -o convert
clean :
rm -rf *.o

1) I m using a standard Make File Project. If I import the source files
then a copy gets created in the workspace. I dont want this .. I want the
source to be linked to the source file already present and not make a copy
Re: Newbie CDT :- Need Clarifications [message #203965 is a reply to message #203954] Wed, 31 October 2007 16:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: prakashpvss.gmail.com

1) I m using a standard Make File Project. If I import the source files
then a copy gets created in the workspace. I dont want this .. I want the
source to be linked to the source file already present and not make a copy
Re: Newbie CDT :- Need Clarifications [message #203972 is a reply to message #203965] Wed, 31 October 2007 16:40 Go to previous message
Eclipse UserFriend
Originally posted by: prakashpvss.gmail.com

Oops .. It is not even allowing me to post my question completely ...

1) I m using a standard Make File Project. If I import the source files
then a copy gets created in the workspace. I dont want this .. I want the
source to be linked to the source file already present and not make a copy.
I created a new file and linked it to an exisitng source. Is there
any other way ??? or is this the right way?

2)The Project properties has Linux GCC configuration ... How will I be
able to point it to a specific compiler and make (at present I m just
going by default). I know its related to Tool chains , but how do I set
them .. Tool chain editor doesn't allow me to add another tool set just
like the GCC one which are present on a different directories on my
mounted disk ?

3) I added new files linking them to the existing sources , and added a
MakeFile (just as pasted above)but when i say build project it says

Make: *** No rule to make target `convert.o', needed by `convert'. Stop.
But I have a rule .c.o mentioning the same ...

The same Make file with set of sources work perfectly in command line.
Can some one please help me to get going to use the CDT ......
Previous Topic:Newbie to CDT :- On-fly syntax check
Next Topic:Eclipse can't find foo.dll
Goto Forum:
  


Current Time: Sun May 11 16:02:00 EDT 2025

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

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

Back to the top