Re: Using getconf to set max_cmd_len

2007-05-30 Thread Paolo Bonzini
Steve Ellcey wrote: While integrating a newer libtool into GCC, an issue arose with what value libtool was setting max_cmd_len to. This patch uses 'getconf ARG_MAX' to set lt_cv_sys_max_cmd_len instead of going through a loop to try and divine the right value, this should give a more accurate va

Re: Using getconf to set max_cmd_len

2007-05-30 Thread Peter O'Gorman
On Wed, 2007-05-30 at 15:58 -0700, Steve Ellcey wrote: > While integrating a newer libtool into GCC, an issue arose with what > value libtool was setting max_cmd_len to. This patch uses 'getconf > ARG_MAX' to set lt_cv_sys_max_cmd_len instead of going through a loop to > try and divine the right v

Using getconf to set max_cmd_len

2007-05-30 Thread Steve Ellcey
While integrating a newer libtool into GCC, an issue arose with what value libtool was setting max_cmd_len to. This patch uses 'getconf ARG_MAX' to set lt_cv_sys_max_cmd_len instead of going through a loop to try and divine the right value, this should give a more accurate value and should be fast

Re: PATCH: PR libjava/32098: New libtool doesn't support libjava

2007-05-30 Thread H. J. Lu
On Wed, May 30, 2007 at 04:17:28PM +0200, Paolo Bonzini wrote: > H. J. Lu wrote: > >On Wed, May 30, 2007 at 08:09:25AM +0200, Paolo Bonzini wrote: > >>>Gcj isn't available for compile-and-link test when building libjava. > >>I found a solution, which is to add a ltgcc.m4 file to the toplevel, > >>

Re: PATCH: PR libjava/32098: New libtool doesn't support libjava

2007-05-30 Thread Paolo Bonzini
H. J. Lu wrote: On Wed, May 30, 2007 at 08:09:25AM +0200, Paolo Bonzini wrote: Gcj isn't available for compile-and-link test when building libjava. I found a solution, which is to add a ltgcc.m4 file to the toplevel, where we can override macros as we wish. For example, you can put a copy of

Re: PATCH: PR libjava/32098: New libtool doesn't support libjava

2007-05-30 Thread H. J. Lu
On Wed, May 30, 2007 at 08:09:25AM +0200, Paolo Bonzini wrote: > >Gcj isn't available for compile-and-link test when building libjava. > > I found a solution, which is to add a ltgcc.m4 file to the toplevel, > where we can override macros as we wish. For example, you can put a > copy of the Jav

Re: PATCH: PR libjava/32098: New libtool doesn't support libjava

2007-05-30 Thread Peter O'Gorman
On Wed, 2007-05-30 at 08:09 +0200, Paolo Bonzini wrote: > > Gcj isn't available for compile-and-link test when building libjava. > > I found a solution, which is to add a ltgcc.m4 file to the toplevel, > where we can override macros as we wish. For example, you can put a > copy of the Java conf