Deutsch English Français Italiano |
<20240929194516.00003fc5@yahoo.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Michael S <already5chosen@yahoo.com> Newsgroups: comp.arch Subject: Re: is Vax addressing sane today Date: Sun, 29 Sep 2024 19:45:16 +0300 Organization: A noiseless patient Spider Lines: 55 Message-ID: <20240929194516.00003fc5@yahoo.com> References: <vbd6b9$g147$1@dont-email.me> <2024Sep10.094353@mips.complang.tuwien.ac.at> <vckf9d$178f2$1@dont-email.me> <O2DHO.184073$kxD8.113118@fx11.iad> <vcso7k$2s2da$1@dont-email.me> <efXIO.169388$1m96.45507@fx15.iad> <8f031f2b5082d97582b1231a060f2b9f@www.novabbs.org> <8DgJO.171468$1m96.17060@fx15.iad> <vd7peh$12kpl$2@dont-email.me> <KWUJO.41016$vtH3.33971@fx07.iad> <86msjr2bec.fsf@linuxsc.com> <20240929135511.00001c73@yahoo.com> <86ed522z40.fsf@linuxsc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Date: Sun, 29 Sep 2024 18:44:48 +0200 (CEST) Injection-Info: dont-email.me; posting-host="b1c937c2e7b01fb16cab4b41feb8475c"; logging-data="1858602"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18nsY/0MYJdbyGi9K/1lYx/A0fFAkk6B34=" Cancel-Lock: sha1:J+IoMvMdrMWYcNmxnzwGNbjw5vQ= X-Newsreader: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-w64-mingw32) Bytes: 3553 On Sun, 29 Sep 2024 09:39:27 -0700 Tim Rentsch <tr.17687@z991.linuxsc.com> wrote: > Michael S <already5chosen@yahoo.com> writes: > > > On Sat, 28 Sep 2024 23:59:23 -0700 > > Tim Rentsch <tr.17687@z991.linuxsc.com> wrote: > > > [...] > >> 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. > >> > >> Are there any MSVC folks here who can help with these problems? > >> I am not an MSVC expert by any means and easily could have missed > >> something. > >> > >> I should mention that the code is written in C, not C++, and that > >> is not something I am at liberty to change. > > > > Both of your problems have no [MSVC] solution right now. > > > > In case of 128-bit integer, there is a chance that MSVC will support > > it in the future. > > > > In case of 80-bit long double, there is no chance. If MSVC ever > > supports binary floating point wider than 64-bit on x86-64 platform > > then it would be IEEE binary128 implemented in software. But even > > then they would not use name 'long double' for a new type, because > > it would break existing programs. > > Thank you, this is helpful. > > > But if all you want is the program running on Windows, then the > > solution is easy - use different compiler. > > MSYS2 is just couple of clicks (and ~0.8 GB :( ) away. > > After you have msys2 installed do > > pacman -Sy > > pacman mingw-w64-ucrt-x86_64-gcc > > > > Several hundreds of MB more and you have gcc14 > > Possible, I'd have to install make separately, i.e. > > pacman make. > > Do I understand this right, that msys2 is to be installed > on Windows? And that the pacman commands are to be run > within msys2 on the MS Windows system? Yes and yes. pacman has to be run from msys2 terminal window (bash).