This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gcc option behaving funny
- To: gcc-help <gcc-help at gcc dot gnu dot org>
- Subject: gcc option behaving funny
- From: Jan Mannekens <Jan dot Mannekens at alcatel dot be>
- Date: Fri, 29 Jun 2001 14:03:43 +0200
Hi all,
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 think I missed a configuration option when building the gcc suite.
Anyone who can help me out on this one?
Thanks in advance,
Jan Mannekens