Removing -pthread from gcc

Terry Lambert tlambert2 at mindspring.com
Fri Aug 29 10:33:32 PDT 2003


"Pedro F. Giffuni" wrote:
> I'm not understanding what the new world order will be, but please try to agree
> something with the autoconf people: from my porting experience, autoconf is not
> interested on what PTHREAD_LIBS says; it just tries to link with pthread and if
> that fails it assumes the platform doesn't support threads at all.

This is why autoconf sucks: it tries to identify the platform
and make the code conform to that, rather than identifying the
platform capabilities (note: different from "does -pthread work?")
and using that.

This is why imake and xmkmf can compile every X application that
uses them, while autoconf and automake can only do it for the
platforms they have been explicitly told about.

The autoconf program balkanizes things, while imake unites them.

I wish autoconf would die.

-- Terry


More information about the freebsd-threads mailing list