bfd + chew + execute
Alan Modra
amodra@gmail.com
Sat Apr 13 11:01:00 GMT 2013
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
More information about the Binutils
mailing list