This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Make -pthread the generic Posix-threads option for gcc (was: Re: cc1plus errors)


On Sat, Oct 05, 2002 at 02:04:21PM +0200, Gabriel Dos Reis wrote:
> Hans-Peter Nilsson <hp@bitrange.com> writes:
> 
> [...]
> 
> | Well, GNU/Linux has no (more so) native compiler, and it has the
> | largest installed base (he says, blatantly ignoring to check up
> | on that), so I think offering "-pthread" as the generic gcc
> | option to enable Posix-threads would be useful.
> 
> I'm highly supportive of that effort -- it surely would simplify
> things.

At this point, I think anything would help.  :-)  Someone told me Linux
was about to gain at least one more major threading library (linux-threads
or some such from IBM).

I'd like to scrap the whole thing and standardize --threads=<model>, where
the choices for <model> might vary across platforms, but the spelling of
"--threads" wouldn't.

Phil

-- 
I would therefore like to posit that computing's central challenge, viz. "How
not to make a mess of it," has /not/ been met.
                                                 - Edsger Dijkstra, 1930-2002


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]