Re: Building Click in Android Platform

jaeyong yoo <[email protected]>
Newsgroups gmane.network.routing.click
Message-ID <CANud0TE5vVKjUvFMyyV+CXqxcr9xSd4rERwj4ydR56=QR+GmVA@mail.gmail.com>
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 <[email protected]> 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
>> [email protected]
>> https://amsterdam.lcs.mit.edu/**mailman/listinfo/click<https://amsterdam.lcs.mit.edu/mailman/listinfo/click>
>>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.