Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Multiple Target Patterns

I have a problem doing something that I though would be very simple. I have found that other people have discussed this problem in the past, even that something may have been done about it. However, I am currently using a much later version of eclipse than when the fix was patched and I seem to still have the problem. Is it something I am doing wrong? Or does the problem still exist and do I have to use a work around?

Past Discussion:
http://dev.eclipse.org/newslists/news.eclipse.tools.cdt/msg12343.html
http://dev.eclipse.org/newslists/news.eclipse.tools.cdt/msg13166.html
https://bugs.eclipse.org/bugs/show_bug.cgi?id=156187


Using Eclipse Ganymede Version: 3.4.1
Build id: M20080911-1700

In Windows Vista

I get multiple target pattern error when using Cygwin Tool Chain and adding include paths. For instance my .d file looks like:

src/HelloIncTest.d src/HelloIncTest.o: ../src/HelloIncTest.cpp \
C:/Users/Entecho/Desktop/Programming/EclipseWorkspace/HelloIncTest/Inc/myheader.h

C:/Users/Entecho/Desktop/Programming/EclipseWorkspace/HelloIncTest/Inc/myheader.h:


I added this path using the Project-Properties-Paths and Symbols - Include Paths. I added to all configurations and languages as a workspace path i.e. in this section of options it says: /HelloIncTest/Inc

In the C/C++ Build - Settings options it says under All Options:

-I"C:\Users\Entecho\Desktop\Programming\EclipseWorkspace\HelloIncTest\Inc" -O0 -g3 -Wall -c -fmessage-length=0

and under Directories it has

"${workspace_loc:/HelloIncTest/Inc}"

Do I have to use a work around or should Eclipse now be managing the windows paths and Cygwin make/build process correctly?

Any help much appreciated.

Kind Regards

Dylan Reynolds




Back to the top