Rockbox Technical Forums

Rockbox Development => Starting Development and Compiling => Topic started by: cereal_killer on March 05, 2018, 12:55:02 PM

Title: Rockbox on Cowon Q5 (Windows CE 5.0 Professional)
Post by: cereal_killer on March 05, 2018, 12:55:02 PM
I recently started toying with my Cowon Q5 which runs Windows CE 5.0 Professional and found this wiki page: https://www.rockbox.org/wiki/WindowsCEPort

The "Status" paragraph sounds to me as if it would be possible to run Rockbox on such a device, but I don't understand what
Quote
however changes will be required to actually compile with cegcc as not all defines and libraries are available as on a unix system.
means.

Is it feasible and just a matter of the right compiler, or does WinCE lacks some important features?

What would be needed to make Rockbox run on this device? Or can the UI Simulator made to run on it?

I appreciate any help and technical details.
Title: Re: Rockbox on Cowon Q5 (Windows CE 5.0 Professional)
Post by: saratoga on March 05, 2018, 06:17:02 PM
I recently started to toying around with my Cowon Q5 which runs Windows CE 5.0 Professional and found this wiki page: https://www.rockbox.org/wiki/WindowsCEPort

The "Status" paragraph sounds to me as if it would be possible to run Rockbox on such a device, but I don't understand what
Quote
however changes will be required to actually compile with cegcc as not all defines and libraries are available as on a unix system.
means.

I'm trying to remember, but I think that just meant it was hard to build the compiler on Unix systems at the time, which made it hard to compile the UI sim.  I'm not even sure if that is still true, the cegcc web page says it builds on linux.

Is it feasible and just a matter of the right compiler, or does WinCE lacks some important features?

What would be needed to make Rockbox run on this device? Or can the UI Simulator made to run on it?

I think you would need to get SDL running on WinCE (which provides wrappers around the WinCE API for things like buttons and graphics), then you would build rockbox as an app (which targets SDL) using cegcc toolchain. Not sure if anything else is required.  A good first step might be to compile some kind of hello world program using cegcc and confirm that it builds.
Title: Re: Rockbox on Cowon Q5 (Windows CE 5.0 Professional)
Post by: cereal_killer on March 07, 2018, 12:19:19 PM
Thanks a lot you for your answer saratoga. Sounds like Rockbox on the Q5W could be possible. I'll have a look on the cegcc page. I found this: https://wiki.libsdl.org/FrontPage. This sounds promising. I'll post back.