Anybody had any success to port/emit android source code?
As I understand with GCC,it allow to emit/produce a code, like ASM or C or am I wrong?
If it possible what route should i take to produce android application with freebasic & gcc
thank you
Freebasic for Android?
Re: Freebasic for Android?
The way to do it is something like this:
1. get Android NDK
2. compile FB rtlib with the gcc toolchain from the Android NDK
3. copy the libs into an fbc installation
4. use fbc -target ... to cross-compile using the gcc toolchain from the Android NDK
chances are it will require adjustments to the FB sources before it works though.
1. get Android NDK
2. compile FB rtlib with the gcc toolchain from the Android NDK
3. copy the libs into an fbc installation
4. use fbc -target ... to cross-compile using the gcc toolchain from the Android NDK
chances are it will require adjustments to the FB sources before it works though.
Re: Freebasic for Android?
where can i get fb rtlib? is it came in fb installation package?
i have downloaded android ndk but still dont know yet how to use it
thank you dkl
i have downloaded android ndk but still dont know yet how to use it
thank you dkl
Re: Freebasic for Android?
rtlib is freebasic's library and its source code is on github and in freebasic's source package.
You definitely should take a look at the dev section in the freebasic wiki to geht some information about compiling fbc, rtlib and gfxlib2.
http://www.freebasic.net/wiki/wikka.php?wakka=DevToc
I think there were already sucessful ports to android. I even think that I have seen a website explaining how to get fbc running on android. Try searching in this forum and in the web, because I unfortunately don't remember the site' address/name.
//edit: i found the link:
http://rpg.hamsterrepublic.com/ohrrpgce ... or_Android
See also discussion in http://www.freebasic.net/forum/viewtopi ... 51#p202751
You definitely should take a look at the dev section in the freebasic wiki to geht some information about compiling fbc, rtlib and gfxlib2.
http://www.freebasic.net/wiki/wikka.php?wakka=DevToc
I think there were already sucessful ports to android. I even think that I have seen a website explaining how to get fbc running on android. Try searching in this forum and in the web, because I unfortunately don't remember the site' address/name.
//edit: i found the link:
http://rpg.hamsterrepublic.com/ohrrpgce ... or_Android
See also discussion in http://www.freebasic.net/forum/viewtopi ... 51#p202751
Re: Freebasic for Android?
Thank you st_w, it seems i lose information so long.
I will try to follow what they achieved rather than to start a new step.
Thank you all
I will try to follow what they achieved rather than to start a new step.
Thank you all
Return to “Community Discussion”
Who is online
Users browsing this forum: No registered users and 11 guests