RFA: generic threads support

Mark Mitchell mark@codesourcery.com
Mon Apr 3 15:25:00 GMT 2006


Joern RENNECKE wrote:
> Mark Mitchell wrote:
> 
>>  
>>
>> +AC_SUBST(extra_libgcc_static_srcs)
>>
>> I didn't see anything that sets this variable.  Where is that?
>>  
>>
> It's this configure.ac hunk:

I saw that -- but it sets extra_libgcc_srcs twice, not
extra_libgcc_static_srcs.  Unless grep failed me.

> +  if test $thread_file != posix; then
> +    if test -f $srcdir/gthr-${thread_file}.c; then
> +      extra_libgcc_srcs=$srcdir/gthr-${thread_file}.c
> +    fi
> +    if test -f $srcdir/gthr-objc-${thread_file}.c; then
> +      extra_libgcc_srcs="${extra_libgcc_srcs}
> $srcdir/gthr-objc-${thread_file}.
> c"
> +    fi
> +  fi


-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713



More information about the Gcc-patches mailing list