Building binutils with newly created target

David Leach tasmar@gmail.com
Wed Jun 7 15:00:00 GMT 2017


Thanks. That worked after I installed the automake-1.11 tools.

Is there a reason binutils uses the older automake/aclocal tools?

Also, I'm not familiar with submitting to open source projects but it
would be useful to update the instructions in the
'binutils-porting-guide.txt'. Is there any guidance on how I should
approach this?

On Wed, Jun 7, 2017 at 12:59 AM, Alan Modra <amodra@gmail.com> wrote:
> On Tue, Jun 06, 2017 at 08:43:25PM -0500, David Leach wrote:
>> So what does one need to do to get these files to update with
>> information from the Makefile.am? I'm not an automake expert at all.
>
> If you configure with --enable-maintainer-mode, and have the correct
> versions of tools installed, you should find the generated files like
> Makefile.in are updated.
>
> Alternatively, look in the existing Makefile.in for the
> aclocal/autoconf/automake invocation.  For example, bfd/Makefile.in
> has
>
> $(srcdir)/Makefile.in: ...
> ...
>         $(am__cd) $(top_srcdir) && \
>           $(AUTOMAKE) --foreign Makefile
>
> So for me to update Makefile.in by hand, I'd need to
> cd /home/alan/src/binutils-gdb/bfd && automake-1.11 --foreign Makefile
>
> --
> Alan Modra
> Australia Development Lab, IBM



More information about the Binutils mailing list