This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [RFA:] fix PR ld/16963, missing SEARCH_DIR for non-sysroot cross-builds
- From: Alan Modra <amodra at gmail dot com>
- To: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- Cc: binutils at sourceware dot org
- Date: Thu, 22 May 2014 17:32:28 +0930
- Subject: Re: [RFA:] fix PR ld/16963, missing SEARCH_DIR for non-sysroot cross-builds
- Authentication-results: sourceware.org; auth=none
- References: <20140520123551 dot GS5162 at bubble dot grove dot modra dot org> <201405201619 dot s4KGJpRg002591 at ignucius dot se dot axis dot com>
On Tue, May 20, 2014 at 06:19:51PM +0200, Hans-Peter Nilsson wrote:
> > From: Alan Modra <amodra@gmail.com>
> > Date: Tue, 20 May 2014 14:35:51 +0200
>
> > I was more concerned with something more basic.
> >
> > Which makes support pattern rules like "e%.c: "? Does BSD make?
>
> Uh, eh... ah. Right: *that's* not portable. Ugh. But no
> worries, here's a portable (*cough*) variant using a well-known
> construct in addition to the recursive variable expansion.
Let's first see if Nick and other interested parties are OK with
requiring GNU make. For the record, I'm OK with the idea. After all,
you need GNU make to build gcc these days.
If we do go with GNU make, then Makefile.tpl should be adjusted to
complain if some other make is used when building ld.
--
Alan Modra
Australia Development Lab, IBM