Author Topic: ScriptBasic Extension Modules written in Oxygen  (Read 21367 times)

0 Members and 1 Guest are viewing this topic.

Aurel

  • Guest
Re: ScriptBasic Extension Modules written in Oxygen
« Reply #60 on: June 13, 2012, 01:12:41 PM »
Quote
Is there a way of launching SB without the console?

That is the main question which i ask John many times without right
answer ... >:(

JRS

  • Guest
Re: ScriptBasic Extension Modules written in Oxygen
« Reply #61 on: June 13, 2012, 01:45:55 PM »
« Last Edit: June 13, 2012, 02:42:07 PM by JRS »

JRS

  • Guest
Re: ScriptBasic Extension Modules written in Oxygen
« Reply #62 on: June 19, 2012, 09:39:47 PM »
I was able to cross compile the ScriptBasic SQLite3 extension module for Android.


Charles Pegge

  • Guest
Re: ScriptBasic Extension Modules written in Oxygen
« Reply #63 on: June 20, 2012, 01:06:24 AM »

How does the C compiling work John. Do you use GCC for Android?

JRS

  • Guest
Re: ScriptBasic Extension Modules written in Oxygen
« Reply #64 on: June 20, 2012, 01:33:32 AM »
Here is the generated makefile for the Android toolchain version of the extension module.

Code: [Select]

all : /home/jrs/android/scriptbasic/bin/mod/lib/sqlite.a /home/jrs/android/scriptbasic/bin/mod/dll/sqlite.so /home/jrs/android/scriptbasic/bin/texi/mod_sqlite.texi

/home/jrs/android/scriptbasic/bin/mod/lib/sqlite.a : /home/jrs/android/scriptbasic/bin/mod/obj/sqlite/s_interface.o /home/jrs/android/scriptbasic/bin/mod/obj/sqlite/sqlite3.o
arm-linux-androideabi-ar -r /home/jrs/android/scriptbasic/bin/mod/lib/sqlite.a /home/jrs/android/scriptbasic/bin/mod/obj/sqlite/s_interface.o /home/jrs/android/scriptbasic/bin/mod/obj/sqlite/sqlite3.o  

/home/jrs/android/scriptbasic/bin/mod/dll/sqlite.so : /home/jrs/android/scriptbasic/bin/mod/obj/sqlite/interface.o /home/jrs/android/scriptbasic/bin/mod/obj/sqlite/sqlite3.o
arm-linux-androideabi-ld -shared -lc -lm -ldl -o /home/jrs/android/scriptbasic/bin/mod/dll/sqlite.so /home/jrs/android/scriptbasic/bin/mod/obj/sqlite/interface.o /home/jrs/android/scriptbasic/bin/mod/obj/sqlite/sqlite3.o  

/home/jrs/android/scriptbasic/bin/mod/obj/sqlite/interface.o : interface.c sqlite3.h
arm-linux-androideabi-gcc -w -fsigned-char -fPIC -c -o /home/jrs/android/scriptbasic/bin/mod/obj/sqlite/interface.o interface.c

/home/jrs/android/scriptbasic/bin/mod/obj/sqlite/s_interface.o : interface.c sqlite3.h
arm-linux-androideabi-gcc -w -fsigned-char -fPIC -DSTATIC_LINK=1 -c -o /home/jrs/android/scriptbasic/bin/mod/obj/sqlite/s_interface.o interface.c

/home/jrs/android/scriptbasic/bin/mod/obj/sqlite/sqlite3.o : sqlite3.c sqlite3.h
arm-linux-androideabi-gcc -w -fsigned-char -fPIC -c -o /home/jrs/android/scriptbasic/bin/mod/obj/sqlite/sqlite3.o sqlite3.c

/home/jrs/android/scriptbasic/bin/texi/mod_sqlite.texi : manual.texi.jam
perl /home/jrs/android/scriptbasic/jamal.pl manual.texi.jam /home/jrs/android/scriptbasic/bin/texi/mod_sqlite.texi
perl /home/jrs/android/scriptbasic/t2h.pl /home/jrs/android/scriptbasic/bin/texi/mod_sqlite.texi


@James Fuller - Armando has used MBC to generate test interfaces on Android without issues.
« Last Edit: June 20, 2012, 01:45:47 AM by JRS »