Mobile/Symbian/NSPR: Difference between revisions

m
Line 88: Line 88:
* By now we can only build NSPR as static library and then link the .lib(around 80KB) into every single test case. So the final .sisx file with over 100 test case executables is over 7MB. The reason is that [http://www3.symbian.com/faq.nsf/AllByDate/B8542F039C193CCC802573DA0011DFA7 the GCCE compiler comes with S60 SDK can not produce correct DLL if Writable Static Data is used]. Although there is a hope we could use a more recent GCCE release from [http://www.codesourcery.com CodeSourcery], yet there are other problems. So further investigation and workaround have to be carried out.
* By now we can only build NSPR as static library and then link the .lib(around 80KB) into every single test case. So the final .sisx file with over 100 test case executables is over 7MB. The reason is that [http://www3.symbian.com/faq.nsf/AllByDate/B8542F039C193CCC802573DA0011DFA7 the GCCE compiler comes with S60 SDK can not produce correct DLL if Writable Static Data is used]. Although there is a hope we could use a more recent GCCE release from [http://www.codesourcery.com CodeSourcery], yet there are other problems. So further investigation and workaround have to be carried out.


* The reason I put test cases logs in <tt>C:\Data</tt> is that on Windows you could '''''*ONLY*''''' access this phone directory with [http://europe.nokia.com/A4144903 Nonkia PC Suite]. With help of this tool, you will manipulates files on the test device quite conveniently.
* The reason I put test cases logs in <tt>C:\Data</tt> is that on Windows you could '''''*ONLY*''''' access this phone directory with [http://europe.nokia.com/A4144903 Nonkia PC Suite]. With help of this tool, you will manipulates files on the testing device quite conveniently.


* If you are using Linux to communicate with the test phone, my suggestion is [http://bluetooth.kmobiletools.org/ KBluetooth] and [http://www.krusader.org/ Krusader], just one '''obex://[00:11:22:AA:BB:CC]/C:/Data''' address will bring you to the phone (if your phone's bluetooth MAC address is 00:11:22:AA:BB:CC).
* If you are using Linux to communicate with the testing phone, my suggestion is [http://bluetooth.kmobiletools.org/ KBluetooth] and [http://www.krusader.org/ Krusader], just one '''obex://[00:11:22:AA:BB:CC]/C:/Data''' address will bring you to the phone (if your phone's bluetooth MAC address is 00:11:22:AA:BB:CC).


* In the first test case ''gethost'', you have to use a SIM card with GPRS service available because it wants to communicate with DNS server and get IP address of a specific host. Also an IAP(Internet Access Point) manual selection is needed. So I put this test case as the first one is intended to left you doing your other business without staring at the test device.
* In the first test case ''gethost'', you have to use a SIM card with GPRS service available because it wants to communicate with DNS server and get IP address of a specific domain name. Also an IAP(Internet Access Point) manual selection is needed. So my intension of putting this test case as the first one is to leave you doing your other business without staring at the testing device.


* According to [http://wiki.forum.nokia.com/index.php/S60_3rd_Edition:_Application_Development#Install_Perl S60 3rd Edition: Application Development] and practice, it is required to use ActivePerl as close as '''v5.6.1.635'''. Later or earlier version of ActivePerl has '''hidden incompatibilities''' with Symbian OS building purpose.
* According to [http://wiki.forum.nokia.com/index.php/S60_3rd_Edition:_Application_Development#Install_Perl S60 3rd Edition: Application Development] and practice, it is required to use ActivePerl as close as '''v5.6.1.635'''. Later or earlier version of ActivePerl has '''hidden incompatibilities''' with Symbian OS building purpose.
90

edits