compile thread program using gcc-2.95.2 on UnixWare7.1.1

Robert Lipe robertlipe@usa.net
Mon Feb 26 22:52:00 GMT 2001


[ 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



More information about the Gcc mailing list