This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: extend gthr-posix.h with rwlock


>>>>> Luke Dalessandro writes:

Luke> My problem is that unwind-dw2-fde.c seems to be compiled multiple times during 
Luke> a gcc build, and sometimes my additions are found but other times they are 
Luke> not. I am rebuilding again (AIX 5.1), and I'll post more information for 
Luke> anyone that needs it.

Luke> In the meantime, is there a how-to anywhere that describes adding or modifying 
Luke> gthr.h models in gcc?

	AIX multilibs pthread support.  Unlike Linux, AIX does not provide
weak versions of the pthread symbols when operating in single-threaded
mode.  AIX uses gthr-aix.h, which includes gthr-posix.h or gthr-single.h
depending on the -pthread option.

David


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]