Deutsch English Français Italiano |
<vq88s7$242vk$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: bart <bc@freeuk.com> Newsgroups: comp.lang.c Subject: Re: Python recompile Date: Wed, 5 Mar 2025 01:20:07 +0000 Organization: A noiseless patient Spider Lines: 37 Message-ID: <vq88s7$242vk$1@dont-email.me> References: <vq1qas$j22$1@gallifrey.nk.ca> <vq1uvb$qbuq$1@dont-email.me> <vq22nc$rvb8$1@dont-email.me> <vq24kd$rg6i$1@dont-email.me> <vq3oag$18iv6$1@dont-email.me> <vq4hf2$1brf7$1@dont-email.me> <vq4l3d$1ck9e$1@dont-email.me> <vq4m0u$1ctpn$1@dont-email.me> <vq4n05$1d5dv$1@dont-email.me> <vq4om7$1dbo2$2@dont-email.me> <vq6dqh$1pskk$1@dont-email.me> <vq6f8p$1pmnk$1@dont-email.me> <vq6gqc$1qcp8$1@dont-email.me> <vq6ips$1pmnk$2@dont-email.me> <vq6j5h$1qosf$1@dont-email.me> <20250304092827.708@kylheku.com> <vq7g1p$1vmg5$1@dont-email.me> <vq8544$23f55$4@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 05 Mar 2025 02:20:07 +0100 (CET) Injection-Info: dont-email.me; posting-host="8702a54f7d97d70cac41bdb1a2fce454"; logging-data="2231284"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/BUUkOoOL2JGcS34R0QH/u" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:mLe6XqFF1qDkdlUOcX8mb2Ehg+I= In-Reply-To: <vq8544$23f55$4@dont-email.me> Content-Language: en-GB Bytes: 2973 On 05/03/2025 00:16, Lawrence D'Oliveiro wrote: > On Tue, 4 Mar 2025 18:16:25 +0000, bart wrote: > >> The CPython source bundle doesn't come with any makefiles. The first >> step appears to be to run a 35,000-line 'configure' script. Part of its >> job appears to be generate the necessary makefiles. > > This is the usual GNU Autotools thing. The source from which the configure > script is generated is configure.ac; you will see it makes heavy use of m4 > macros. > >> On Windows, CPython must be built via MSVC, not gcc. >> >> That involving installing VS20xx, a 6GB download, which itself first >> needed a 4GB .NET update. Then I needed GIT. Then SVN. Then MSBUILD >> tools. Then something else... >> >> Whatever I fixed, it always found something else to fail on. After >> several hours and a lot of downloads, I gave up. > > If only there were a Windows equivalent to “apt-get build-dep” ... What does that do, just automatic all that crap that shouldn't be necessary in the first place? Including spending several minutes running through that configure script. I maintain my own scripting language. Building it from source - on Windows - takes 70ms: c:\qx>tim mm qq Compiling qq.m to qq.exe Time: 0.069 The only tool needed is mm.exe: a 0.4MB compiler. (TBF, my attempt to build CPython was on a much older, slower machine. On that one, my product took nearer 0.2 seconds to build from scratch.)