| Deutsch English Français Italiano |
|
<vr3li9$3bqnp$1@dont-email.me> 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: Muttley@dastardlyhq.com Newsgroups: comp.lang.c Subject: Re: Python recompile Date: Sat, 15 Mar 2025 10:42:17 -0000 (UTC) Organization: A noiseless patient Spider Lines: 32 Message-ID: <vr3li9$3bqnp$1@dont-email.me> References: <vq1qas$j22$1@gallifrey.nk.ca> <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> <vqvtop$cpvn$1@paganini.bofh.team> <vr1nkh$1miii$1@dont-email.me> <G8_AP.37556$D_V4.24121@fx39.iad> <vr1uk1$1sb5s$1@dont-email.me> <874izvjs4m.fsf@nosuchdomain.example.com> <vr27td$22vgq$2@dont-email.me> <87senfi7ii.fsf@nosuchdomain.example.com> <vr2dbm$2995t$1@dont-email.me> <vr2onl$2hjmt$3@dont-email.me> <vr3k67$3a5r2$1@dont-email.me> Content-Type: text/plain; charset=UTF-8; format=flowed Injection-Date: Sat, 15 Mar 2025 11:42:18 +0100 (CET) Injection-Info: dont-email.me; posting-host="093cc149747a3322ec79ae019f501a24"; logging-data="3533561"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+d+3FZXubPtbHkA1B5BKEd" Cancel-Lock: sha1:U7gash5RN179M0j700XXqWx9U7A= Bytes: 2834 On Sat, 15 Mar 2025 10:18:49 +0000 bart <bc@freeuk.com> gabbled: >There /is/ no build system speak of. Compiling any program even of 100 >modules is this invocation: > > mm prog # prog.m is the lead module So whats the equivalent of fork() in your language then and how does it work on Windows? >Or you can forget about building completely, and just run direct from >source code: > > mm -r prog # (via native code) > mm -i prog # (interpreted) > >If there's a simpler way to compile or run source code, I'd like to know >what it is! python3 <filename> >C is a little different because the language doesn't allow for automatic >discovery of modules. But the extra info needed is simple: a list of files. Finding dynamic libraries is job of the linker and loader, not the C compiler or the language itself. For static libraries yes it does need to search but the only way to "automatically" discover them if you don't have a default list of directories to scan - which C/C++ compilers do - is to scan the whole filesystem which on a machine with a large disk could take a very long time and wouldn't make you popular if its a heavily used server.