jextract and Botan
Giorgio Zoppi
giorgio.zoppi at gmail.com
Sun Apr 28 16:32:01 UTC 2019
Dear all,
It worked smoothly. The strenght of project panama is the speed of
development.
I have done the setup in less thean 10 minutes at
https://github.com/giorgiozoppi/botan/tree/master/src/java
Thanks for providing such interop tool.
Best Regards,
Giorgio
El lun., 22 abr. 2019 a las 16:10, Jorn Vernee (<jbvernee at xs4all.nl>)
escribió:
> The plan has been to investigate C++ support at some point, but
> short-term the focus lies on finding a useful set of low-level APIs that
> other high-level functionality can be built on top of [1]
>
> Jorn
>
> [1] :
> https://mail.openjdk.java.net/pipermail/panama-dev/2019-April/005197.html
>
> Giorgio Zoppi schreef op 2019-04-22 13:01:
> > Dear Jorn,
> > ok thanks for the answer. I will proceed in this way. Does the project
> > panama any plan to support native c++?
> > Best Regards,
> > Giorgio.
> >
> > El dom., 21 abr. 2019 a las 21:59, Jorn Vernee (<jbvernee at xs4all.nl>)
> > escribió:
> >
> >> Hi Giorgio,
> >>
> >> Please note that jextract does not really support C++ yet. If you
> >> want
> >> to create bindings for Botan you will have to use the C API for now,
> >>
> >> which is also what's used for bindings of other languages it seems
> >> [1]
> >>
> >> Eye-balling the command you'd need to use, try:
> >>
> >> jextract /usr/local/include/botan-2/botan/ffi.h -L
> >> /usr/local/lib/ -I
> >> /usr/local/include/botan-2/ -l botan-2 -t Botan
> >> --record-library-path -o
> >> botan2.jar
> >>
> >> A jextract of just the header file works for me, but I can not get
> >> the
> >> build working on my machine, so I can't test the exact command.
> >>
> >> Hope this helps,
> >> Jorn
> >>
> >> [1] :
> >>
> >
> https://github.com/randombit/botan/blob/e21bddd79357f2ad8576fd871d387b722192b847/src/lib/ffi/ffi.h
> >
> > --
> >
> > Life is a chess game - Anonymous.
>
--
Life is a chess game - Anonymous.
More information about the panama-dev
mailing list