> On the PC, passing -pthread defines _REENTRANT, but it doesn't for the > cross-compiler. Why? What is the recommended platform-independent way > to ask for thread-safe code? I just obeyed Boost's error message, which > says "Please set the correct command line options for threading: > -pthread (Linux)"; should it instead suggest -D_REENTRANT? I suppose > this is getting OT for this list. The fact that cross-gcc does not accept -pthread looks like a bug in packaging. I'll look at it, but at somewhat low priority, because an easy workaround (use -D_REENTRANT) exists.
Attachment:
pgpywsc2lf9ta.pgp
Description: PGP signature