Re: Target library disabling at toplevel

2011-03-23 Thread Paolo Bonzini
On 03/22/2011 08:51 PM, Joseph S. Myers wrote: Why do a great many targets disable libgcj by default in the toplevel configure.ac? Because that dates to before 2004, which IIRC is when toplevel configure.ac started looking at config-lang.in files. Paolo

Re: Target library disabling at toplevel

2011-03-23 Thread NightStrike
On Tue, Mar 22, 2011 at 6:07 PM, Ian Lance Taylor wrote: > "Joseph S. Myers" writes: > >> Why do a great many targets disable libgcj by default in the toplevel >> configure.ac? > > I believe that it's just a hack: libgcj doesn't build on the target, but > gcc/java does.  Disabling libgcj lets the

Re: Target library disabling at toplevel

2011-03-23 Thread Richard Sandiford
"Joseph S. Myers" writes: > (And why (CC to maintainer) do some CRIS and MMIX targets list Fortran > in unsupported languages? I didn't think the Fortran libraries had > any porting issues, unlike Java and Go and Ada.) For the record, builds with mipsisa64-elf fail with: libgfortran/intrinsics/

Re: Target library disabling at toplevel

2011-03-22 Thread Hans-Peter Nilsson
On Tue, 22 Mar 2011, Joseph S. Myers wrote: > On Tue, 22 Mar 2011, Hans-Peter Nilsson wrote: > > For MMIX, the issues I mentioned at > > are > > presumably fixed, but pragmatically the interest level for > > Those look like newlib-target iss

Re: Target library disabling at toplevel

2011-03-22 Thread Ian Lance Taylor
"Joseph S. Myers" writes: > Why do a great many targets disable libgcj by default in the toplevel > configure.ac? I believe that it's just a hack: libgcj doesn't build on the target, but gcc/java does. Disabling libgcj lets the gcc configure/make complete in a natural way. unsupported_languag

Re: Target library disabling at toplevel

2011-03-22 Thread Joseph S. Myers
On Tue, 22 Mar 2011, Hans-Peter Nilsson wrote: > > CRIS > > A closer inspection will show that it's only the subtarget > cris-*-aout. IIRC support for this target was removed for GCC, > it'd probably be a good idea to do the same here at the > top-level for the other projects (newlib, binutils,

Re: Target library disabling at toplevel

2011-03-22 Thread Hans-Peter Nilsson
> Date: Tue, 22 Mar 2011 19:51:38 + (UTC) > From: "Joseph S. Myers" > Why do a great many targets disable libgcj by default in the toplevel > configure.ac? Maybe because the right way, through unsupported_languages, never caught on and there never was a global conversion? :-) > Where GCC p

Target library disabling at toplevel

2011-03-22 Thread Joseph S. Myers
Why do a great many targets disable libgcj by default in the toplevel configure.ac? Where GCC provides a runtime library for a given language, I'd think the compiler isn't particularly useful without the library - and so if the compiler is built for that language, an attempt should be made to b