[PPL-devel] difficulties building PPL 0.11.2 without "--enable-shared"

Anthony Foiani anthony.foiani at gmail.com
Wed May 18 04:25:50 CEST 2011


Greetings!

I'm compiling 0.11.2 on Linux (Fedora 14 x86-64, up to date).

In particular, I'm using PPL as a part of a cross-compiling GCC
install, so I'm trying to build it static-only.  With the default
configure script, this causes a problem with the Java interface: the
target to generate the ppl_java_generated_tests.java file is commented
out, but it is still a prerequisite of something else.

My first attempt was to simply configure "--enable-shared", but that
caused issues later on.

I fixed it (for my purposes) by configuring only C and C++ as
interface languages.

I don't know how you want to fix this; if JNI requires shared
libraries, then configure should either error out on this combination,
or warn and disable the Java interface. If there is no such
requirement, then just creating the proper target rule in the Java
interface makefile might work.

Anyway, thank you very much for the tool!

Best Regards,
Anthony

(I'm not subscribed to the ppl-devel list, so please cc me on any
replies if I can give any more information.)

Some links to messages about this:

1. http://www.cygwin.com/ml/crossgcc/2011-05/msg00046.html
2. http://www.cygwin.com/ml/crossgcc/2011-05/msg00054.html



More information about the PPL-devel mailing list