Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: bart Newsgroups: comp.lang.c Subject: Re: Suggested method for returning a string from a C program? Date: Fri, 28 Mar 2025 22:48:11 +0000 Organization: A noiseless patient Spider Lines: 19 Message-ID: References: <20250326110011.634@kylheku.com> <86r02iicl3.fsf@linuxsc.com> <87pli0wztv.fsf@nosuchdomain.example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 28 Mar 2025 23:48:12 +0100 (CET) Injection-Info: dont-email.me; posting-host="f2249ba52a7656296d3895e7c323ba37"; logging-data="3939202"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19r3nWTNFc8824/V5OaKchL" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:7Di7FO+WKdJErPUAjnPctgtf/PM= In-Reply-To: <87pli0wztv.fsf@nosuchdomain.example.com> Content-Language: en-GB Bytes: 2279 On 28/03/2025 22:33, Keith Thompson wrote: > bart writes: >> On 28/03/2025 20:41, Scott Lurndal wrote: > [...] >>> The gnu compiler is not multithreaded. The single thread was >>> compute bound for 13 minutes and 46 seconds. >> >> So what was that -j96 about? > > "-j96" is an option to GNU make, not to the compiler. It might invoke > gcc multiple times in parallel, but each invocation of gcc will still be > single-threaded. > So, is there just once instance of gcc at work during those 13 minutes, or multiple? In other words, would it take longer than 13:40 mins without it, or does it help? If -j96 makes no difference, then why specify it?