I'm creating an import library for a proprietary DLL using a hand made .def 
file.

The following command fail:

arm-mingw32ce-dlltool -d libGLES_CM.def -D libGLES_CM.dll -l libGLES_CM.lib -m
$MACHINE

with MACHINE either arm or thumb, it failed with a strange message:

"Can't open .lib file: libGLES_CM.lib."

Using strace, one can see dlltool removing libGLES_CM.lib before failing.

Hopefully, removing -m thumb/arm, dlltool works and produces a .lib that can be
used on my target.

So either -m is not needed here and needed a proper error message/handling, or
this is a bug and i have luck to have a working .lib.

-- 
           Summary: dlltool: can't specify machine arch when creating .lib
                    from .def file
           Product: binutils
           Version: 2.19
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: yann at droneaud dot fr
                CC: bug-binutils at gnu dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=10768

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to