Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Newest CygWin make (was Re: [cdt-dev] Managed build on Windows fails with linked folders)

The newer versions of CygWin have been train wrecks for both MBS and the
debugger as they've been changing behaviour all over the place.  I'm not
really sure what to do about it currently as we have to support both
behaviours.

Can you use the internal builder for now?

===========================

Chris Recoskie
Team Lead, IBM CDT Team
IBM Toronto
http://www.eclipse.org/cdt



                                                                           
  From:   "Ploett, Norbert" <norbert.ploett@xxxxxxxxxxx>                   
                                                                           
  To:     "CDT General developers list." <cdt-dev@xxxxxxxxxxx>             
                                                                           
  Date:   20/01/2007 05:18 AM                                              
                                                                           
  Subject [cdt-dev] Managed build on Windows fails with linked folders     
  :                                                                        
                                                                           




Hi folks,

I tried to create a managed make project which has sources in a linked
folder. To my surprise the build stopped immediately with the message
(snippet from console)

===============================
**** Build of configuration Debug for project quill-managed ****

make -k all
qhull-src/subdir.mk:94: *** target pattern contains no `%'.  Stop.
Build complete for project quill-managed

===============================

The cause is probably that the MBS translates paths for resources in a
linked folder into Windows-style absolute paths like so (snippet from
subdir.mk)

===============================
########################################################################
########
# Automatically-generated file. Do not edit!
########################################################################
########

# Add inputs and outputs from these tool invocations to the build
variables
C_SRCS += \
D:/Temp/Workshop/qhull-2003.1/src/geom.c \
D:/Temp/Workshop/qhull-2003.1/src/geom2.c \
...
===============================

The paths contain the ':' special character, and cygwin make chokes on
them. I found a message in a cygwin mailing list

http://www.cygwin.com/ml/cygwin/2006-07/msg00373.html

which indicates that this was not always so, but that make stopped to
recognize Windows-style paths in it's latest version.

Any comments on this? Can anybody show a workaround? Shall we make this
a bugzilla?


Greetings,



Norbert

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev




Back to the top