This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: MIPS support dlltool missing



> Yes. I have a good many .def files (from the mingw project)

No, you can't do that.  What you need to do is go to Microsoft's web
site and download the Palm SDK that corresponds to the version of the
OS running on your device.  It includes all the include files and
libraries you need.  Don't use the MinGW files.

> I was under the impression that the linker could create .lib files
> from .dll files, but not from .def files.

ld foo.def --out-implib foo.a

It complains about undefined symbols when trying to build the DLL, but
it does create the library.

> I've not checked if I could use dlltool to create i386 .lib files and then
> use objcopy to convert them to MIPS .libs, but I consider this somewhat of
> a workaround.

No, that won't work.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]