Join Today
+ Reply to Thread
Results 1 to 3 of 3
  1. Default Build Environement Help please! :)

    I'm looking for some advice on properly setting up a good build environment. I tend to be vebose, so I'll first summarise :

    Question #1: With ezx-crosstool-0.5, what lib and include directories should I be using?
    Question #2: Should I get libs off of my phone and use them for builds?

    This is what I have done thus far:

    I successfully compiled ezx-crosstool-0.5 and it created a "build" and "patches" directory, that I presumed they just contain intermediate files. So I took the contents of gcc-arm-iwmmxt/gcc-3.3.6-glibc-2.3.2/arm-linux and moved it to /opt/ezx-crosstool for brevity. This, I presume, is the actual cross-compile toolkit.

    Since I didn't find any nifty "run this to setup your build environment" type of file, so I kinda slapped one together by basically searched for libs and cramming them into my LIBRARY_PATH and LDFLAGS (with -L for each), and then doing the same for my INCLUDE_PATH & CFLAGS (again, -I for each).

    But I just don't think I have a very clean setup. For example, I built the latest busybox (1.1.3 is out now) and vi wouldn't open existing files. I've seen some other odd stuff as well, but they could also be bugs or some other type of a780 compatibility issue as well (I am on Cygwin BTW).

    Well, now I've copied the contents of my phone's firmware directories into /opt/ezx-crosstool/phonefs so I can use those libs (I didn’t have zlib before doing this) and wrote a script to convert all of the absolute links (some of the libraries were linked to "/lib" and such). I yet haven't tried builds using these libs, however.

    Any help greatly appreciated!!!

    Daniel

  2. Default Re: Build Environement Help please! :)

    so no feedback on INCLUDE and LIB path using ezx-crosstool-0.5 then?
    <pre>dd if=/dev/zero of=/ram/awsomeswap bs=1024 count=16384
    mkswap -v0 /ram/awesomeswap 16384
    sync
    swapon /ram/awesomeswap</pre>

  3. #3

    Default Re: Build Environement Help please! :)

    dev-ezx-0.2.0/(include|lib)

    Yes, use /usr/lib off of your phone. The instructions should be on the site you got ezx crosstool from. Also, take a look in the iaxclient/kiax/ziaxphone thread for lib info.


 
+ Reply to Thread

Similar Threads

  1. Can anyone build this firmware??
    By djrawkz in forum E6 Firmware
    Replies: 4
    Last Post: 03-08-2009, 12:29 PM
  2. Latest Build V1.3 By JesusFreke
    By MANUP456 in forum Google G1
    Replies: 0
    Last Post: 01-02-2009, 12:01 AM
  3. Default browser build
    By aaratpatel in forum E6 General Chat
    Replies: 0
    Last Post: 03-25-2008, 09:20 PM
  4. build e6 toolchain
    By is_null in forum E6 General Chat
    Replies: 2
    Last Post: 07-15-2007, 11:23 PM
  5. Can someone build Ubuntu Theme?
    By beginor in forum MotoTheme
    Replies: 3
    Last Post: 05-15-2007, 07:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1