Skip to main content

Windows Build Environment for PhoneME

2 replies [Last post]
ebresie
Offline
Joined: 2003-08-06
Points: 0

Hey guys I was wondering...

I was looking into compiling Phone ME (Feature and/or Advanced) and started noting some of the build requirements. On the Windows platform, it mentions the requirement for Java SDK, Visual Studios, Cyg4ME, and DirectX (to name a few).

Is it possible to compile things on a Windows platform without having Visual Studios?

If I have the full Cygwin installed, do I still need the Cyg4ME? Are there specific versions of the required tools as part of this (what is the dependency)?

Does it hurt to compile with a newer version of Java SDK (say a Java SE 6 build)? If specific version is required, could using a compiler argument work to target the specific version?

Is it possible to use Netbean's C/C++ capabilities to compile Phone ME instead of the Visual Studios as listed?

Why is DirectX SDK required? And are alternatives to DirectX SDK available as well (maybe SDL, OpenGL, etc)?

And what kind of cross compilers (for a target hardware platform, for example an ARM based platform) are freely available?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
terrencebarr
Offline
Joined: 2004-03-04
Points: 0

Sorry for the slow reply, I'm recovering from JavaOne ...

Some quick answers:

I believe it is possible to build some parts of phoneME for Windows without MS tools but you'll have to figure it out yourself. Other parts definitely require MS tools simply because they are the only game in town. In the Windows world the MS tool chain is pretty much the default and almost everyone uses it so phoneME goes the same avenue. However, Visual Studio C++ Express is free for non-commercial use as well as most of the other MS tools required for the basic phoneME build.

If you have full Cygwin installed you don't need Cyg4ME.

You can use a newer version of the Java SDK, I believe the build system will build everything using the -version 1.4 flag.

No, you can't use NetBeans for the reasons mentioned above. Also, the phoneME build system is make-based whereas NetBeans uses ant - you would have to recreate the build system.

Not sure about DirectX. You should check the specific phoneME forum (Feature or Advanced).

Cross-compilers: There are a number of cross-compilers available for ARM depending on the operating system. The issue is the tool chain for ARM + Windows Mobile which, again, pretty much defaults on the MS tools.

Hope this helps,

-- Terrence

ebresie
Offline
Joined: 2003-08-06
Points: 0

> I believe it is possible to build some parts of
> phoneME for Windows without MS tools but you'll have
> to figure it out yourself.

Anyone out there had any luck here?

> Other parts definitely
> require MS tools simply because they are the only
> game in town. In the Windows world the MS tool chain
> is pretty much the default and almost everyone uses
> it so phoneME goes the same avenue. However, Visual
> Studio C++ Express is free for non-commercial use as
> well as most of the other MS tools required for the
> basic phoneME build.
>
> No, you can't use NetBeans for the reasons mentioned
> above. Also, the phoneME build system is make-based
> whereas NetBeans uses ant - you would have to
> recreate the build system.

I was actually thinking about the NetBeans C/C++ capabilities. It appears to include Cygwin and MinGW support. Using these tool chains could potentially make porting easier.

> Not sure about DirectX. You should check the specific
> phoneME forum (Feature or Advanced).

Would usage of lwuit or similar portability layer prevent the need for DirectX? Or is this specifically for the Windows Mobile platform? So if I was developing for Palm, would I really need to worry about this?

> Cross-compilers: There are a number of
> cross-compilers available for ARM depending on the
> operating system. The issue is the tool chain for ARM
> + Windows Mobile which, again, pretty much defaults
> on the MS tools.

ARM + Windows Mobile != all ARM based platforms. Sigh...

Are there any links to the supported ARM tool chains available for PhoneME usage? This could also be helpful for the JavaME4Palm project I am trying to get started.

Thanks for all your help.

Eric