| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <4521C678.3020103@eagercon.com> |
| Date: | Mon, 02 Oct 2006 19:10:00 -0700 |
| From: | Michael Eager <eager AT eagercon DOT com> |
| User-Agent: | Thunderbird 1.5.0.4 (X11/20060614) |
| MIME-Version: | 1.0 |
| To: | Cygwin <cygwin AT cygwin DOT com> |
| Subject: | gcc build problem - make vpath |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
This might be the wrong mailing list (I couldn't find
a list for make), but I hope that folks might have an
answer/explanation.
I'm getting an error building gcc on Cygwin.
Specifically, the make in libcpp fails, saying
that it cannot find a rule to make po/be.gmo
which is needed by target 'all'.
It looks like make is not recognizing VPATH correctly.
I'm using make-3.80-1.
The libcpp Makefile contains (in part) the following:
VPATH = /home/eager/src/gcc/libcpp
CATALOGS = po/be.gmo po/ca.gmo po/da.gmo ...
USED_CATALOGS = $(CATALOGS)
...
all: libcpp.a makedepend$(EXEEXT) $(USED_CATALOGS)
The files are in the right location. They are just
not being found using $VPATH.
This same makefile works correctly on Linux.
I worked around this by changing the definition
for USED_CATALOGS to the following:
USED_CATALOGS = $(CATALOGS:%.gmo=${srcdir}/%.gmo)
Is this a known bug in make? Any suggestions about
a fix which doesn't require a change in the gcc makefile?
--
Michael Eager eager AT eagercon DOT com
1960 Park Blvd., Palo Alto, CA 94306 650-325-8077
--
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |