This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Toplevel cleanup: disable Java when libffi not supported


On 04/29/2011 06:26 PM, Tom Tromey wrote:
"Joseph" == Joseph S Myers<joseph@codesourcery.com> writes:

Joseph> This patch, relative to a tree with Joseph> <http://gcc.gnu.org/ml/gcc-patches/2011-04/msg02123.html> applied, Joseph> continues the cleanup of toplevel cases relating to disabling Java or Joseph> Java libraries by arranging for Java to be disabled (via Joseph> unsupported_languages) on targets not supporting libffi

It does make sense to build libjava without libffi.
... and it does make sense to build libffi without libjava, e.g. for libgo.

There is also --without-libffi, though; I didn't look to see what your
patch does with this.

--with/without-libffi is trouble zone of its own. At least the libgo part in gcc-4.6 doesn't work at all: c.f. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48407

Ralf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]