> What's not clear ;-)  Use -lc_r instead of -pthread.
> 
>       gcc -Wall -o foo foo.c -lc_r
> 
> The old way was:
> 
>       gcc -Wall -D_THREAD_SAFE -o foo foo.c -pthread

Hmmmm.  And does the -pthread argument do anything anymore?  If not,
why not have it default to simply linking in libc_r for POLA's sake
and ease of transition?  If it does do something different now,
perhaps you could explain what that is for all of us who are also
confused. :)

- Jordan


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to