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: How to add a new target in binutils ?


>>     I tried the Gold first,  but found it has been bounded to the binutils,
>> and can't be compiled separately. so I tried to port the bintuils as a
>> whole.
>
> Although gold is part of the binutils, it does not use BFD.  So to
> port gold it would suffice to just change the top level configure and
> make files.

There are some dependencies on binutils and gas in the test suite:

TEST_READELF = $(top_builddir)/../binutils/readelf
TEST_OBJDUMP = $(top_builddir)/../binutils/objdump
TEST_CXXFILT = $(top_builddir)/../binutils/cxxfilt
TEST_STRIP = $(top_builddir)/../binutils/strip-new
TEST_AR = $(top_builddir)/../binutils/ar
TEST_NM = $(top_builddir)/../binutils/nm-new
TEST_AS = $(top_builddir)/../gas/as-new

But those are only for a few specific tests and can probably be worked
around fairly easily. There's nothing in gold itself that depends on
binutils or BFD.

-cary


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