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: simple program


On Thu, Jul 14, 2011 at 3:53 AM, Bill Cunningham <billcun@suddenlink.net> wrote:
> ? I am just looking at the library and since everyone seems to start out
> with their first progam being "hello world" is there a way to do that with
> BFD? Maybe calling bfd_init(void) and then simply using bfd_perror to print
> a string? Or would there be a better way?

It depends what you want to do - bfd_perror isn't necessarily that
representative of the BFD API as a whole. It might be useful to start
with one of the smaller binutils programs and learn from that. size.c
seems like it might be a good candidate.


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