bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/10768] New: dlltool: can't specify machine arch when creat


From: yann at droneaud dot fr
Subject: [Bug binutils/10768] New: dlltool: can't specify machine arch when creating .lib from .def file
Date: 13 Oct 2009 16:31:39 -0000

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]