wxSymbian

Mathieu Cartoixa cartoixa at tigris.org
Thu Apr 12 09:38:35 PDT 2007


Vadim Zeitlin a écrit :
> 
>  Thanks for the link, I'll try to follow these instructions soon! The bad
> news is that the compiler used for Series 60 is gcc 2.95 and I have big
> doubts that it can compile cvs HEAD code (it can't currently, it dies with
> an internal compiler error, but maybe this could be worked around
> somehow...). The compiler for Series 60 3rd edition is gcc 3.4.3, which is
> much better, but I don't know if we plan to support 1st and 2nd editions?

      I would be sorry (my N70 is 2nd edition FP3). But I guess it is 
better to start from the latest edition. Hopefully backwards (perhaps 
limited) compatibility could be added later.

> 
> MC>      From what I understood (see 
> MC> <http://developer.uiq.com/devlib/uiq_30/SDKDocumentation/sdl/N1035A/BuildTools/index.html>, 
> MC> mind the wrap), they have their own project file format (*.mmp + 
> MC> bld.inf). A set of tools (bldmake, abld and makmake) can build the 
> MC> project, generate project files for CodeWarrior or generate makefiles. 
> MC> In my version of the SDK (Symbian 8.1a), they even could generate VC6 
> MC> project files.
> 
>  I see, thanks again for the information. I'm not sure if we really want to
> use their stuff if we can avoid it, generating all the target make/project
> files with bakefile should be simpler. But I really need to setup a build
> environment here to be able to test it.

      I have managed to compile their "Hello World" sample. So a bit 
more on the build process :
   * Forget about spaces in the project path...
   * bldmake.bat takes project.mmp and bld.inf as input. It generates 
abld.bat, that is then used to build the sources. But it also generates 
those 21 (!) files in a path that is relative to the SDK (!! 
<C:\Nokia\8.1a\S60_2nd_FP3\Epoc32\BUILD\HELLOWORLD> in my case). 20 of 
them are makefiles (!!!) that are internally used by the generated 
abld.bat...

      My experience is that such piece of "software" is often very 
conservative about the way it wants things to be done. I wish you luck.

> 
>  BTW, if you have any links such as the above (martin.st) one for Windows
> setup, I'd appreciate them too.

      I found it amazingly straightforward (for such a mess, I mean ;-) :
   * Download a zip file 
(<http://www.forum.nokia.com/info/sw.nokia.com/id/4a7149a5-95a5-4726-913a-3c6f21eb65a5/S60-SDK-0616-3.0-mr.html>, 
registration required), which contains a setup that does most of the 
work. You will just have to forget about wanting spaces in your install 
path though, because most of the tools do not support them :-(
   * Do not miss the release notes (located in 
<C:\Nokia\8.1a\S60_2nd_FP3\Epoc32\Data> in my case) where you should 
find that ActivePerl is a requirement.
   * There is no step 3...

		Mathieu





More information about the wx-dev mailing list