Subj : compiling for pthreads on AIX 5.2L To : comp.programming.threads From : fred Date : Mon Mar 07 2005 08:51 am Am porting a pthread program from linux to AIX 5.2L, using GCC 3.3.2. So far I'm not able to figure/find out the correct compiler options to use for a pthread program. On Linux we used "-pthread". when I try to compile either with or without that on AIX I get a million or two errors, the first bunch of which are syntax errors in /usr/include/pthread.h. so, it seems clear I've not got the right options. I've also tried -D_XOPEN_SOURCE=500 but get the same result. Clues anyone? Thanks! Fred .