Article View: gnu.gcc.help
Article #41803Re: Threads under GCC 2.7.2 on OSF/1 ??
From: David C Binderman
Date: Tue, 13 Feb 1996 00:00
Date: Tue, 13 Feb 1996 00:00
24 lines
1262 bytes
1262 bytes
In article <4fnpdh$aos@wavefront.wavefront.com>, smcdowall@globalmt.com says... >Hmm..The title should say everytihng.. But just in case .. :-) > >How does one do multi-threaded C++ (or C) programs under OSF/1 3.2X ?? > >On the standard DEC C compiler you must use the -threads options (as of 3.2 anyw >ay) >to get the proper libs, etc. etc. > >What does one do under GCC 2.7.2 to get the same results?? >-lpthreads no longer seems to hack it.. > Use -v option on the DEC C compiler to see what it does. Then duplicate that with GNU G++. -D_REENTRANT -D_THREAD_SAFE -lpthreads -lex -lc_r springs to mind. If anyone knows which DEC C-- compiler version to use on OSF/1 version 3.2 to understand multithreading, then I'm all ears. Regards
Technical Details
Message-ID:
<4fr23a$55d@eiger.pncl.co.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<4fnpdh$aos@wavefront.wavefront.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,7a3bc4acf394fd9b X-Google-Attributes: gid11318c,public From: dcb@pncl.co.uk (David C Binderman) Subject: Re: Threads under GCC 2.7.2 on OSF/1 ?? Date: 1996/02/13 Message-ID: <4fr23a$55d@eiger.pncl.co.uk> X-Deja-AN: 139257872 references: <4fnpdh$aos@wavefront.wavefront.com> organization: Pinnacle Internet Services keywords: OSF/1 threads 2.7.2 mime-version: 1.0 reply-to: dcb@pncl.co.uk newsgroups: gnu.gcc.help