This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bfd + chew + execute


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]