diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-04-02 23:15:06 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-04-02 23:15:06 +0000 |
commit | 26fbb0d3efe8adff66b6e39b78e070e1e6b0d936 (patch) | |
tree | cdd606fee269c8fa842c9e363520972303eccd26 /gcc/configure | |
parent | 13bd733250551cec3cba1d6cfa67a85532d883b3 (diff) | |
download | gcc-26fbb0d3efe8adff66b6e39b78e070e1e6b0d936.tar.gz |
* gthr.h: Support systems that don't have weak, but have threads.
* configure.in (*wrs-vxworks*): Use VxWorks threads by default.
* gthr-vxworks.h: New file.
* objc/thr-vxworks.h: Dummy file from thr-single.c for now.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18971 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/configure')
-rwxr-xr-x | gcc/configure | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/gcc/configure b/gcc/configure index 9e3fb24e757..8d1f56ef987 100755 --- a/gcc/configure +++ b/gcc/configure @@ -664,7 +664,7 @@ case x${enable_threads} in target_thread_file='' ;; xdecosf1 | xirix | xmach | xos2 | xposix | xpthreads | xsingle | \ - xsolaris | xwin32 | xdce) + xsolaris | xwin32 | xdce | xvxworks) target_thread_file=$enable_threads ;; *) @@ -1985,10 +1985,11 @@ for machine in $build $host $target; do tm_file="${tm_file} dbxcoff.h a29k/udi.h" tmake_file=a29k/t-a29kbare ;; - a29k-*-vxworks*) + a29k-wrs-vxworks*) tm_file="${tm_file} dbxcoff.h a29k/udi.h a29k/vx29k.h" tmake_file=a29k/t-vx29k extra_parts="crtbegin.o crtend.o" + thread_file='vxworks' ;; a29k-*-*) # Default a29k environment. use_collect2=yes @@ -2792,16 +2793,19 @@ for machine in $build $host $target; do tm_file="${tm_file} i960/vx960.h" tmake_file=i960/t-vxworks960 use_collect2=yes + thread_file='vxworks' ;; i960-wrs-vxworks5* | i960-wrs-vxworks) tm_file="${tm_file} dbxcoff.h i960/i960-coff.h i960/vx960-coff.h" tmake_file=i960/t-vxworks960 use_collect2=yes + thread_file='vxworks' ;; i960-wrs-vxworks*) tm_file="${tm_file} i960/vx960.h" tmake_file=i960/t-vxworks960 use_collect2=yes + thread_file='vxworks' ;; i960-*-coff*) tm_file="${tm_file} dbxcoff.h i960/i960-coff.h libgloss.h" @@ -3112,6 +3116,7 @@ for machine in $build $host $target; do tm_file=m68k/vxm68k.h tmake_file=m68k/t-vxworks68 extra_headers=math-68881.h + thread_file='vxworks' ;; m68k-*-aout*) tmake_file=m68k/t-m68kbare @@ -3872,12 +3877,13 @@ for machine in $build $host $target; do thread_file='posix' fi ;; - powerpc-*-vxworks*) + powerpc-wrs-vxworks*) cpu_type=rs6000 xm_file=rs6000/xm-sysv4.h tm_file=rs6000/vxppc.h tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm" extra_headers=ppc-asm.h + thread_file='vxworks' ;; powerpcle-*-sysv* | powerpcle-*-elf*) tm_file=rs6000/sysv4le.h @@ -4009,6 +4015,7 @@ for machine in $build $host $target; do tm_file=sparc/vxsparc.h tmake_file=sparc/t-vxsparc use_collect2=yes + thread_file='vxworks' ;; sparc-*-aout*) tmake_file=sparc/t-sparcbare |