How to compile openmsx for windows mobile devices

Página 2/5
1 | | 3 | 4 | 5

Por Manuel

Ascended (18161)

Imagen del Manuel

26-04-2009, 22:14

Why SDL 1.2.6? Better use 1.2.13...

What version of openMSX are you compiling? Which method are you using?

Por karloch

Prophet (2139)

Imagen del karloch

26-04-2009, 23:59

@[D-Tail]: The problem is that my arm-ce GCC doesn't detect the libs I throw in his path (I'm building from Debian). The toolchain installs itself in /opt/cegcc and /opt/mingw32ce. I sucessfully compiled zlib with arm-wince-mingw32ce-gcc (long name Tongue). After that I put the library on the path /opt/mingw32ce/lib and also /opt/mingw32ce/arn-wince-mingw32ce/lib. But after that, even if I --host and --prefix to the right path, the cross-compiler fails to find zlib when compiling with -lz parameter.

@manuel: I have to use SDL 1.2.6 because is the only one patched to build correctly for Windows CE (that's with mingw32ce; lastest version have project files for eVC++, but we want to keep it POSIX-like, right? Tongue). I tried the patch and compiled like a charm with the toolchain. Note the library problem I'm facing is when compiling libpng and SDL_Image, not openMSX itself.

It looks like something is wrong with my enviroment. Could some Linux user test the toolchain to see if he is able to compile libpng and SDL_Image? You don't need a Windows CE device or a Windows OS for just generating the binaries, just Linux.

Por Manuel

Ascended (18161)

Imagen del Manuel

27-04-2009, 20:05

Maybe mthuurne can help you a bit here. Join our IRC channel to make that easier!

Por mth

Champion (500)

Imagen del mth

29-04-2009, 02:32

The build system in openMSX SVN is undergoing heavy maintenance at the moment, so if you want a stable base, better use the 0.7.0 release for now.

openMSX has a kind of mini-distro build system for all its dependencies. It is implemented in "build/" and is used when you run "make staticbindist". It is designed to allow cross compilation.

--prefix only determines installation location, not library search paths. --host will probably cause configure to look for a cross compiler, but I don't like automagical stuff, so I always explicitly set CC or CXX to make sure the compiler I want is used. A cross compiler might have its own library search paths, but I'm not sure about that, it might also only look for a predefined set of files in its "lib" directories. What I do is pass CFLAGS=-Ipath and LDFLAGS=-Lpath to explicitly add paths to the include and library search paths respectively.

Note that for binary distributions of openMSX we prefer to link statically. This means everything is in a single binary file, no runtime linking needed and only those symbols we actually need are taken from the libraries. If you want to link statically, read the story at the top of "build/". The conclusion is that for static linking, the "-l" option is unreliable and you should specify the full path to the ".a" file instead. This is done for you if you run "make staticbindist".

Por nikodr

Paladin (747)

Imagen del nikodr

02-08-2010, 11:06

Are there any news regarding the openmsx port to windows mobile devices?A faq or something to help us compile it ?

Por PingPong

Prophet (3767)

Imagen del PingPong

02-08-2010, 14:48

not soooo easy..... maybe the entire video rendering system should be adapted.....

Por nikodr

Paladin (747)

Imagen del nikodr

03-08-2010, 03:47

There is direct draw and GDI support on those windows mobile phones.And certainly some kind of 3d acceleration.What seems to be the obstacle?If we have the development and sdk files what would need change?

Por wouter_

Champion (467)

Imagen del wouter_

03-08-2010, 12:00

The main obstacle is that none of the main openMSX developers owns such a windows mobile phone. So there's no active development done to support those devices. However we'd be very interested in helping you compile it.

openMSX uses the SDL library ( for video rendering. If that library is available for your device then compiling openMSX shouldn't be too hard.

Por nikodr

Paladin (747)

Imagen del nikodr

04-08-2010, 01:16

I have a samsung omnia i900 that has windows mobile 6.5 i would be interested to help,should i join the irc channel?Can somebody help me by telling me which compliers or development libraries i should have?I also have access to nokia n97.

If somebody helps by telling me what devel libraries compilers and cross assemblers are needed and where to get them ( i seem to recall some posts ago by some things by microsoft)

I already compiled the latest openmsx for ps3 linux so i think if i have time i would want to port it to amiga morphos 2.x os and Windows mobile,as well as iphone 4 also.

Por Vampier

Prophet (2385)

Imagen del Vampier

04-08-2010, 02:02

I believe VS2010 (and 2008) have a capability to compile for winmob. Since openMSX already compiles on VC2010 it shouldn't be that much work to get it working on a winmob phone.... but then again... I'm not an expert on this.

Página 2/5
1 | | 3 | 4 | 5