| Deutsch English Français Italiano |
|
<20250311200911.000036f0@yahoo.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder9.news.weretis.net!news.quux.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Michael S <already5chosen@yahoo.com> Newsgroups: comp.lang.c Subject: Re: Python recompile Date: Tue, 11 Mar 2025 20:09:11 +0200 Organization: A noiseless patient Spider Lines: 91 Message-ID: <20250311200911.000036f0@yahoo.com> References: <vq1qas$j22$1@gallifrey.nk.ca> <vq6j5h$1qosf$1@dont-email.me> <20250304092827.708@kylheku.com> <vq7g1p$1vmg5$1@dont-email.me> <vq94dt$2boso$1@dont-email.me> <vqcsk7$23bfo$1@paganini.bofh.team> <vqefn1$3flpt$1@dont-email.me> <vqeu5c$3imil$1@dont-email.me> <vqeun4$3iqbq$1@dont-email.me> <vqfcbe$3lkkc$1@dont-email.me> <871pv861ht.fsf@nosuchdomain.example.com> <20250308192940.00001351@yahoo.com> <vqi1ge$8jg8$1@dont-email.me> <vqmgjv$3a2il$1@paganini.bofh.team> <vqn4dn$1eb9s$1@dont-email.me> <vqo3ss$3hkas$1@paganini.bofh.team> <vqph2e$203bs$2@dont-email.me> <vqpjh7$210q9$1@dont-email.me> <vqpo1s$222s0$1@dont-email.me> <vqpqo6$23197$1@dont-email.me> <vqpsvc$23gc1$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Date: Tue, 11 Mar 2025 19:09:12 +0100 (CET) Injection-Info: dont-email.me; posting-host="3e200686600aa496eb012bcd6b766ca1"; logging-data="2220658"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+cAJmTMz8RYkDj7GzMDkDE/mWpo437nrQ=" Cancel-Lock: sha1:uLklG6n9tKXxkvajtPsLdYUCSpU= X-Newsreader: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-w64-mingw32) Bytes: 5269 On Tue, 11 Mar 2025 17:47:24 +0000 bart <bc@freeuk.com> wrote: > On 11/03/2025 17:09, David Brown wrote: > > On 11/03/2025 17:23, bart wrote: =20 > >> On 11/03/2025 15:06, David Brown wrote: =20 > >>> On 11/03/2025 15:24, bart wrote: =20 > >>>> > >>>> To build open source projects, I'm happy to use an existing C=20 > >>>> compiler. I'm NOT happy about bending over backwards to use > >>>> CYGWIN, MSYS2 or WSL because the developers insist on forcing > >>>> their Linux dependencies down my throat. > >>>> > >>>> > >>>> Developers can do what they like. But they shouldn't inflict > >>>> their choices on other people, especially those using other OSes. > >>>> =20 > >>> > >>> I have not paid a lot of attention to this thread.=C2=A0 But I am > >>> curious here - who do you think is /forcing/ you to compile their > >>> code? =20 > >> > >> OK, tell me where to get ready-made DLLs for GMP and LIBFFI that I > >> can can use on Windows. If that's not possible then there is no > >> choice (other than not to use them at all, which is what I do). > >> =20 > >=20 > > So do you think that those projects are /forcing/ you to use their > > code? Are the folks who wrote GMP responsible for /your/ insistence > > on using /their/ code, without using additional tools or libraries? > > You want to use what probably amounts to hundreds of person-years > > of specialised work, for free, and you are not willing to go to the > > effort of downloading and installing a few other bits of /free/ > > software first, in order to be able to follow freely available > > instructions found online? > >=20 > > And you blame the GMP and LIBFFI for all this?=C2=A0 They are, after > > all, holding a gun to your head and insisting that you use their > > software while viscously and maliciously refusing to re-write their > > code to remove traces of code that rely on the platforms they use > > themselves. > >=20 > > Or maybe it is now /my/ responsibility to find these dll's for you? > >=20 > > Well, you are in luck : > >=20 > > <https://packages.msys2.org/packages/mingw-w64-ucrt-x86_64-gmp> > > <https://packages.msys2.org/packages/mingw-w64-ucrt-x86_64-libffi> > >=20 > > The compressed tarballs include the dlls. =20 >=20 > I downloaded a couple of large files, including=20 > mingw64-x86_64-gmp-6.3.0-1-src.tar, but found no trace of any DLL > files. >=20 > (But I'm pleased that the GMP configure script hasn't grown beyond > 30583 lines. When they manage 0 lines, let me know.) >=20 > Meanwhile here is the library *I* had to use instead: >=20 > https://github.com/sal55/langs/tree/master/bignum >=20 > There are 4 files: >=20 > bignum.c Source codeI > bignum.h Header provides the API > bignum.dll Prebuilt binary > pid.c Demo to show it works >=20 > You can build bignum.c into the .dll yourself (sorry, I don't have a=20 > 40,000-line configure script or massive makefile for that, you'll > have to figure it out yourself!), or compile it into your application. >=20 > The demo (shows digits of pi) is built like this: >=20 > tcc pid.c bignum.dll >=20 > This is what simplicity looks like. >=20 > (GMP now includes 'minigmp', which is one-file version plus headers.=20 > Performance is roughly on a par with my library. >=20 > However my library uses decimal representation, and includes > arbitrary precision floating point.) >=20 > Oh, and it's open source and is in public domain. >=20 > <snip rest of your post> >=20