Author Topic: Soldat server for ARM processor  (Read 4015 times)

0 Members and 1 Guest are viewing this topic.

Offline Rzaba

  • Major(1)
  • Posts: 6
Soldat server for ARM processor
« on: November 18, 2014, 05:28:34 pm »
Hello,

Is there a way to run a soldat server on an ARM processor?
I'm in possession of a Raspberry Pi, that has 512MB RAM and a 700MHz processor, so running the server through emulators would probably be too slow.
Tools: LSA

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5037
Re: Soldat server for ARM processor
« Reply #1 on: November 18, 2014, 07:27:04 pm »
There is not (currently) an ARM port so this is impossible unless you want to run Qemu to emulate x86 which, as you said, will be horribly slow.
There are other worlds than these

Offline Shoozza

  • Retired Soldat Developer
  • Veteran
  • ******
  • Posts: 1632
  • Soldat's Babysitter
    • Website
Re: Soldat server for ARM processor
« Reply #2 on: December 22, 2014, 01:23:39 pm »
This is not the first request for Raspberry Pi support for soldatserver.
Since soldatserver uses Lazarus and there is crosscompilation support for ARM it would be theoretically possible for us to create a soldatserver for ARM version (http://wiki.lazarus.freepascal.org/Setup_Cross_Compile_For_ARM)
Last time I looked into it there was no support for pascalscript on ARM so that would missing.
There are probably more issues though. It is questionable if we should invest in an ARM version as non of the devs has a Raspberry Pi (afaik) and therefore testing isn't easy.
« Last Edit: December 22, 2014, 01:25:46 pm by Shoozza »
Rules
Tools: ARSSE - SARS - SRB - chatMod

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5037
Re: Soldat server for ARM processor
« Reply #3 on: December 22, 2014, 11:52:06 pm »
There are probably more issues though. It is questionable if we should invest in an ARM version as non of the devs has a Raspberry Pi (afaik) and therefore testing isn't easy.

I do. I gave one to a friend but he can give it back to me if I have a real use for it.
There are other worlds than these

Offline Shoozza

  • Retired Soldat Developer
  • Veteran
  • ******
  • Posts: 1632
  • Soldat's Babysitter
    • Website
Re: Soldat server for ARM processor
« Reply #4 on: December 23, 2014, 04:06:05 am »
I compiled a test version of soldatserver with CrossFPC and SyavX tested it.
But it seems like the CrossFPC linux arm version isn't compatible with the Raspberry Pi.
Details on the error here: http://unix.stackexchange.com/questions/101429/no-such-file-or-directory-when-executing-a-cross-compiled-program-on-a-raspber

The good news is that it compiled (after some fixes - probably most due to how CrossFPC works) and if we get the crosscompiler setup correctly it is likely that it will compile too.
« Last Edit: December 23, 2014, 04:07:53 am by Shoozza »
Rules
Tools: ARSSE - SARS - SRB - chatMod