This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: compile thread program using gcc-2.95.2 on UnixWare7.1.1
- To: log sharp <sharplog at hotmail dot com>
- Subject: Re: compile thread program using gcc-2.95.2 on UnixWare7.1.1
- From: Robert Lipe <robertlipe at usa dot net>
- Date: Tue, 27 Feb 2001 01:00:41 -0600
- Cc: gcc at gcc dot gnu dot org
- References: <F9iZ9rWjAKYVpMmOlbc00008940@hotmail.com>
[ gcc-help dropped; I don't think that's a "real" address ]
> Do you know how to compile thread program using gcc-2.95.2 on
> UnixWare7.1.1? I use the option "-lthread", but when I run the program, it
"-pthread" is the option for development GCC. I no longer have a 2.95.2
source tree handy and can't recall if I added it before or after 2.95
was forked.
If you find two lines with "pthread" in gcc/config/i386/*sysv5*, then
it's there and it's supported. Adding -lthread yourself is a sure
recepie for weirdness.
RJL