This is the mail archive of the gcc-help@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: gcc option behaving funny


On Fri, 29 Jun 2001, Jan Mannekens wrote:
> I'm using gcc version 2.95.3 and when linking I use the -pthread option.
> 
> On my Linux-PC I have no problem with that. When I build the same code
> on our DEC Alpha XP900, I get:
> 
> gcc: unrecognized option '-pthread'
> 
> and the build is there. Now when I remove the -pthread option, I of
> course get rid of the 'unrecognized option' message, but the linking
> fails, not finding/resolving all pthread_...() calls.

I couldn't find anything about -pthread in the 2.95 info docs.  Is this
something new, or do you really mean '-lpthread'?



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