public inbox for java-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [gcj-eclipse-merge-branch] fix cross-build configury/makery
@ 2006-12-05  6:07 Adam Megacz
  2006-12-05 10:21 ` Andrew Haley
  2006-12-06 23:13 ` [gcj-eclipse-merge-branch] fix cross-build configury/makery Tom Tromey
  0 siblings, 2 replies; 43+ messages in thread
From: Adam Megacz @ 2006-12-05  6:07 UTC (permalink / raw)
  To: java-patches


ok to commit?

  - a

2006-12-04  Adam Megacz <megacz@cs.berkeley.edu>

        * Makefile.am: add libgcj-$(gcc_version).jar to -fclasspath=
        * configure.ac: change settings for GCJ and GCJFLAGS to fix
        cross-builds

Index: Makefile.am
===================================================================
--- Makefile.am (revision 119526)
+++ Makefile.am (working copy)
@@ -139,7 +139,7 @@
 
 AM_GCJFLAGS = \
        @LIBGCJ_JAVAFLAGS@ \
-       -fclasspath= -fbootclasspath=$(BOOTCLASSPATH) \
+       -fclasspath=libgcj-$(gcc_version).jar -fbootclasspath=$(BOOTCLASSPATH) \
        --encoding=UTF-8 \
        -Wno-deprecated -fbootstrap-classes
 
Index: configure.ac
===================================================================
--- configure.ac        (revision 119526)
+++ configure.ac        (working copy)
@@ -355,14 +355,16 @@
       if test "x${with_newlib}" = "xyes"; then
          # FIXME (comment): Why is this needed?
          GCC_UNWIND_INCLUDE=
-         GCJ="${target_noncanonical}-gcj"
+         GCJ="$built_gcc_dir/${target_noncanonical}-gcj"
       else
-         GCJ="${target_noncanonical}-gcj -B`${PWDCMD-pwd}`/"
+         GCJ="$built_gcc_dir/${target_noncanonical}-gcj"
+         GCJFLAGS="-B$built_gcc_dir/ $GCJFLAGS"
       fi
       GCJH='$(target_noncanonical)-gcjh'
    ;;
    path)
-      GCJ="gcj -B`${PWDCMD-pwd}`/"
+      GCJ="$built_gcc_dir/gcj"
+      GCJFLAGS="-B$built_gcc_dir/ $GCJFLAGS"
       GCJH=gcjh
    ;;
 esac

-- 
PGP/GPG: 5C9F F366 C9CF 2145 E770  B1B8 EFB1 462D A146 C380

^ permalink raw reply	[flat|nested] 43+ messages in thread

end of thread, other threads:[~2007-02-05  9:48 UTC | newest]

Thread overview: 43+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-05  6:07 [gcj-eclipse-merge-branch] fix cross-build configury/makery Adam Megacz
2006-12-05 10:21 ` Andrew Haley
2006-12-21  2:43   ` Adam Megacz
2006-12-21  5:28     ` Mohan Embar
2006-12-21  6:42       ` Adam Megacz
2006-12-21  8:41         ` Adam Megacz
2006-12-21 17:40         ` retracting my retraction [patch included] Adam Megacz
2006-12-21 17:50           ` Andrew Haley
2006-12-21 18:50             ` Mohan Embar
2006-12-21 18:52               ` Andrew Haley
2006-12-21 19:12               ` canadian vs build==host configury Adam Megacz
2006-12-21 20:31                 ` canadian vs build==host configury (and $with_cross_host) Adam Megacz
2007-01-20  0:56                   ` Tom Tromey
2007-01-20  6:46                     ` Mohan Embar
2007-01-23  0:21                       ` Tom Tromey
2006-12-21 21:03                 ` canadian vs build==host configury Mohan Embar
2006-12-21 21:45                   ` Adam Megacz
2006-12-21 22:17                     ` Mohan Embar
2006-12-21 23:36                       ` Adam Megacz
2006-12-22  0:04                         ` Mohan Embar
2007-01-20  0:50           ` retracting my retraction [patch included] Tom Tromey
2007-01-20  6:09             ` Mohan Embar
2007-01-20  6:58               ` libjava configury logic for cross builds (was Re: retracting my retraction [patch included]) Mohan Embar
2007-01-20 10:03               ` retracting my retraction [patch included] Andrew Haley
2007-01-20 12:32                 ` Marco Trudel
2007-01-20 13:18                   ` Mohan Embar
2007-01-23  0:20                     ` Tom Tromey
2007-02-04  3:37                       ` Patch: Fix GCJH for cross builds (was Re: retracting my retraction [patch included]) Mohan Embar
2007-02-05  9:48                         ` Andrew Haley
2006-12-06 23:13 ` [gcj-eclipse-merge-branch] fix cross-build configury/makery Tom Tromey
2006-12-07  0:55   ` Mohan Embar
2006-12-07  3:36     ` Mohan Embar
2006-12-07  3:28       ` Tom Tromey
2006-12-07  7:55         ` Patch [ecj]: Fix cross-configury issues / compile ecj.jar for non-shared builds Mohan Embar
2006-12-07 11:14           ` Andrew Haley
2006-12-07 13:01             ` Mohan Embar
2006-12-07 13:02               ` Andrew Haley
2006-12-07 16:39                 ` Mohan Embar
2006-12-07 15:10                   ` Andrew Haley
2006-12-07 16:04                     ` Mohan Embar
2006-12-07 16:53                     ` LockSupportTest.java Mohan Embar
2006-12-07 15:44           ` Patch [ecj]: Fix cross-configury issues / compile ecj.jar for non-shared builds Mohan Embar
2006-12-08 19:44           ` Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).