QUOTE(david_chen @ Jul 27 2005, 06:42 AM)
Do someone know how to set an environment for developing MOTO E680i Applications???
I've searched the Internet for a long time.
I just can find some pieces of information. It's not enough.
I've got some software like, xscale-gcc-vfp-3.3.2, qt-2.3.6, tmake-1.8.5.
Mostly, I follow this Build native application on E680
. But it doesn't work.
Oh, I forget to tell that I use Cygwin.
Have you tried the opie app development on http://marcus.bluetroll.se/e680/
? It does a very nice job of setting up a cross-compiler development and shows how to compile first qt-2.3.10 then opie to run on the e680. The only problem w/ this setup is that opie apps are based on a different version of qt than the phone so by default they don't run too smoothly together. This problem has been solved at the moto fanclub forum where a proxy environment handles the interfacing (touchscreen and key inputs) between opie an the native phone qt apps so that both can be running essentially at the same time regardless of the different versions of qt.
The moto fanclub forum can be found at http://www.rcsc.sisrs.com/mfc/index.php?name=Forums
but it is down right now. When it comes back up check out the development section, there you will see a thread started by "cyph" who did the very nice job of developing the proxy and there is an opie package there along w/ the code for the proxy and patches needed to the qt-2.6.10 package to get things to work harmoniously. In addition to opie I now have an X server running on the same package, and all of this stems from the opie app development at http://marcus.bluetroll.se/e680/
(so far the key seems to be that the cross-compiler described here correctly compiles w/ softfloat options, i have tried at least three other cross-compilers and just couldn't get the softfloat patching to work properly)
I have also played w/ qtopia compiled w/ and against qt-2.3.6 thinking that it might be closer to the phone environment (i think the phone qt version is 2.3.6), but the opie option is much better and works much more reliably.
Also, the development description from the link you posted assumes you have access to the headers used by Motorola to compile their qt libraries (note that they are not by any means stock). With the proper headers, and the right cross compiler, it is possible to develop for the e680, but we have noticed that the e680i is different enough that qt apps that work on the e680 aren't compatible w/ the e680i.
I've even tried to put together an OE-style environment to build apps using the e680 linux source (its available at sourceforge), but as of right now the opie w/ qt-2.3.10 and the proxy interface is by far the most stable environment. There are still some bugs to work out (e.g. sound is buggy) but it has yielded the most reliable development that still works the native apps so that we don't have to give up the actual phone in the e680/i.
As far as I know, all the development thus far has been done on linux, if you want to do it on cygwin i'd suggest starting w/ the opie app dev. page and see if you can't build the cross-compiler; after that it shouldn't be too much of a problem. If you have luck w/ this please let us know, i too would be interested in a Cygwin dev. environment. Best of luck....