From: "Lewis G Rosenthal" Received: from [72.86.41.184] (account lgrosenthal@2rosenthals.com HELO [192.168.201.144]) by 2rosenthals.com (CommuniGate Pro SMTP 5.4.10) with ESMTPSA id 3012156 for gnuports@2rosenthals.com; Tue, 01 Feb 2022 00:27:54 -0500 Subject: Re: [GNU Ports] Building privoxy - need to specify PTHREAD_LIB - why? To: GNU Ports for eCS Mailing List References: Organization: Rosenthal & Rosenthal, LLC Message-ID: <61F8C4D7.3070204@2rosenthals.com> Date: Tue, 1 Feb 2022 00:27:51 -0500 User-Agent: Mozilla/5.0 (OS/2; Warp 4.5; rv:38.0) Gecko/20100101 Firefox/38.0 SeaMonkey/2.35 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi, Steve... On 02/01/22 12:12 am, Steven Levine wrote: > In , on 02/01/22 > at 03:07 PM, "Paul Smedley" said: > > Hi guys, > >> Im assuming that on some platforms, adding -pthreads to the gcc command >> line causes -lpthreads to be added by gcc automatically. > See: > > https://stackoverflow.com/questions/2127797/significance-of-pthread-flag-when-compiling > > > It would appear that even though our built-in specs understand pthread, we > don't understand it quite as fully as gcc on other platforms. > Aha... I'm using gcc 9.2.0. I wonder if I should try building with a different gcc, and if the behavior is different (different=does not require a full path to the library), perhaps a bug report is in order? -- Lewis ------------------------------------------------------------- Lewis G Rosenthal, CNA, CLP, CLE, CWTS, EA Rosenthal & Rosenthal, LLC www.2rosenthals.com visit my IT blog www.2rosenthals.net/wordpress -------------------------------------------------------------