Re: [patch] Disable static build for libjava

2011-07-15 Thread Ralf Wildenhues
* Matthias Klose wrote on Sat, Jul 09, 2011 at 05:37:46PM CEST: > On 07/07/2011 10:35 PM, Ralf Wildenhues wrote: > > On Thu, Jul 07, 2011 at 10:26:59PM +0200, Jakub Jelinek wrote: > >> On Thu, Jul 07, 2011 at 10:22:37PM +0200, Matthias Klose wrote: > >>> +AC_PROG_LIBTOOL > > > > This tests the wro

Re: [patch] Disable static build for libjava

2011-07-09 Thread Matthias Klose
On 07/07/2011 10:35 PM, Ralf Wildenhues wrote: > Hi Matthias, > > On Thu, Jul 07, 2011 at 10:26:59PM +0200, Jakub Jelinek wrote: >> On Thu, Jul 07, 2011 at 10:22:37PM +0200, Matthias Klose wrote: >>> +AC_PROG_LIBTOOL > > This tests the wrong compiler and toolchain. The compiler you want > to tes

Re: [patch] Disable static build for libjava

2011-07-07 Thread Ralf Wildenhues
Hi Matthias, On Thu, Jul 07, 2011 at 10:26:59PM +0200, Jakub Jelinek wrote: > On Thu, Jul 07, 2011 at 10:22:37PM +0200, Matthias Klose wrote: > > +AC_PROG_LIBTOOL This tests the wrong compiler and toolchain. The compiler you want to test doesn't exist yet at the time this configure script is run

Re: [patch] Disable static build for libjava

2011-07-07 Thread Jakub Jelinek
On Thu, Jul 07, 2011 at 10:22:37PM +0200, Matthias Klose wrote: > +AC_PROG_LIBTOOL > +if test x$enable_shared = xyes && test x$enable_static_libjava != xyes ; then > + case $host_cpu in Shouldn't this be $host_os instead of $host_cpu ? cygwin* etc. don't look like host_cpu names... > + cygwin*

Re: [patch] Disable static build for libjava

2011-07-07 Thread Matthias Klose
On 07/07/2011 07:56 PM, Andrew Haley wrote: > On 07/07/11 18:02, David Daney wrote: >> On 07/07/2011 09:57 AM, Matthias Klose wrote: >>> On 07/07/2011 06:51 PM, David Daney wrote: On 07/07/2011 09:27 AM, Matthias Klose wrote: > As discussed at the Google GCC gathering, disable the build of

Re: [patch] Disable static build for libjava

2011-07-07 Thread David Daney
On 07/07/2011 09:57 AM, Matthias Klose wrote: On 07/07/2011 06:51 PM, David Daney wrote: On 07/07/2011 09:27 AM, Matthias Klose wrote: As discussed at the Google GCC gathering, disable the build of static libraries in libjava, which should cut the build time of libjava by 50%. The static libja

Re: [patch] Disable static build for libjava

2011-07-07 Thread Matthias Klose
On 07/07/2011 06:51 PM, David Daney wrote: > On 07/07/2011 09:27 AM, Matthias Klose wrote: >> As discussed at the Google GCC gathering, disable the build of static >> libraries >> in libjava, which should cut the build time of libjava by 50%. The static >> libjava build isn't useful out of the bo

Re: [patch] Disable static build for libjava

2011-07-07 Thread David Daney
On 07/07/2011 09:27 AM, Matthias Klose wrote: As discussed at the Google GCC gathering, disable the build of static libraries in libjava, which should cut the build time of libjava by 50%. The static libjava build isn't useful out of the box, and I don't see it packaged by Linux distributions ei