https://sourceware.org/bugzilla/show_bug.cgi?id=32337
Bug ID: 32337
Summary: dlltool -m option does not change type of some .o
files in an import library
Product: binutils
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: lh_mouse at 126 dot com
Target Milestone: ---
Given this file 'my.def'
LIBRARY "my.dll"
EXPORTS
foo
It seems possible to create an i386 import library with a dlltool that is
configured for x86-64, but some x86-64 object files are produced:
$ x86_64-w64-mingw32-dlltool -mi386 -dmy.def -llibmy.a
$ x86_64-w64-mingw32-objdump -h libmy.a | fgrep 'file format'
libmy_a_t.o: file format pe-x86-64
libmy_a_h.o: file format pe-x86-64
libmy_a_s00000.o: file format pe-i386
Originally reported at https://github.com/mingw-w64/mingw-w64/issues/67
--
You are receiving this mail because:
You are on the CC list for the bug.