1. Download our Official Android App: Forums for Android!

Apps Confused about building tutorials

Discussion in 'Android Development' started by mungbeans, Nov 25, 2008.

  1. mungbeans

    mungbeans Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    3
    Joined:
    Nov 25, 2008

    Nov 25, 2008
    3
    0
    5
    I've been doing lots of searching to find information on how to compile code for the kernel and am confused as to the results - there are several blogs etc. showing how you can compile C code for android but the are all different. Isn't there a standard common or recommended way?

    According to
    http://source.android.com/download
    you can obtain the source and compile it right away, and when I tried it it was successful.

    So if you can apparently compile for the emulator using the tool chain as above why are there so many articles talking about things like having obtaining a cross-compiler or using scratchbox or busybox or obtaining embedded debian etc.?

    1) If I modify some kernel source code, or write a simple c hello world app, what compiler should I use to run it on the emulator and why? If I can't use the built in tool chain why not?

    2) If I do above and want to run it on target hardware, omap 2420 or whatever, what compiler should I use and why?

    3) Is there any documentation describing how the android build system / make files etc. works?

    TIA
     

    Advertisement

  2. calvin

    calvin Lurker
    Rank:
    None
    Points:
    5
    Posts:
    2
    Joined:
    Jan 8, 2010

    Jan 8, 2010
    2
    0
    5
    oh,i have a same quetion as u!
     

Share This Page

Loading...