On 7/26/2016 12:21 PM, André Hentschel wrote: > Am 25.07.2016 um 12:21 schrieb dw: >> Thank you for the link, I was not aware of this. I'm using Msys2, so >> the linux issues should not affect me. >> >> While I got the associated binutils to build (which gets me an 'as' >> build that supports the .def directive, yay!), I have been totally >> unable to get the patched gcc to build. >> >> The patches here are from ~3 years ago (2013-03-17), but the PKGBUILD >> seems to download gcc's current 'trunk.' Does that seem right? Not >> surprisingly, the patches fail in a number of places. I have tried to >> fix them, but I'm not having much luck. Would it make sense to git a 3 >> year old version of gcc (~215509) instead? Would -e prevent makepkg >> from trying to update it? > older gcc seems like a solution, or you can compile mingw-w64 for clang > instead > >> My end goal here is to test a mingw-w64 source code change to make sure >> I'm not breaking ARM builds. >> >> I gotta wonder: How do other people do ARM builds? > There are not too many people doing that > > ARM comes in 3 interesting flavors: so make a triple decker.
ARM32\ (formerly arm) ARM64V80\ (64-bit, different instruction set than arm32 which are earlier versions of arm) ARM64V81\ (arm v8.1, different instruction set than v80) so I would suggest that for one compiler, it could have these directories and x86\lib x86_64\lib ARM32\lib\ ARM64V80\lib\ ARM64V81\lib\ x86\include\ x86_64\include\ ARM32\include\ ARM64V80\include\ ARM64V81\include\ include\x86\c++\7.0.0\ include\x86_64\c++\7.0.0\ include\ARM32\c++\7.0.0\ include\ARM64V80\c++\7.0.0\ include\ARM64V81\c++\7.0.0\ x86\bin\ x86_64\bin\ ARM32\bin\ ARM64V80\bin\ ARM64V81\bin\ no, x86 and x86_64 do not mesh well together, because the DLLs have the same name, and the exes do not mix either for same reason. if someone wants to do simultaneous builds to build for multiplatform, a for statement in the cmd shell can do this: for %x in (x86 x86_64 ARM32 ARM64V80, ARM64V81) do (\gcc-7-win32\%x\g++ -static... > %x-error.txt) in a batch file you change %x to %%x. ------------------------------------------------------------------------------ _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
