Re: How to make a 'pthread' program ?

2006-01-03 Thread steven woody
On 1/3/06, Bob Friesenhahn [EMAIL PROTECTED] wrote: On Tue, 3 Jan 2006, Steven Woody wrote: on linux, simplly adding a '-pthread' option to the command line gcc, i can make a multi-thread c program. but if using automake, i only got many undefined reference to pthread_xxx errors. i've

Re: How to make a 'pthread' program ?

2006-01-02 Thread Bob Friesenhahn
On Tue, 3 Jan 2006, Steven Woody wrote: on linux, simplly adding a '-pthread' option to the command line gcc, i can make a multi-thread c program. but if using automake, i only got many undefined reference to pthread_xxx errors. i've already add the '-pthread' to the myprogram_CFLAGS variable.