Recent

Author Topic: Lazarus and VisionFive V1  (Read 624 times)

superc

  • Full Member
  • ***
  • Posts: 193
Lazarus and VisionFive V1
« on: May 28, 2022, 08:12:42 pm »
Hello,

browsing around I came across this board:

https://www.cnx-software.com/2021/11/27/visionfive-v1-risc-v-linux-sbc-resurrects-beaglev-single-board-computer/


and cpu is Dual-core Sifive U74 RISC-V processor.

would lazarus work on that platform?

Thanks in advance.

Thaddy

  • Hero Member
  • *****
  • Posts: 11902
Re: Lazarus and VisionFive V1
« Reply #1 on: May 28, 2022, 08:15:20 pm »
AFAIK work is being done to support RISK-V, so  follow that.
Black themes should be banned.

superc

  • Full Member
  • ***
  • Posts: 193
Re: Lazarus and VisionFive V1
« Reply #2 on: May 28, 2022, 08:25:59 pm »
Good news, nice card, right? :D

Thaddy

  • Hero Member
  • *****
  • Posts: 11902
Re: Lazarus and VisionFive V1
« Reply #3 on: May 28, 2022, 09:13:28 pm »
Right,
The compiler for riscv is also in trunk/main, so you can try it out. If it is in trunk/main it means it is almost feature complete and open for testing.
There are a few members who are interested, so keep following and posting!

« Last Edit: May 28, 2022, 09:18:18 pm by Thaddy »
Black themes should be banned.

Arioch

  • Sr. Member
  • ****
  • Posts: 347
Re: Lazarus and VisionFive V1
« Reply #4 on: September 10, 2022, 11:01:29 pm »
I wonder if anyone managed not cross-compile, but run Lazarus on RISC-V

Granted, dektop computers are expensive now, like https://hackaday.com/2019/02/11/building-a-risc-v-desktop/
But at least they are already possible.

MarkMLl

  • Hero Member
  • *****
  • Posts: 5136
Re: Lazarus and VisionFive V1
« Reply #5 on: September 11, 2022, 09:49:01 am »
I wonder if anyone managed not cross-compile, but run Lazarus on RISC-V

Granted, dektop computers are expensive now, like https://hackaday.com/2019/02/11/building-a-risc-v-desktop/
But at least they are already possible.

My general experience looking- some years ago- at FPC and Lazarus on various platforms was that once the compiler was OK Lazarus just worked.

The issues tended to be (a) oversights in the compiler/RTL/FCL makefiles where a particular library wasn't built for that platform and (b) issues relating to endianness or alignment (most of which got sorted when I was whining at the developers about SPARC support, except possibly for an alignment issue in lhelp).

I definitely had Lazarus running natively on SPARC (Linux and SunOS/Solaris), ARM (Linux on an NSLU2 "Slug") and possibly on MIPS (Linux). The fact that it could be built and would run on a Slug, albeit with lots of swapspace, suggests that it would probably build and run on a Linux-capable RISC-V board which will almost certainly have more resources... perhaps I should say /proportionately/ more resources, allowing for the bloat that's affected almost all code over the last ten years.

MarkMLl
« Last Edit: September 11, 2022, 01:36:41 pm by MarkMLl »
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

 

TinyPortal © 2005-2018