Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2015-08

Windows IOT Core

10 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Schnell

Did anybody try to compile fpc programs for this variant of Windows 10.

It is available for ARM (eg it's said to run on the RasPI) and on Intel (e.g. for the "MinnowBoard Max") .

Seemingly M$ suggest to do non-native software (Java or C#) (-> https://dev.windows.com/en-us) But IO don't see why native fpc programs should not be runable.

(Is there already a Windows 10 / ARM RTL ?)

-Michael

Reply by email

Chris Moody
to Michael Schnell
Michael Schnell wrote 13 lines
Did anybody try to compile fpc programs for this variant of Windows 10. It is available for ARM (eg it's said to run on the RasPI) and on Intel (e.g. for the "MinnowBoard Max") . Seemingly M$ suggest to do non-native software (Java or C#) (-> https://dev.windows.com/en-us) But IO don't see why native fpc programs should not be runable. (Is there already a Windows 10 / ARM RTL ?) -Michael _______________________________________________

I was beginning to wonder if this might be an easier task than getting FP for Linux to cross compile.

Reply by email

Sven Barth
to Chris Moody
"Chris Moody" wrote 7 lines
On 08/19/2015 02:14 AM, Michael Schnell wrote: > > Did anybody try to compile fpc programs for this variant of Windows 10. > > It is available for ARM (eg it's said to run on the RasPI) and on Intel

(e.g. for the "MinnowBoard Max") .

> > Seemingly M$ suggest to do non-native software (Java or C#) (->

https://dev.windows.com/en-us) But IO don't see why native fpc programs should not be runable.

Show quoted text 8 lines
> > (Is there already a Windows 10 / ARM RTL ?) > > -Michael > _______________________________________________ I was beginning to wonder if this might be an easier task than getting FP

for Linux to cross compile.

Not if Microsoft requires apps to use the Windows RT APIs (probably even in form of universal apps). Because FPC has zero, null, nadda support for this.

And even then you'd need a suitable assembler that can assemble to ARM-COFF (don't know whether mingw has something suitable there).

Regards,
Sven

Reply by email

Michael Schnell
to Sven Barth
Sven Barth wrote 9 lines
Not if Microsoft requires apps to use the Windows RT APIs (probably even in form of universal apps). Because FPC has zero, null, nadda support for this. And even then you'd need a suitable assembler that can assemble to ARM-COFF (don't know whether mingw has something suitable there).

OK, This is the answer regarding ARM (e.g. running on a RASPi) that I did expect.

What about the Intel brand of WIN IOT Core ?

I read that Microsoft claims that "there is only one Windows 10)" so the RT API should be non existing or optional.

-Michael

Reply by email

Michael Van Canneyt
to Michael Schnell
Michael Schnell wrote 17 lines
On 08/20/2015 08:02 AM, Sven Barth wrote: > > > Not if Microsoft requires apps to use the Windows RT APIs (probably even in > form of universal apps). Because FPC has zero, null, nadda support for > this. > > And even then you'd need a suitable assembler that can assemble to ARM-COFF > (don't know whether mingw has something suitable there). > OK, This is the answer regarding ARM (e.g. running on a RASPi) that I did expect. What about the Intel brand of WIN IOT Core ? I read that Microsoft claims that "there is only one Windows 10)" so the RT API should be non existing or optional.

Hah :)

Since when do you believe what companies tell you ?

RT is definitely optional on Windows 10 desktop, Intel. Given the above slogan, that would mean the same is true for Windows IOT ?

Michael.

Reply by email

Sven Barth
to Michael Schnell: OK, This is the answer regarding ARM (e.g. running on a RASPi) that I did expect. What…
"Michael Schnell" wrote 6 lines
On 08/20/2015 08:02 AM, Sven Barth wrote: > > > > Not if Microsoft requires apps to use the Windows RT APIs (probably even

in form of universal apps). Because FPC has zero, null, nadda support for this.

> > And even then you'd need a suitable assembler that can assemble to

ARM-COFF (don't know whether mingw has something suitable there).

> OK, This is the answer regarding ARM (e.g. running on a RASPi) that I did

expect.

What about the Intel brand of WIN IOT Core ? I read that Microsoft claims that "there is only one Windows 10)" so the

RT API should be non existing or optional.

Microsoft will probably only allow the usage of Apps (in contrast to normal Win32 programs) there. Thus of course it requires the RT API.

Please keep in mind that while Windows 10 works on PCs, smartphones, the XBox, the HoloLens and other embedded systems this does not mean that developers are allowed to use the Win32 API everywhere (in fact the only one which allows it seems to be PC).

Regards,
Sven

Reply by email

Michael Schnell
to Sven Barth
Sven Barth wrote 7 lines
Please keep in mind that while Windows 10 works on PCs, smartphones, the XBox, the HoloLens and other embedded systems this does not mean that developers are allowed to use the Win32 API everywhere (in fact the only one which allows it seems to be PC).

I thought IOT Core would have been a strategy to fight Linux. But if it does not allow to run decent software this will not work.

-Michael

Reply by email

Michael Schnell
to Sven Barth: in form of universal apps). Because FPC has zero, null, nadda support for this. ARM-COFF…
Sven Barth wrote
Microsoft will probably only allow the usage of Apps (in contrast to normal Win32 programs) there. Thus of course it requires the RT API.

I am happy to report that you are wrong :-)

A colleague of mine already since a few days does have the Intel IOT Core DevKit including the "MinnowBoard Max" and he runs Delphi programs on same. And he is really happy with the performance of the Device.

So fpc programs compiled for Windows should run out of the box.

-Michael

Reply by email

Sven Barth
to Michael Schnell
"Michael Schnell" wrote 5 lines
On 08/20/2015 02:31 PM, Sven Barth wrote: > > > Microsoft will probably only allow the usage of Apps (in contrast to

normal Win32 programs) there. Thus of course it requires the RT API.

Show quoted text 5 lines
> I am happy to report that you are wrong :-) A colleague of mine already since a few days does have the Intel IOT Core

DevKit including the "MinnowBoard Max" and he runs Delphi programs on same. And he is really happy with the performance of the Device.

So fpc programs compiled for Windows should run out of the box.

In that case FPC should work as well of course.
Might be worthwhile to test the ARM variant again, because if that allows normal C/C++ applications as well, then we could at least add a arm-win32 target for that (I've seen that mingw-w64 provides arm-binutils so that problem could be solved as well).

Regards,
Sven

Reply by email

Michael Schnell
to Sven Barth
Sven Barth wrote 6 lines
Might be worthwhile to test the ARM variant again, because if that allows normal C/C++ applications as well, then we could at least add a arm-win32 target for that (I've seen that mingw-w64 provides arm-binutils so that problem could be solved as well).

+1

it also would be great to make the Intel brand of IOT Core in Virtual box on Linux to allow for doing Linux and Windows development on a single machine without needing to buy a "real" Windows.

-Michael

Reply by email