This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Determine BFD version?
Ben Elliston <bje@wasabisystems.com> writes:
> According to the changelogs, BFD_VERSION_STRING was introduced only a
> couple of years ago--so I would not be surprised that it's not defined
> on some systems. BFD_VERSION, however, has been around since at
> least:
>
> Thu Mar 17 18:26:46 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
>
> * bfd-in.h (BFD_VERSION): Use @VERSION@.
>
> If you're finding versions of BFD that are over a decade old, you
> probably shouldn't be using them!
But BFD_VERSION and BFD_VERSION_STRING were removed from bfd.h here:
2002-10-14 Alan Modra <amodra@bigpond.net.au>
* Makefile.am: Run "make dep-am".
(BFD_H_FILES): Remove version.h.
* bfd-in.h (BFD_VERSION, BFD_VERSION_DATE, BFD_VERSION_STRING): Move..
* version.h: ..to here.
* configure.in (bfd_version_date): Remove.
(AC_OUTPUT): Make bfdver.h from version.h.
* bfd.c: #include "bfdver.h".
* vms-hdr.c: Likewise.
* Makefile.in: Regenerate.
* bfd-in2.h: Regenerate.
* configure: Regenerate.
* po/SRC-POTFILES.in: Regenerate.
I don't think there is any straightforward way to determine the BFD
version number.
Ian