Your patch: don't configure libobjc on Darwin
Andreas Tobler
toa@pop.agri.ch
Fri Jul 18 08:44:00 GMT 2003
Carl Eugen Hoyos wrote:
> BWT, yesterday I forgot to mention that threading works for the
> gnu-runtime on darwin. AFAIK, you have to use the Foundation library
> with Apples compiler for threading, so that's even a (small) advantage.
> (Of course, unfortunately, you have to pass --enable-threads=posix to
> configure)
RCS file: /cvs/gcc/gcc/gcc/config.gcc,v
retrieving revision 1.335
diff -u -r1.335 config.gcc
--- gcc/config.gcc 14 Jul 2003 20:09:16 -0000 1.335
+++ gcc/config.gcc 18 Jul 2003 08:42:38 -0000
@@ -520,6 +520,10 @@
cxx_target_objs="darwin-c.o"
extra_parts="crt2.o"
extra_objs="darwin.o"
+ case x${enable_threads} in
+ x | xyes | xposix) thread_file='posix'
+ ;;
+ esac
;;
*-*-vxworks*)
tmake_file=t-vxworks
Regards,
Andreas
More information about the Gcc-patches
mailing list