This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] add GNU/kFreeBSD support into boehm-gc


Hi,

would be possible to merge GNU/kFreeBSD support in boehm-gc into gcc.
It gives reasonable results, see http://gcc.gnu.org/ml/java/2006-05/msg00093.html.

Those changes to boehm-gc have been just accepted by upstream,
http://www.hpl.hp.com/hosted/linux/mail-archives/gc/2006-June/001332.html

2006-06-07 Petr Salinger <Petr.Salinger@seznam.cz>

        * configure.ac: add support for GNU/kFreeBSD, accepted by upstream for gc 6.8
        * dyn_load.c: Likewise.
        * include/gc.h: Likewise.
        * private/gcconfig.h: Likewise.
        * configure: Regenerate.
        * include/gc_config.h.in: Regenerate.


The only needed change outside boehm-gc to get gcj working is to add support of GNU/kFreeBSD into shlibpath.m4.

The easiest way is (together with regenerate of configure):

--- libjava/shlibpath.m4~       2006-06-07 10:35:36.000000000 +0200
+++ libjava/shlibpath.m4        2006-06-07 10:35:36.000000000 +0200
@@ -361,7 +361,7 @@
   ;;

 # This must be Linux ELF.
-linux*)
+linux*|k*bsd*-gnu)
   version_type=linux
   need_lib_prefix=no
   need_version=no

Should I do anything else to get it included ?

Petr

Attachment: kfreebsd-gc.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]