Recent

Author Topic: Freepascal 3.0.4 port to Haiku 64bit  (Read 13375 times)

Lorglas

  • Newbie
  • Posts: 1
Freepascal 3.0.4 port to Haiku 64bit
« on: March 26, 2021, 10:16:13 pm »
Can one port Freepasval 3.0.4 to Haiku 64Bit.

32Bit is available.

sstvmaster

  • Sr. Member
  • ****
  • Posts: 299
Re: Freepascal 3.0.4 port to Haiku 64bit
« Reply #1 on: March 26, 2021, 11:22:31 pm »
greetings Maik

Windows 10,
- Lazarus 2.2.6 (stable) + fpc 3.2.2 (stable)
- Lazarus 2.2.7 (fixes) + fpc 3.3.1 (main/trunk)

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11382
  • FPC developer.
Re: Freepascal 3.0.4 port to Haiku 64bit
« Reply #2 on: March 26, 2021, 11:23:38 pm »
The FPC 3.0.x branch has been retired with the FPC 3.2.0 release last summer.

PascalDragon

  • Hero Member
  • *****
  • Posts: 5446
  • Compiler Developer
Re: Freepascal 3.0.4 port to Haiku 64bit
« Reply #3 on: March 27, 2021, 11:01:09 am »
And 3.2.0 does support Haiku on x86_64 already. See here.

ASBzone

  • Hero Member
  • *****
  • Posts: 678
  • Automation leads to relaxation...
    • Free Console Utilities for Windows (and a few for Linux) from BrainWaveCC
Re: Freepascal 3.0.4 port to Haiku 64bit
« Reply #4 on: March 31, 2021, 08:47:54 pm »
Can one port Freepasval 3.0.4 to Haiku 64Bit.

32Bit is available.

Is your goal specifically FPC 3.0.4?  Because FPC 3.2.0 is available for Haiku 64-bit.
-ASB: https://www.BrainWaveCC.com/

Lazarus v2.2.7-ada7a90186 / FPC v3.2.3-706-gaadb53e72c
(Windows 64-bit install w/Win32 and Linux/Arm cross-compiles via FpcUpDeluxe on both instances)

My Systems: Windows 10/11 Pro x64 (Current)

Begasus

  • New member
  • *
  • Posts: 9
Re: Freepascal 3.0.4 port to Haiku 64bit
« Reply #5 on: July 24, 2021, 10:21:15 am »
Hello, at the moment Haiku has both 32bit and 64bit (FPC 3.2.2) packages (and FPC_source) package available that can be installed through our packagemanager.
I've been playing around a bit with it, also added a package for libQt5Pas (1.2.9) for Haiku.

I am able to build Lazarus on both arch's and on 64bit it launches fine, on 32bit it fails to launch as it can't find libstdc++.r4.so (which is gcc2*), I suspect that the 32bit package somehow links to it? I've build it with gcc8* compiler so can't figure out why it still insist on using the mentioned library


jma_sp

  • Full Member
  • ***
  • Posts: 150
  • El conocimiento si ocupa lugar.
Re: Freepascal 3.0.4 port to Haiku 64bit
« Reply #6 on: November 14, 2021, 09:31:41 pm »
Thanks Begasus.
I have tried to compile Lazarus under Haiku in 64 bit mode with fpc 3.2.0 and latest trunk Lazarus sources. It finalize with errors.
I compiled with make bigide LCL_PLATTFORM=qt5
It compile most of the source code  but not all.
So compile before  qt5 cbindings qmake -- make -- make install fails because destination directory is write protected so i copied it manually to nonpackaged -- lib
Actual qt5pas is for qt 5.6.1 Haiku Qt version 5.15 and have available qt 6 base in its depot.
It is a pitty that bepascal/befpc was discontinued and not have a Haiku native widgetset with Lazarus.
Fpcupdeluxe fail to install both freepascal and lazarus, i have tried with stable, trunk,....
In the other hand freepascal install ok  in 64 bits but when moving mouse in fp ide it send strange code to screen edition as it where typed by keyboard.

« Last Edit: November 14, 2021, 09:56:48 pm by jma_sp »
Devuan Beowulf 3.0( JWM/ROX/iDesk) - Puppy Linux,  Haiku OS,.ReactOS 0.4.xx  - FreeDos .

Begasus

  • New member
  • *
  • Posts: 9
Re: Freepascal 3.0.4 port to Haiku 64bit
« Reply #7 on: November 15, 2021, 07:30:24 pm »
Has been a while since I last checked, I have a script to make the build complete, haven't checked a Qt6 build for either lazarus/libQt5(?).pas if it works, would be nice if the build for fpc could be provided as a build against gcc11 for Haiku ...

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: Freepascal 3.0.4 port to Haiku 64bit
« Reply #8 on: November 17, 2021, 11:33:15 am »
I have tweaked fpcupdeluxe to solve some issues on Haiku i386 and x86_64.
See screenshot of Lazarus on i386.
This new version will be released soon.

Begasus

  • New member
  • *
  • Posts: 9
Re: Freepascal 3.0.4 port to Haiku 64bit
« Reply #9 on: November 17, 2021, 07:35:14 pm »
Great work!

jma_sp

  • Full Member
  • ***
  • Posts: 150
  • El conocimiento si ocupa lugar.
Re: Freepascal 3.0.4 port to Haiku 64bit
« Reply #10 on: November 17, 2021, 10:08:04 pm »
Thanks  O:-)

Then which option combination should be best to create the compilation by example version of Freepascal + Lazarus or directly trunk button?
« Last Edit: November 17, 2021, 10:13:01 pm by jma_sp »
Devuan Beowulf 3.0( JWM/ROX/iDesk) - Puppy Linux,  Haiku OS,.ReactOS 0.4.xx  - FreeDos .

jma_sp

  • Full Member
  • ***
  • Posts: 150
  • El conocimiento si ocupa lugar.
Re: Freepascal 3.0.4 port to Haiku 64bit
« Reply #11 on: November 21, 2021, 12:54:17 pm »
Can you DonAlfredo make a check for additional neccesary packages to install Lazarus?
Devuan Beowulf 3.0( JWM/ROX/iDesk) - Puppy Linux,  Haiku OS,.ReactOS 0.4.xx  - FreeDos .

Begasus

  • New member
  • *
  • Posts: 9
Re: Freepascal 3.0.4 port to Haiku 64bit
« Reply #12 on: November 21, 2021, 03:41:15 pm »
If there is something we could check out on Haiku side could you give a notice? Quite a lot of people are interested into a port for this ;)

Begasus

  • New member
  • *
  • Posts: 9
Re: Freepascal 3.0.4 port to Haiku 64bit
« Reply #13 on: December 19, 2021, 06:26:32 pm »
Sorry for not replying earlier, I've been able to build fpc/lazarus with fpcupdeluxe a while ago, even created a wip recipe for it at haikuports, so far it's looking good :)

« Last Edit: December 19, 2021, 06:31:15 pm by Begasus »

Begasus

  • New member
  • *
  • Posts: 9
Re: Freepascal 3.0.4 port to Haiku 64bit
« Reply #14 on: December 19, 2021, 06:28:34 pm »
Building one of the examples works ok too ;)


 

TinyPortal © 2005-2018