public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: <ycollet@freesurf.fr>
To: cygwin@cygwin.com
Subject: Re: problem with make-3.81
Date: Fri, 27 Feb 2009 13:54:00 -0000	[thread overview]
Message-ID: <43854f84113653fc7d08b56990140061@freesurf.fr> (raw)

>> I was trying to compile project from coin-or (http://www.coin-or.org)
using
>> the cygwin tools and I found a problem: 
>> .deps/ClpCholeskyBase.Plo:1: *** multiple target patterns. (and several
>> other error messages from this kind) 
>> 
>> So I searched in google some hints and found that this is a "well know"
>> problem. It seems that make 3.81 has some difficulties to handle
"automatic
>> header file dependencies". 

>  No, not exactly.  Make handles automatic header file dependencies
absolutely
>fine, but the one thing it doesn't understand is DOS-style paths that
begin
>with a drive letter and colon.  So if you're using a non-cygwin compiler
that
>outputs the wrong kind of file paths, make won't understand them.

You're totally right. I use -mno-cygwin with gcc. My misunderstanding comes
from the fact that when you search for a solution to this problem on
google, it's always make fault.


>> PS: I added the comment made on the coin-or website related to this
problem
>> with reference to the bug description (see the 2006 year ...).

>  That's not helpful, because you misunderstood and your comment is
incorrect
>and misleading.  The real problem (I can tell without even looking at the
site
>or anything else) is that you are using the cygwin compiler's
"-mno-cygwin"
>option, which in fact turns it into a MinGW compiler, using DOS-based file
>paths.  If you want make to understand MinGW paths generated by a MinGW
>compiler, you should use a MinGW make, not a Cygwin make.

Is there any mingw make shipped with cygwin ? I can't find one in my
current installation ...

Thanks a lot,

YC

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

             reply	other threads:[~2009-02-27 13:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-27 13:54 ycollet [this message]
2009-02-27 14:04 ` Ralph Hempel
2009-02-27 14:09 ` Ralph Hempel
  -- strict thread matches above, loose matches on Subject: below --
2009-02-27 14:09 ycollet
2009-02-27 14:35 ` Charles Wilson
2009-02-27 15:46   ` Dave Korn
2009-02-27 19:19     ` Rob Walker
2009-02-27 12:52 ycollet
2009-02-27 13:43 ` Dave Korn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43854f84113653fc7d08b56990140061@freesurf.fr \
    --to=ycollet@freesurf.fr \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).