On Wed, 2 Aug 2017, JonY via Mingw-w64-public wrote:

On 07/30/2017 07:46 PM, Martin Storsjö wrote:
The GNU binutils dlltool doesn't actually support this
target, but llvm-dlltool does.
---
 mingw-w64-crt/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mingw-w64-crt/Makefile.am b/mingw-w64-crt/Makefile.am
index 8b6df25..83dbdf6 100644
--- a/mingw-w64-crt/Makefile.am
+++ b/mingw-w64-crt/Makefile.am
@@ -35,7 +35,7 @@ if WITH_GENLIB
   DTDEF64=$(GENLIB) $(DLLTOOLFLAGS64) $(AM_DLLTOOLFLAGS)
 else
   AM_DLLTOOLFLAGS=-k --as=$(AS) --output-lib $@
-  DLLTOOLFLAGSARM32=
+  DLLTOOLFLAGSARM32=-m arm
   DLLTOOLFLAGS32=--as-flags=--32 -m i386
   DLLTOOLFLAGS64=--as-flags=--64 -m i386:x86-64
   DTDEFARM32=$(DLLTOOL) $(DLLTOOLFLAGSARM32) $(AM_DLLTOOLFLAGS) --input-def


Can you do a test to see if it is supported? So it doesn't break
binutils build.

Not sure how much sense that would make. Right now, binutils doesn't support arm for windows at all (except for old WinCE stuff), so right now it doesn't work at all - the only codepath where building worked (more or less) so far was with genlib.

// Martin
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to