This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

difficulties building PPL 0.11.2 without "--enable-shared"


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

--
For unsubscribe information see http://sourceware.org/lists.html#faq


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