so no feedback on INCLUDE and LIB path using ezx-crosstool-0.5 then?
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
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>
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.