Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Getting JNI’s include path dynamically
Getting JNI’s include path dynamically [message #251930] Mon, 10 March 2008 05:08
Eclipse UserFriend
Originally posted by: 4cs6fcg02.sneakemail.com

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig7C3900E3A0FEDE337903126B
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable

Hi,

I have a JNI project, that is both a Java Project and a C/C++ project.=20
The makefile contains an -I... with the include for the jni directory.=20
However, this can differ on other computers, so I=E2=80=99d like to make =
this=20
somehow be inserted automatically. Is there a trick for this?

Furthermore, the name of the library file needs to be =E2=80=98libXXX.so=E2=
=80=99 on=20
Linux, but =E2=80=98XXX.dll=E2=80=99 on Windows, and the C compiler needs=
some other=20
arguments. How can I get this to be determined correctly? (I am rather =

a freshmen to makefiles and such, so a link to an explanation of how to=20
determine such stuff or an example is fine.)

For now, Linux is the main platform, so the first question is the most=20
important.

TIA, H.
--=20
Hendrik Maryns
http://tcl.sfs.uni-tuebingen.de/~hendrik/
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
http://aouw.org
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html


--------------enig7C3900E3A0FEDE337903126B
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFH1Pqje+7xMGD3itQRAoezAJ94Ytgkxoxe0oLL0KgPuiIixLCODQCf bpJu
3f/xrVfL7QYIcUkUadqQB2Y=
=WH8+
-----END PGP SIGNATURE-----

--------------enig7C3900E3A0FEDE337903126B--
Previous Topic:Find all the source directories within a project?
Next Topic:Highlighting All Variable Occurences When Cursor On Declaration
Goto Forum:
  


Current Time: Sat Apr 26 21:30:47 EDT 2025

Powered by FUDForum. Page generated in 0.02474 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top