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


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

Re: Patch: support non-libffi enabled platforms


>> However, couldn't we somehow ask libffi whether it should be used?
>> That way we only need to do the configure hacking in a single
>> place.  Ideally libffi could tell us (1) if it works on the
>> platform and (2) if the closure code is supported on the platform.

Anthony> What do you think the best way of doing this is?

One easy way would be to have the libffi configure generate a short
shell script that sets some variables:

    libffi_enabled='yes|no'
    libffi_closures_enabled='yes|no'

Tom


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