Subj : Re: compiling for pthreads on AIX 5.2L To : comp.programming.threads From : ptjm Date : Tue Mar 08 2005 05:23 am In article <1110229825.346345.181960@l41g2000cwc.googlegroups.com>, wrote: % to follow up on my own posting, I've found some info on ibm's web site % showing options to GCC for multithread programs, and it doesn't help % any. Given this trivial program: The problem is that gcc has different options on different platforms. I expect the information you saw was for Linux. % gcc -pthread -o fred.o fred.c Anyway, this is odd. If you're writing to fred.o, you ought to have a -c in there. Try this: gcc -mthreads -o fred fred.c -- Patrick TJ McPhee North York Canada ptjm@interlog.com .