need modification in c:\harbour\config
Antonio Linares wrote:Massimo,
I am interested in it and I plan to continue research about it, first step is to be able to build Harbour for Android.
Antonio Linares wrote:Massimo,
I am interested in it and I plan to continue research about it, first step is to be able to build Harbour for Android.
LOCAL_PATH := ~/harbour/harbour/src
include $(CLEAR_VARS)
LOCAL_MODULE := libhbvm
LOCAL_SRC_FILES := vm/arrays.c vm/arrayshb.c vm/asort.c vm/vm.c
LOCAL_CFLAGS := -I/Users/anto/harbour/harbour/include
include $(BUILD_STATIC_LIBRARY)APP_MODULES=libhbvmHola Antonio,
Como te podemos ayudar ?
Podemos hacer algo?
Lo que estas haciendo, es compilar desde Mac ?
Se puede hacer lo mismo con Windows?
Gracias.
Pruebas actuales:
I have modified harbour/config/global.mk this way, as a start:
anto@ubuntu:~/harbour/harbour/config$ diff global.mk global_old.mk
970,975d969
< ifeq ($(HB_PLATFORM),android)
< HB_COMP_PATH := ~/Desktop/android-ndk-r5b/toolchains/arm-
linux-androideabi-4.4.3/prebuilt/linux-x86/bin
< HB_COMPILER := arm-linux-androideabi-gcc
< HB_CPU := arm
< HB_CROSS_PLATFORM := yes
< HB_HOST_BIN := ~/harbour/harbour/bin/android/arm
1036d1029
< endif
Then I have created a folder harbour/config/android and copied gcc.mk
and global.mk from harbour/config/linux, then renamed gcc.mk as
arm-linux-androideabi-gcc.mk
Finally I do:
export HB_PLATFORM=android
make
Next I will set the right headers files path for the used gcc and test
it again
Also:
anto@ubuntu:~/harbour/harbour$ diff config/android/arm-linux-
androideabi-gcc.mk config/linux/gcc.mk
9c9
< HB_CMP := ~/Desktop/android-ndk-r5b/toolchains/arm-linux-
androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc
> HB_CMP := gcc
anto@ubuntu:~/harbour/harbour$

Hola Antonio, no se si voy bien encaminado. No tengo Linux en ninguna máquina de casa, solo en el trabajo. Por eso quería preguntarte si se puede hacer desde windows. He creado con un vmware la maquina virtual Android 2.2, pero ni por asomo está configurada con tu pantalla. Puedes explicar cual ha sido el procedimiento de creación. Eso que es un emulador o es el SO del Android?
Sorry wrong language.