Re: -pthread switch and binary compatibitity

2008-04-16 Thread John Maddock
Ian Lance Taylor wrote: "John Maddock" <[EMAIL PROTECTED]> writes: The crux of the issue is this: if gcc/g++ is configured with the pthread threading model, then are object files always binary compatible irrespective of whether they are compiled with the -pthread command line option or not?

Re: -pthread switch and binary compatibitity

2008-04-15 Thread Ian Lance Taylor
"John Maddock" <[EMAIL PROTECTED]> writes: > The crux of the issue is this: if gcc/g++ is configured with the pthread > threading model, then are object files always binary compatible irrespective > of whether they are compiled with the -pthread command line option or not? Yes, modulo the #define

-pthread switch and binary compatibitity

2008-04-15 Thread John Maddock
Hi there, Over at the Boost C++ libraries project we're trying to decide what is the correct thing to do when code is compiled with -pthread or not. The crux of the issue is this: if gcc/g++ is configured with the pthread threading model, then are object files always binary compatible irrespecti