Article View: comp.os.linux.development.apps
Article #44Re: [POSIX Thread] Cannot Compile
From: Laurent Michel
Date: Wed, 01 Oct 1997 00:00
Date: Wed, 01 Oct 1997 00:00
20 lines
1253 bytes
1253 bytes
You need to install the thread library. Usually it is not bundled with Linux distribution. Here are some pointers: http://pauillac.inria.fr/~xleroy/linuxthreads/ http://linas.org/linux/threads-faq.html http://centaurus.cs.umass.edu/~wagner/threads_html/tutorial.html WRT. the compilers flag, If I remember correctly, you need -D_REENTRANT. Besides that its pretty much peachy. Just make sure you use MT-safe version of your libraries (don't expect the standard X11R6 to behave normally if it wasn't compiled for MT usage). -- - Laurent
Technical Details
Message-ID:
<343247B1.4C0E@cs.brown.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<34331A2B.7E18A2ED@socs.uts.EDU.AU>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10c696,d483269fd06e2623 X-Google-Attributes: gid10c696,public X-Google-Thread: ffc1e,d483269fd06e2623 X-Google-Attributes: gidffc1e,public X-Google-Thread: 102983,d483269fd06e2623 X-Google-Attributes: gid102983,public From: Laurent Michel <ldm@cs.brown.edu> Subject: Re: [POSIX Thread] Cannot Compile Date: 1997/10/01 Message-ID: <343247B1.4C0E@cs.brown.edu> X-Deja-AN: 277023240 References: <34331A2B.7E18A2ED@socs.uts.EDU.AU> To: Vi Nham <vnham@socs.uts.EDU.AU> Organization: Brown University Computer Science Department Newsgroups: comp.os.linux.development.apps,aus.computers.linux,comp.programming.threads