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]

Re: compile thread program using gcc-2.95.2 on UnixWare7.1.1


[ 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


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