> Yes, I did exactly the same as outlined in function > > build_filler_bfd() No, look for a comment that says "Generate the import library". That whole section builds a synthetic .a and adds it to the list of libraries to link against (or outputs it, depending on the command line options). Specifically, pe_process_import_defs(), and add_bfd_to_link().