git/list[1] front-page[2] threads[3] people[4] search[5] about
 

-pthread should be removed on MacOS builds?

From
Ted Pavlic <ted@tedpavlic.com>
Date
Dec 29, 2008, 17:46 UTC
Message-ID
<49590D0A.4050508@tedpavlic.com>

I notice that every time I build git on my OS X 10.4.11 (PowerBook G4) system, I get a bunch of:

powerpc-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread'
Doing a little search, I see:
http://lists.apple.com/archives/Unix-porting/2005/Mar/msg00019.html

==== The C library on Mac OS X is always thread safe (well the ones which can be thread safe and are defined to be thread safe by the POSIX standard) and always include the pthread library. ====

So I get the feeling that -pthread can be removed from the MacOS build line without any impact (except for removing those warnings).

Just something cosmetic.
-- 
Ted Pavlic <ted@tedpavlic.com>
Message 1 of 1 in “-pthread should be removed on MacOS builds?”
  1. Ted PavlicDec 29, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.