On Mon, 8 Aug 2016, dw wrote: > Q3: ARM is giving a bunch of warnings in the form: "dlltool.exe: Syntax error > in def file .../mingw-w64-crt/libarm32/powerwmiprovider.def:62." I have > looked at the def file, but I don't understand what I am seeing. How do I > diagnose/repair this?
FWIW, I don't know about this, but as far as I know, you can't really use dlltool to produce implibs for ARM (due to lacking binutils etc), you need to build genlib (which is bundled in mingw-w64) and use --with-genlib instead. Since there are loads of other warnings (as you point out), and other bigger issues with the ARM port, I haven't paid attention to whether there are warnings int his part for me yet or not. > Q4: As of 3.8.0, clang (the only compiler I know that builds mingw-w64 for > ARM) doesn't support __declspec(selectany) or __attribute__((gcc_struct)) on > ARM. Since (essentially) no one is using this yet, can we assume it will get > fixed before people will start using the library? Or must we code around it? > Right now I'm doing a bit of both. It's not about it being supported on ARM, but about clang not supporting it at all, regardless of architecture. I'd suggest doing #if defined(__GNUC__) && !defined(__clang__) instead of #if defined(__GNUC__) && !defined(__arm__) && !defined(_ARM_) Then one can later add specific compiler version checks if clang later starts supporting it (although I doubt it's relevant since it says it's about a gcc bug workaround). // Martin ------------------------------------------------------------------------------ _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public