This is the mail archive of the gcc-patches@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]

Re: PATCH: Return correct thread model under hpux 10.20 with -threads


On May 15, 2001, "John David Anglin" <dave@hiauly1.hia.nrc.ca> wrote:

> This patch causes gcc to return the correct thread model when built with
> DCE threads under hpux 10.20.  Tested that the commands `gcc -v' and
> `gcc -v -threads' return the correct thread model: single and dce,
> respectively.

This doesn't look right to me.  THREAD_MODEL_SPEC is supposed to tell
which thread model is going to be used by GCC if threads are enabled.
If GCC supports any threading model, that model should be printed,
otherwise libstdc++, boehm-gc and libjava won't be able to tell which
thread model to use.

The only exception I know of is AIX, because it is multilibbed on
enable/disable threads.  Is HP-UX similarly multilibbed when threads
are enabled?

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


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