This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: bfd + chew + execute
- From: Alan Modra <amodra at gmail dot com>
- To: NightStrike <nightstrike at gmail dot com>
- Cc: binutils <binutils at sourceware dot org>
- Date: Sat, 13 Apr 2013 20:31:28 +0930
- Subject: Re: bfd + chew + execute
- References: <CAF1jjLuE8DVYvxk1DKVk6PdkL_cwsXJY8NbPzgjToPr=sTmd8w at mail dot gmail dot com>
On Fri, Apr 12, 2013 at 08:50:33AM -1000, NightStrike wrote:
> Is it really necessary to mess with the file extension here?
Some hackery is needed to allow make -j and cover for the fact that
the proper dependecy on "chew" isn't there for reasons given in the
makefile comment.
> Can we do something like this?
Looks OK to me, even better perhaps if we use chw$$ to allow for 8.3
filesystems.
>
> - $(CC_FOR_BUILD) -o chew.$$$$ $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) \
> + $(CC_FOR_BUILD) -o chew$$$$$(EXEEXT_FOR_BUILD)
> $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) \
>
> and:
>
> - $(SHELL) $(srcdir)/../../move-if-change chew.$$$$ $(MKDOC)
> + $(SHELL) $(srcdir)/../../move-if-change
> chew$$$$$(EXEEXT_FOR_BUILD) $(MKDOC)
--
Alan Modra
Australia Development Lab, IBM