From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,923588eedb81efa6 X-Google-Attributes: gidfee84,public From: Craig Neth Subject: Re: C++ linker problems on OSF/1 v3.2 Date: 1996/08/27 Message-ID: <32232C12.446B@zk3.dec.com>#1/1 X-Deja-AN: 176800308 references: <4vspeh$g8q@transfer.stratus.com> content-type: text/plain; charset=us-ascii organization: CTG mime-version: 1.0 newsgroups: comp.unix.osf.osf1 x-mailer: Mozilla 3.0b5aGold (X11; I; OSF1 V4.0 alpha) John Padula wrote: > > We have defined the following linker directives > in one of our makefiles: > > OPLIBS=-non_shared -lpthreads -lmach -lbsd -ldnet_stub -lc_r -lpthreads -lmach [...bunch of stuff deleted...] The 'cc(1)' command provides a '-threads' option that should do exactly what you need for threads. Get rid of all the threads, mach, and lc_r stuff from your link line and use -threads, i.e. something like this: OPLIBS=-non_shared -threads -lbsd -ldnet_stub Craig -- -------------------------------------------------------------------------------- Craig Neth ! neth@zk3.dec.com Digital Equipment Corporation ! 110 Spit Brook Road ZKO3-3/Y25 ! Nashua, NH 03062 ! Opinions expressed herein are my own. ================================================================================