gcc option behaving funny

Jan Mannekens Jan.Mannekens@alcatel.be
Fri Jun 29 05:04:00 GMT 2001


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



More information about the Gcc-help mailing list