Recent

Author Topic: [SOLVED] Astra Linux CE and Lazarus  (Read 685 times)

julkas

  • Sr. Member
  • ****
  • Posts: 412
  • KISS principle / Lazarus 2.0.0 / FPC 3.0.4
[SOLVED] Astra Linux CE and Lazarus
« on: July 28, 2019, 01:50:12 pm »
How install Lazarus 2.0.2/FPC 3.0.4 under latest Astra Linux CE? Thanks.
« Last Edit: July 29, 2019, 02:44:27 pm by julkas »
procedure mulu64(a, b: QWORD; out clo, chi: QWORD); assembler;
asm
  mov rax, a
  mov rdx, b
  mul rdx
  mov [clo], rax
  mov [chi], rdx
end;

Handoko

  • Hero Member
  • *****
  • Posts: 3185
  • My goal: build my own game engine using Lazarus
Re: Astra Linux CE and Lazarus
« Reply #1 on: July 28, 2019, 02:00:45 pm »
Maybe you can try to install Lazarus using the deb files.

It says:
"Astra Linux is considered a recognized Debian derivative ..."
Source: https://en.wikipedia.org/wiki/Astra_Linux

julkas

  • Sr. Member
  • ****
  • Posts: 412
  • KISS principle / Lazarus 2.0.0 / FPC 3.0.4
Re: Astra Linux CE and Lazarus
« Reply #2 on: July 28, 2019, 02:07:14 pm »
Maybe you can try to install Lazarus using the deb files.

It says:
"Astra Linux is considered a recognized Debian derivative ..."
Source: https://en.wikipedia.org/wiki/Astra_Linux
So, download from - https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20amd64%20DEB/Lazarus%202.0.2/ and install?
procedure mulu64(a, b: QWORD; out clo, chi: QWORD); assembler;
asm
  mov rax, a
  mov rdx, b
  mul rdx
  mov [clo], rax
  mov [chi], rdx
end;

Thaddy

  • Hero Member
  • *****
  • Posts: 9152
Re: Astra Linux CE and Lazarus
« Reply #3 on: July 28, 2019, 02:50:51 pm »
In the case of Astra linux:
If it is running on an Elbrus processor only the X86 instruction set is likely to be supported. There is no FPC back end for Linux compiled for Elbrus ISA, but there is for Linux compiled for Elbrus' X86  compatible ISA mode. In that case, install from apt. Both architectures are supported by Elbrus, but only the X86 version will work. Astra linux was developed specifically for the Elbrus.
See https://en.wikipedia.org/wiki/Elbrus_2000 and https://en.wikipedia.org/wiki/Astra_Linux

FPC should run on Astra linux for linux-x86_64 (also on Elbrus X86 mode) and ARM. The S390 and Elbrus_2000 instruction sets are not supported.

BTW: If somebody knows how to obtain an Elbrus 2000 based board in the Netherlands, I would be very interested, because of its security features, especially dynamic pointer validity verification.
« Last Edit: July 28, 2019, 03:05:34 pm by Thaddy »
also related to equus asinus.

julkas

  • Sr. Member
  • ****
  • Posts: 412
  • KISS principle / Lazarus 2.0.0 / FPC 3.0.4
Re: Astra Linux CE and Lazarus
« Reply #4 on: July 28, 2019, 03:07:06 pm »
In the case of Astra linux:
If it is running on an Elbrus processor only the X86 instruction set is likely to be supported. There is no FPC back end for Linux compiled for Elbrus ISA, but there is for Linux compiled for Elbrus' X86  compatible ISA mode. In that case, install from apt. Both architectures are supported by Elbrus, but only the X86 version will work. Astra linux was developed specifically for the Elbrus.
@Thaddy Thanks. First time hearing about Elbrus processor :-(
I want install Astra Linux CE VM and Lazarus 2.0.2 on i7 Intel CPU under Widows 8 host :-)
procedure mulu64(a, b: QWORD; out clo, chi: QWORD); assembler;
asm
  mov rax, a
  mov rdx, b
  mul rdx
  mov [clo], rax
  mov [chi], rdx
end;

Thaddy

  • Hero Member
  • *****
  • Posts: 9152
Re: Astra Linux CE and Lazarus
« Reply #5 on: July 28, 2019, 03:07:59 pm »
Then you should have no problems installing from apt
also related to equus asinus.

julkas

  • Sr. Member
  • ****
  • Posts: 412
  • KISS principle / Lazarus 2.0.0 / FPC 3.0.4
Re: Astra Linux CE and Lazarus
« Reply #6 on: July 28, 2019, 03:10:01 pm »
Then you should have no problems installing from apt
Perfectly. I will report...
It would be great. Lazarus on Astra (άστρα (Greek) - stars)
« Last Edit: July 28, 2019, 05:50:24 pm by julkas »
procedure mulu64(a, b: QWORD; out clo, chi: QWORD); assembler;
asm
  mov rax, a
  mov rdx, b
  mul rdx
  mov [clo], rax
  mov [chi], rdx
end;

lucamar

  • Hero Member
  • *****
  • Posts: 2075
Re: Astra Linux CE and Lazarus
« Reply #7 on: July 28, 2019, 09:50:06 pm »
It would be great. Lazarus on Astra (άστρα (Greek) - stars)

Let's hope it's not a case of: per aspera ad Astra
 ;)
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus 2.0.2/2.0.4  - FPC 3.0.4 on:
(K|L)Ubuntu 12..16, Windows XP SP3, various DOSes.

julkas

  • Sr. Member
  • ****
  • Posts: 412
  • KISS principle / Lazarus 2.0.0 / FPC 3.0.4
Re: Astra Linux CE and Lazarus
« Reply #8 on: July 29, 2019, 11:58:25 am »
It would be great. Lazarus on Astra (άστρα (Greek) - stars)

Let's hope it's not a case of: per aspera ad Astra
 ;)
@lucamar +1.
procedure mulu64(a, b: QWORD; out clo, chi: QWORD); assembler;
asm
  mov rax, a
  mov rdx, b
  mul rdx
  mov [clo], rax
  mov [chi], rdx
end;

julkas

  • Sr. Member
  • ****
  • Posts: 412
  • KISS principle / Lazarus 2.0.0 / FPC 3.0.4
Re: [SOLVED] Astra Linux CE and Lazarus
« Reply #9 on: July 29, 2019, 02:46:06 pm »
Lazarus 2.0.2 on Astra Linux CE.
procedure mulu64(a, b: QWORD; out clo, chi: QWORD); assembler;
asm
  mov rax, a
  mov rdx, b
  mul rdx
  mov [clo], rax
  mov [chi], rdx
end;