Path: ...!2.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Tim Rentsch Newsgroups: comp.arch Subject: Re: is Vax addressing sane today Date: Mon, 30 Sep 2024 03:36:26 -0700 Organization: A noiseless patient Spider Lines: 44 Message-ID: <86o7451l91.fsf@linuxsc.com> References: <2024Sep10.094353@mips.complang.tuwien.ac.at> <8f031f2b5082d97582b1231a060f2b9f@www.novabbs.org> <8DgJO.171468$1m96.17060@fx15.iad> <86msjr2bec.fsf@linuxsc.com> <86ikue2zlr.fsf@linuxsc.com> <20240929233757.0000299b@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Mon, 30 Sep 2024 12:36:26 +0200 (CEST) Injection-Info: dont-email.me; posting-host="e153cd915235505af8c5be8b67e222a3"; logging-data="2316163"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18wEsRuZNUHOmp4uWUP4Au1KL7bjfUECJE=" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) Cancel-Lock: sha1:7e8dBnpG9TQphhpQghq+SxE6+7Q= sha1:Eyh5NzEFzNMSsZBkL5JAKu+G72I= Bytes: 3025 Michael S writes: > On Sun, 29 Sep 2024 19:30:08 -0000 (UTC) > Thomas Koenig wrote: > >> Tim Rentsch schrieb: >> >>> Thomas Koenig writes: >>> >>>> Tim Rentsch schrieb: >>> >>> [...] >>> >>>>> I am currently in the position of needing to take some code >>>>> written for Linux/Unix and get it running in MS Windows. >>>>> >>>>> My attempts to use MSVC have been frustrating, because of some >>>>> limitations of that environment. The two most prominent are >>>>> these: long double is only 64 bits, and there are no integer >>>>> types of 128 bits that I could find. >>>> >>>> Depending on what you need to to, you can give MinGW-w64 a try. >>>> It works either as a cross-compiler from Linux or on Windows using >>>> msys2 or Cygwin. >>> >>> Thank you for these suggestions. I have started to explore >>> mingw but not yet the others. Is there a difference between >>> mingw and mingw-w64, do you know? >> >> One is a fork of the other, I believe. >> >>> Also do you know if mingw >>> is compatible with MSVC, as long as long double is not used? >> >> I believe that Mingw-w64 uses the Windows ABI, but that is a >> belief, not something I know first-hand; I haven't looked >> at the assembly. > > mingw64 tools are mostly compatible with Windows x64 ABI, but long > double is an exception. That was my impression but it's nice to have it confirmed. My thanks again to both you and Thomas.