[Click] Building Click in Android Platform

jaeyong yoo y.jaeyong at gmail.com
Wed Sep 21 22:25:19 EDT 2011


It certainly looks better than my chaotic way!
I will try this one.
Thanks :)

Jaeyong

On Thu, Sep 22, 2011 at 4:30 AM, Eddie Kohler <kohler at cs.ucla.edu> wrote:

> Hi Jaeyong,
>
> Thanks for this link -- very interesting!!
>
> I've just managed to build Click for Android in a simpler manner. Several
> patches to Click were required, which have been pushed upstream.  If
> $ANDROID is the path to the Android NDK, the following configure line should
> work:
>
> LIBGCC=`arm-linux-androideabi-**gcc -print-libgcc-file-name`
> ./configure --host=arm-linux-androideabi \
>    CPPFLAGS="-I$ANDROID/**platforms/android-9/arch-arm/**usr/include
> -I$ANDROID/sources/cxx-stl/**gnu-libstdc++/include
> -I$ANDROID/sources/cxx-stl/**gnu-libstdc++/libs/armeabi/**include" \
>    CXXFLAGS="-fno-rtti -fno-exceptions" \
>
> LDFLAGS="-Wl,-rpath-link=$**ANDROID/platforms/android-9/**
> arch-arm/usr/lib,-dynamic-**linker=/system/bin/linker
> -L$ANDROID/platforms/android-**9/arch-arm/usr/lib -nostdlib
> $ANDROID/platforms/android-9/**arch-arm/usr/lib/crtbegin_**dynamic.o" \
>    LIBS="-lm -lstdc++ -lc $LIBGCC" \
>    --disable-linuxmodule --disable-dynamic-linking --enable-tools=host
>
> A working build with --enable-tools=mixed would take some more work.
>
> Anyway, thought people might be interested
> E
>
>
>
>
> On 9/8/11 11:56 PM, jaeyong yoo wrote:
>
>> Hello,
>>
>> I have succeeded building and running click-2.0 in Android (Galaxy Tab
>> 10.1
>> HoneyComb).
>> If you have interest, you can try it in the following website.
>>
>> http://nm.gist.ac.kr/twiki/**bin/view/Main/HOWTO_INSTALL_**
>> CLICK_IN_ANDROID<http://nm.gist.ac.kr/twiki/bin/view/Main/HOWTO_INSTALL_CLICK_IN_ANDROID>
>>
>>
>> Jaeyong
>> ______________________________**_________________
>> click mailing list
>> click at amsterdam.lcs.mit.edu
>> https://amsterdam.lcs.mit.edu/**mailman/listinfo/click<https://amsterdam.lcs.mit.edu/mailman/listinfo/click>
>>
>


More information about the click mailing list