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]

Re: Can you offer help?


> Is it possible to compile a multi-thread application
> using EGCS 1.1.1 on a SparcStation10 with Solaris
> 2.5.1.

Certainly.

> If so are there any variables that I need to set as I
> configure?

--enable-threads would be a good choice. This is relevant only for C++
and ObjC applications, though.

When compiling programs, don't forget to pass -pthreads (or -threads,
if you want to use Solaris threads).

Hope this helps,
Martin


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