Hi, someone have any experience with porting linux package, like "vim", "ntp", "gcc", and any others... to run on android linux kernel?
I tried do that, and i had many problems, i lost weeks doing this, but i have a lot of errors to cross-compile these packages, using autoconf, automake, configure and makefiles files. (using codesourcery ARM, Sourcery G++ compiler) Im tried a lot of things, from many tutorials, sites, foruns, and i make a bash to set someone environment variables. This is needed to cross compile: export prefix="/opt/codesourcery" export CC="${prefix}/bin/arm-none-linux-gnueabi-gcc" export CPP="${prefix}/bin/arm-none-linux-gnueabi-g++" export CCLD="${prefix}/bin/arm-none-linux-gnueabi-ld" export LD="${prefix}/bin/arm-none-linux-gnueabi-ld" export AR="${prefix}/bin/arm-none-linux-gnueabi-ar" export OBJCOPY="${prefix}/bin/arm-none-linux-gnueabi-objcopy" export OBJDUMP="${prefix}/bin/arm-none-linux-gnueabi-objdump" export RANLIB="${prefix}/bin/arm-none-linux-gnueabi-ranlib" export NM="${prefix}/bin/arm-none-linux-gnueabi-nm" export STRIP="${prefix}/bin/arm-none-linux-gnueabi-strip" export AS="${prefix}/bin/arm-none-linux-gnueabi-as" export CFLAGS="-static export CPPFLAGS="-static -I${prefix}/include" export LDFLAGS="-L${prefix}/lib/gcc/arm-none-linux-gnueabi/4.2.3" export GCC_EXEC_PREFIX="${prefix}/lib/gcc/arm-none-linux-gnueabi/4.2.3" export CPLUS_INCLUDE_PATH="${prefix}/arm-none-linux-gnueabi/include/c++/4.2.3" export LIBRARY_PATH="${prefix}/lib/gcc/arm-none-linux-gnueabi/4.2.3:${prefix}/arm-none-linux-gnueabi/lib:${prefix}/arm-none-linux-gnueabi/libc:${prefix}/libexec/gcc/arm-none-linux-gnueabi/4.2.3" export PATH="${prefix}/bin:${LIBRARY_PATH}:${PATH}" Sometimes the binary file dont run on android, sometimes i get compile errors... and in many times i have problems to run the "./configure" script, like errors with pthread_yield not correct with error message "pthread_yield yes|no|manual", errors in gcc sanity ckeck, errors with preprocessor checks, files like "limits.h, values.h" not found... If someone already ported any linux package to android, i like to know how this can be done. Thanks, Felipe Nipo. -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel