gnuports@2rosenthals.com ?????????????? ????? #12

???: "Lewis G Rosenthal" <gnuports@2rosenthals.com> ?? ????
?????????
??: Re: [GNU Ports] Building privoxy - need to specify PTHREAD_LIB - why?
??: Tue, 1 Feb 2022 00:27:51 -0500
??: GNU Ports for eCS Mailing List <gnuports@2rosenthals.com>

Hi, Steve...

On 02/01/22 12:12 am, Steven Levine wrote:
In <list-3012143@2rosenthals.com>, on 02/01/22
    at 03:07 PM, "Paul Smedley" <gnuports@2rosenthals.com> 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
-------------------------------------------------------------


???????: ????, ??????, ??????.
?????????
??? ????????