This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcc option behaving funny
- To: Jan Mannekens <Jan dot Mannekens at alcatel dot be>
- Subject: Re: gcc option behaving funny
- From: Benjamin P Myers <dative at sukrahelitek dot com>
- Date: Fri, 29 Jun 2001 20:10:37 -0500 (CDT)
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>
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'?