This is the mail archive of the binutils@sources.redhat.com 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]

AVR: How to locate libbfd to build AVR tool


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I am trying to cleanup the build process of a project I am involved
with which uses libbfd to read and process the avr-cross-compiled
".elf" files. The problem is that we currently manually point to our
avr-binutils build directory to locate libbfd.a and bfd.h. I do this
because these files are not installed by binutils's make install
process for AVR.

I have found that if I "make install_libbfd" from the binutil's bfd
build directory, libbfd and bfd.h will be installed in the --prefix
directory structure, but I still don't understand how to write my GNU
auto-tools scripts to discover where libbfd.a and bfd.h are located. I
can, for example, detect that avr-gcc is in the currentn path or not.
But I have no idea, other than manually providing it to the build
process, how to discover where these files are.

Any help in this area would be greatly appreciated...I'd be happy to
know why libbfd.a and bfd.h are not installed by default, too, since I
though those are required to reliabley manipulate avr-toolchain
generated objects and library files.

Thanks,

Bill Rivet
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAUpUwuZBxYuVmoeoRAoiYAKCo3OZnhDg7wA2t/oACO5b9T+2d6wCeOZMD
3UizHOQ3mPncCJvkerHWaUo=
=UGnX
-----END PGP SIGNATURE-----


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