Recent

Author Topic: Bionic on ppc64le  (Read 284 times)

julkas

  • Hero Member
  • *****
  • Posts: 630
  • KISS principle / Lazarus 2.0.6 / FPC 3.0.4
Bionic on ppc64le
« on: July 31, 2020, 05:57:13 pm »
Can I install FPC on Linux (Bionic) ppc64le using apt?
« Last Edit: August 01, 2020, 08:50:27 am 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: 2975
Re: Bionic on ppc64le
« Reply #1 on: July 31, 2020, 07:11:43 pm »
Maybe not with APT, since there is no "official" .deb files (for any platform, in fact) but installing from the fpc-3.2.0.powerpc-linux.tar tarball should be as easy as untarring it somewhere and running the included install.sh, as in almost any other Linux.

HTH
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus 2.0.8/FPC 3.0.4 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

sstvmaster

  • Full Member
  • ***
  • Posts: 166
Re: Bionic on ppc64le
« Reply #2 on: July 31, 2020, 09:01:17 pm »
Or use fpcupdeluxe, set path and click on button "FPC only"

https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases
Windows 10 (64 bit)
Lazarus: 2.0.10 / Trunk x32

PascalDragon

  • Hero Member
  • *****
  • Posts: 1968
  • Compiler Developer
Re: Bionic on ppc64le
« Reply #3 on: July 31, 2020, 09:12:31 pm »
Maybe not with APT, since there is no "official" .deb files (for any platform, in fact) but installing from the fpc-3.2.0.powerpc-linux.tar tarball should be as easy as untarring it somewhere and running the included install.sh, as in almost any other Linux.

For ppc64le the correct tarball is fpc-3.2.0.powerpc64le-linux.tar, powerpc is for 32-bit PowerPC BigEndian and powerpc64 is for 64-bit PowerPC BigEndian.

julkas

  • Hero Member
  • *****
  • Posts: 630
  • KISS principle / Lazarus 2.0.6 / FPC 3.0.4
Re: Bionic on ppc64le
« Reply #4 on: August 01, 2020, 08:50:03 am »
Thanks. I will try fpc-3.2.0.powerpc64le-linux.tar and report later.
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;

 

TinyPortal © 2005-2018