ia64 libjava java-signal.h build failure

Alexandre Oliva aoliva@redhat.com
Sat Apr 21 22:52:00 GMT 2001


On Apr 21, 2001, Bryce McKinlay <bryce@waitaki.otago.ac.nz> wrote:

> What I think needs to happen is that libgcj should be enabled by default
> on platforms on which it should definitely work, like Linux, but can
> still be disabled if desired (along with other languages) by specifying
> an --enable-languages configure option. Likewise, it should be disabled
> by default on platforms where we know it may have problems (like Irix or
> win32), but can still be explicitly enabled with an --enable-languages
> option for those who want to try their luck or hack on it. Currently, the
> configurey doesn't work quite like this: the top-level configure.in needs
> to be edited by the user to enable or disable it for a given platform.

Please look at configure.in again.  ${libgcj} appears in noconfigdirs
of lots and lots of platforms.  Enabling the Java language by default
will result in libjava not being built on such platforms.  It is
indeed not disabled for Irix 6 nor Cygwin; perhaps because there's
some hope that it will work on those platforms?  I don't recall having
noticed any problems on Irix 6, though.  And I haven't tested Cygwin.

> The front-end itself should always be built unless java is disabled via
> --enable-languages (not currently the case on the branch).

That's precisely what enabling Java the language by default would
accomplish.  The change that does this is to comment out the line
`build_by_default=no' from gcc/java/config-lang.in, as it has already
been done in mainline.  Ok to install?

Index: config-lang.in
===================================================================
RCS file: /cvs/gcc/egcs/gcc/java/config-lang.in,v
retrieving revision 1.7.4.2
diff -u -p -c -r1.7.4.2 config-lang.in
*** config-lang.in	2001/04/12 03:07:05	1.7.4.2
--- config-lang.in	2001/04/22 05:50:51
*************** stagestuff="jc1\$(exeext) gcj\$(exeext) 
*** 39,43 ****
  
  target_libs=${libgcj}
  lang_dirs="zlib fastjar"
! build_by_default=no
  lang_requires=c++
--- 39,43 ----
  
  target_libs=${libgcj}
  lang_dirs="zlib fastjar"
! #build_by_default=no
  lang_requires=c++


-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



More information about the Gcc-patches mailing list