[gambit-list] Build gambit as static library

Álvaro Castro-Castilla alvaro.castro.castilla at gmail.com
Thu Jan 3 17:45:08 EST 2013


Indeed, you don't need gsi to run Gambit on Android.  I haven't tested
Sean's solution to avoid gsi compilation, but after the compilation error
you just need to grab the *correctly* compiled libgambc.a


On Thu, Jan 3, 2013 at 9:44 PM, sean chapel <seoushi at gmail.com> wrote:

> TCL,
>
> I never got gsi to compile on android but it isn't needed to run scheme on
> android. To rid of the errors you might want to edit the makefile.in in
> the gambit package to not build gsi
>
> Change line 73:
> SUBDIRS = include lib gsi gsc bin misc doc tests examples contrib prebuilt
> To:
> SUBDIRS = include lib gsc bin misc doc tests examples contrib prebuilt
>
> you might have to remove some of the other items as well if they don't
> compile. I haven't tested this and I'm not sure if it will work but
> hopefully it will point you in the right direction.
>
> -Sean
>
>
> On Thu, Jan 3, 2013 at 12:07 PM, Mikael <mikael.rcv at gmail.com> wrote:
>
>> Hi TCLEval,
>>
>> Can you please provide a complete log and explain at what step it does
>> not work and if you have any thought on why it didn't?
>>
>> Regards
>>
>> 2013/1/3 tcl super dude <tcleval at gmail.com>
>>
>>>  Hi,
>>>
>>> How can I build gambit as a static library? (build only the static
>>> library) I am building an app for android, so I have to use a gambit as a
>>> static library to link to my NDK shared library. Everything is working as
>>> sujested by https://github.com/seoushi/gambit-android-example , but the
>>> compilation fails and I d like a clean method to build the static library
>>> without the error on the end of compilation process given while building
>>> gsi.
>>>
>>> thanks for your time
>>>
>>> _______________________________________________
>>> Gambit-list mailing list
>>> Gambit-list at iro.umontreal.ca
>>> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
>>>
>>>
>>
>> _______________________________________________
>> Gambit-list mailing list
>> Gambit-list at iro.umontreal.ca
>> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
>>
>>
>
> _______________________________________________
> Gambit-list mailing list
> Gambit-list at iro.umontreal.ca
> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20130103/c3214ba2/attachment.htm>


More information about the Gambit-list mailing list