Hi,

The below command worked well, thank you.
$ i686-pc-mingw32-dlltool -k -l libiphlpapi2.a --def iphlpapi.def

Can I do this on "Makefile.am"?

Thank you again.

2009/5/16 Erik van Pienbroek <erik@vanpienbroek.nl>
Op zaterdag 16-05-2009 om 13:44 uur [tijdzone -0300], schreef Fabrício
Godoy:
> Hi,
>
> I'm trying use dlltool but I get following error:
>
> $ /usr/i686-pc-mingw32/bin/dlltool --as=as -k -l libiphlpapi2.a --def
> iphlpapi.def
> dpnvh.s: Assembler messages:
> dpnvh.s:5: Error: cannot represent relocation type BFD_RELOC_RVA
> dpnvh.s:10: Error: cannot represent relocation type BFD_RELOC_RVA
> dpnvh.s:11: Error: cannot represent relocation type BFD_RELOC_RVA
> /usr/i686-pc-mingw32/bin/dlltool: as exited with status 1

Shouldn't the command be something like this?

$ i686-pc-mingw32-dlltool --as=i686-pc-mingw32-as -k -l libiphlpapi2.a
--def iphlpapi.def

Regards,

Erik van Pienbroek


_______________________________________________
fedora-mingw mailing list
fedora-mingw@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/fedora-mingw