[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AW: POSIX Threads?

> From: "Andreas Auer" <aauer1@xxxxxxx.at>
> Date: Thu, 7 Feb 2002 19:44:27 +0100

> And is there an special compiler flag to compile with POSIX threads.
> On SuSE Linux, I have to compile with -lpthreads or -pthreads.

I'm sure it's "-pthread" on SuSE, like on other distributions.
This sets preprocessor macros as well as adding the right

It's the same for "gcc-cris -mlinux".  In general, options,
macros and behavior is the same as your host GNU/Linux platform
(that is, excluding machine-specific options like the

brgds, H-P