Recent

Author Topic: Mips + Windows Embeded CE 6.0  (Read 10412 times)

Raul_ES

  • Full Member
  • ***
  • Posts: 183
  • My interests: Healthcare & Computers
    • My Linkedin Profile, you can add me to stay in contact.
Mips + Windows Embeded CE 6.0
« on: March 04, 2018, 02:39:43 am »
Hello,

I have no idea about cross-compiling and how to use it under Lazarus/FPC. Just a straight and clear question: It's possible to compile under x64 + linux or windows an executable for Mips + Windows CE 6.0 ? Do you know any other way?

regards
Pharmacy + Chemistry + Biology + Healthcare + Computing

If you have any interest or project related with these areas feel free to contact me!

mischi

  • Full Member
  • ***
  • Posts: 170
Re: Mips + Windows Embeded CE 6.0
« Reply #1 on: March 05, 2018, 02:05:25 pm »
To the best of my knowledge, wince is only supported for arm and i386 and mips (mipsel) for linux, embedded and android. The host system is not relevant for this.

Raul_ES

  • Full Member
  • ***
  • Posts: 183
  • My interests: Healthcare & Computers
    • My Linkedin Profile, you can add me to stay in contact.
Re: Mips + Windows Embeded CE 6.0
« Reply #2 on: March 05, 2018, 11:46:23 pm »
I found some info here: (wikipedia)

https://en.wikipedia.org/wiki/Windows_Embedded_CE_6.0

Quote
"CE 6.0 is compatible with x86, ARM, SH4 (only up to R2)[7] and MIPS based processor architectures"

And this here: https://www.nxp.com/files-static/training_pdf/VFTF09_WINDOWS_CE6_0.pdf

Quote
"Microsoft includes in Windows CE 6.0 a choice of four
possible CPU “architectures” that can be used to base
your computer hardware on."

Pages 23-24 and on.
Pharmacy + Chemistry + Biology + Healthcare + Computing

If you have any interest or project related with these areas feel free to contact me!

Raul_ES

  • Full Member
  • ***
  • Posts: 183
  • My interests: Healthcare & Computers
    • My Linkedin Profile, you can add me to stay in contact.
Re: Mips + Windows Embeded CE 6.0
« Reply #3 on: March 05, 2018, 11:50:09 pm »
Actually I want to make a small program for my Renault Clio IV "Media Nav Evolution" navigation and multimedia system. It's a Mips based board with Windows CE 6.0.
Pharmacy + Chemistry + Biology + Healthcare + Computing

If you have any interest or project related with these areas feel free to contact me!

PascalDragon

  • Hero Member
  • *****
  • Posts: 5444
  • Compiler Developer
Re: Mips + Windows Embeded CE 6.0
« Reply #4 on: March 12, 2018, 04:04:09 pm »
FPC's WinCE port only supports ARM and i386. For MIPS you'd need to add a new port...

Raul_ES

  • Full Member
  • ***
  • Posts: 183
  • My interests: Healthcare & Computers
    • My Linkedin Profile, you can add me to stay in contact.
Re: Mips + Windows Embeded CE 6.0
« Reply #5 on: March 16, 2018, 09:34:07 pm »
Ok. How may I help then? :-)
Pharmacy + Chemistry + Biology + Healthcare + Computing

If you have any interest or project related with these areas feel free to contact me!

PascalDragon

  • Hero Member
  • *****
  • Posts: 5444
  • Compiler Developer
Re: Mips + Windows Embeded CE 6.0
« Reply #6 on: March 17, 2018, 02:46:50 pm »
You can use this as a rough guide though I advice you to try to understand what the changes are doing exactly (Note to self: improve that guide). You'll also need to check inside the compiler where e.g. system_arm_wince or system_mips_wince are used and decide whether or not to use your new system_mipsel_wince/system_mipseb_wince as well. Also you need to find out whether WinCE on MIPS is using a different calling convention then what FPC supports there (if it is you'll have to extend the code generator to support it) and whether GNU binutils are available or if you need to use the Microsoft tools (which will need additional code to be usable). Then you can extend the WinCE RTL located in rtl/wince with the System unit being the most important one to get at least roughly working.

Of course you can ask for help if you encounter problems.

 

TinyPortal © 2005-2018