This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: porting to new architecture, trouble adding to build process
- From: Max Ruttenberg <mruttenberg at emutechnology dot com>
- To: Nicholas Clifton <nickc at redhat dot com>
- Cc: binutils <binutils at sourceware dot org>
- Date: Fri, 12 Jun 2015 16:33:15 -0400
- Subject: Re: porting to new architecture, trouble adding to build process
- Authentication-results: sourceware.org; auth=none
- References: <CAD+Cw=dH1a+JDhDBy3vOqjNGeXxfOEUX8GyqmB7Q_4LP-adyLg at mail dot gmail dot com> <557AE180 dot 8020000 at redhat dot com>
Hi Nick,
> Did you also update bfd/configure.ac (and bfd/configure), as well as bfd/archures.c ? Did you run "make headers" in the bfd directory of an already built toolchain so that the headers in the bfd source directory are regenerated
Since sending my last email I managed to add my new files to the build
process by doing pretty much just this. Also figured out the autotools
thing. When I configure with --targets=all I get bfd to build with my
files.
Thanks for the help,
Max
On Fri, Jun 12, 2015 at 9:41 AM, Nicholas Clifton <nickc@redhat.com> wrote:
> Hi Max,
>
>> For some reason, I cannot for the life of me add this new architecture
>> to the build process. I know because the repository still compiles
>> without errors. I've added my machine specific stuff to targets.c,
>> config.bfd, and Makefile.am.
>
>
> Did you also update bfd/configure.ac (and bfd/configure), as well as
> bfd/archures.c ? Did you run "make headers" in the bfd directory of an
> already built toolchain so that the headers in the bfd source directory are
> regenerated ?
>
> Cheers
> Nick
>
--
Max Ruttenberg,
Member of the Technical Staff
Emu Technology
1400 E Angela Blvd, Unit 101
South Bend, IN 46617