Hi,
I am struggling cross-compiling the Percy++ (percy.sourceforge.net/readme.php) for android phones that mainly require some other libraries to be included i.e. libgcrypt, socket++ etc. I can create the toolchain using android NDK with the following options 'android-17', 'ARM-based', 'linux-x86_64', and 'arm-linux-androideabi-4.8'. After I try to compile one of the required libraries, it gives me the following error:
arm-linux-androideabi-gcc --sysroot=/path-to-built-toolchain/sysroot
-I../include
-I. -march=armv7-a -c MakeDescAux.c
-I. -march=armv7-a -march=armv7-a -o MakeDesc MakeDesc.c MakeDescAux.o
-lm
./MakeDesc
./MakeDesc: 1: ./MakeDesc: Syntax error: word unexpected (expecting ")")
make[1]: *** [setup1] Error 2
make[1]: Leaving directory 'src'
> make: *** [all] Error 2
The reason that during the compilation, it creates some .exe files that are run during the compilation time on the desktop machine and they simply do not run, since these files have been compiled for another target i.e. android phone.
I want to create the .exe file out of the Percy installation. My question is; do I need some different linker or different linker settings, different LDFLAGS/CFLAGS/CPPFLAGS etc.? Is there any other way to compile the Percy without cross-compiling the required libraries? although I have tried with statically including the required libraries using the 'LOCAL_STATIC_LIBRARIES' option, but that also does not work. I think that the required libraries should be compiled before they are statically included to your main installation software. Any help in this regard is highly appreciated. Thanks.
I am struggling cross-compiling the Percy++ (percy.sourceforge.net/readme.php) for android phones that mainly require some other libraries to be included i.e. libgcrypt, socket++ etc. I can create the toolchain using android NDK with the following options 'android-17', 'ARM-based', 'linux-x86_64', and 'arm-linux-androideabi-4.8'. After I try to compile one of the required libraries, it gives me the following error:
arm-linux-androideabi-gcc --sysroot=/path-to-built-toolchain/sysroot
-I../include
-I. -march=armv7-a -c MakeDescAux.c
-I. -march=armv7-a -march=armv7-a -o MakeDesc MakeDesc.c MakeDescAux.o
-lm
./MakeDesc
./MakeDesc: 1: ./MakeDesc: Syntax error: word unexpected (expecting ")")
make[1]: *** [setup1] Error 2
make[1]: Leaving directory 'src'
> make: *** [all] Error 2
The reason that during the compilation, it creates some .exe files that are run during the compilation time on the desktop machine and they simply do not run, since these files have been compiled for another target i.e. android phone.
I want to create the .exe file out of the Percy installation. My question is; do I need some different linker or different linker settings, different LDFLAGS/CFLAGS/CPPFLAGS etc.? Is there any other way to compile the Percy without cross-compiling the required libraries? although I have tried with statically including the required libraries using the 'LOCAL_STATIC_LIBRARIES' option, but that also does not work. I think that the required libraries should be compiled before they are statically included to your main installation software. Any help in this regard is highly appreciated. Thanks.
xda-developers
The analysts stated in between 162 and also 407 clients
RépondreSupprimerwould certainly have to be taking statins of different kinds
for one additional person to create diabetic issues.
Nonetheless, Johns Hopkins' Dickersin claimed the Lipitor
RépondreSupprimerlawsuits could contribute to consumer unpredictability
concerning taking statin medicines.