Review request: Zero assembler port
Andrew John Hughes
gnu_andrew at member.fsf.org
Thu Jul 16 06:54:26 PDT 2009
2009/7/16 Gary Benson <gbenson at redhat.com>:
> Gary Benson wrote:
>> Zero uses one external library, libffi, for JNI method invocation.
>> The following two variables are used to tell the compiler and linker
>> how to find libffi. These can be set by the user, but if left unset
>> then jdk/make/jdk_generic_profile.sh will attempt to set them using
>> pkg-config:
>>
>> LIBFFI_CFLAGS
>> Flags to be passed to the C++ compiler to build against libffi.
>>
>> LIBFFI_LIBS
>> Flags to be passed to the linker to link against libffi.
>
> It turns out that Gentoo builds libffi without the pkg-config stuff.
> The following webrev has a modified jdk/make/jdk_generic_profile.sh
> that adds default values to these two (LIBFFI_CFLAGS="" and
> LIBFFI_LIBS="-lffi") to work with Gentoo (and any other distributions
> that don't pkg-config libffi):
>
> http://cr.openjdk.java.net/~gbenson/zero-06/
>
Gentoo users generally build libffi as part of gcc. I remember
something about it being split out and maintained separately, but not
the whole story.
> Cheers,
> Gary
>
> --
> http://gbenson.net/
>
--
Andrew :-)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net
PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8
More information about the hotspot-dev
mailing list