Recent

Author Topic: Fpcupdeluxe  (Read 955515 times)

Grovkillen

  • Newbie
  • Posts: 3
Re: Fpcupdeluxe
« Reply #2595 on: July 12, 2025, 03:56:57 pm »
It would be great if we could add a command line to be executed after installation. We're using FPCupdeluxe to have multiple environments for our internal development, currently we need to manually copy the source after installation.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1841
Re: Fpcupdeluxe
« Reply #2596 on: July 12, 2025, 04:45:54 pm »
Fpcupdeluxe is just a GUI around fpcup.
When using fpcupdeluxe, a script can be generated, saving the commands to let fpcup do the same as fpcupdeluxe from the command line. You can edit this script to automate your special setup.

Grovkillen

  • Newbie
  • Posts: 3
Re: Fpcupdeluxe
« Reply #2597 on: July 13, 2025, 10:23:39 pm »
Aha! Will check that out once I'm back from the vacation.

heejit

  • Full Member
  • ***
  • Posts: 249
Re: Fpcupdeluxe
« Reply #2598 on: July 14, 2025, 07:48:16 am »
How can I update/install latest Lazarus 4.0

fpcupdeluxe version -> 2.4.0e


ginoo

  • Full Member
  • ***
  • Posts: 139
Re: Fpcupdeluxe
« Reply #2599 on: July 14, 2025, 09:22:10 am »
Fpcupdeluxe is just a GUI around fpcup.
When using fpcupdeluxe, a script can be generated, saving the commands to let fpcup do the same as fpcupdeluxe from the command line. You can edit this script to automate your special setup.

Excuse me,
but where do you download fpcupdeluxe that contains Lazarus 4.0?

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1841
Re: Fpcupdeluxe
« Reply #2600 on: July 14, 2025, 09:53:14 am »
Lazarus 4.0 might be not included in your fpcupdeluxe version.
However, it is very easy to add.
There is a file called fpcup.ini in which you can add extra Lazarus versions,

Code: Pascal  [Select][+][-]
  1. [ALIASlazTAG]
  2. stable.gitlab=lazarus_4_0
  3. 4.0.gitlab=lazarus_4_0
  4.  

heejit

  • Full Member
  • ***
  • Posts: 249
Re: Fpcupdeluxe
« Reply #2601 on: July 14, 2025, 11:51:44 am »
Thanks
Working now.
fpcupdeluxe really help me to setup/configure lazarus/fpc and cross compiler

Lazarus 4.0 might be not included in your fpcupdeluxe version.
However, it is very easy to add.
There is a file called fpcup.ini in which you can add extra Lazarus versions,

Code: Pascal  [Select][+][-]
  1. [ALIASlazTAG]
  2. stable.gitlab=lazarus_4_0
  3. 4.0.gitlab=lazarus_4_0
  4.  

ginoo

  • Full Member
  • ***
  • Posts: 139
Re: Fpcupdeluxe
« Reply #2602 on: July 14, 2025, 04:45:28 pm »
Lazarus 4.0 might be not included in your fpcupdeluxe version.
However, it is very easy to add.
There is a file called fpcup.ini in which you can add extra Lazarus versions,

Code: Pascal  [Select][+][-]
  1. [ALIASlazTAG]
  2. stable.gitlab=lazarus_4_0
  3. 4.0.gitlab=lazarus_4_0
  4.  

Thank you

jma_sp

  • Full Member
  • ***
  • Posts: 154
  • El conocimiento si ocupa lugar.
Re: Fpcupdeluxe
« Reply #2603 on: July 27, 2025, 01:41:09 am »
Hello from Spain Don Alfredo,

Could you generate an installer for Haiku 64 tested with latest dayly build?
Latest binary give me an error with qt.

Also id like to know if there is some info about how to generate a cross compiling installation for Haiku and RISCV64.
Devuan Beowulf 3.0( JWM/ROX/iDesk) - Puppy Linux,  Haiku OS,.ReactOS 0.4.xx  - FreeDos .

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1841
Re: Fpcupdeluxe
« Reply #2604 on: July 27, 2025, 08:49:59 am »
I have updated deluxe to use QT6. Please try.
https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/download/v2.4.0gp/fpcupdeluxe-x86_64-haiku-qt6

Please note: you have to install libqt6pas from Haiku Depot before using fpcupdeluxe.

Cascade

  • Jr. Member
  • **
  • Posts: 61
Re: Fpcupdeluxe
« Reply #2605 on: August 13, 2025, 06:05:00 pm »
I’m trying to install a couple of cross-compilers with FpcUpDeluxe 2.4.0f so that I can target Windows and older Macs that use an Intel CPU.  Install completed successfully for the Windows x86_64 cross-compiler, but I'm getting errors for Darwin x86_64 ...

Code: [Select]
fpcupdeluxe: FPC cross-builder: Building compiler for darwin-x86_64.
info: FPC Cross Installer (CleanModule: FPC): Looking for crosstools and crosslibs on system. Please wait.
info: FPC Cross Installer (CleanModule: FPC): Skipping cross-compiler clean step: compiler seems to be up to date !!
info: FPC Cross Installer (CleanModule: FPC): Running make rtl_distclean,packages_distclean twice for target x86_64-darwin.
info: FPC Cross Installer (CleanModule: FPC): Removal of stale build files and directories for x86_64-darwin. May take a while.
info: FPC Cross Installer (BuildModule: FPC): Going to build FPC.
info: FPC Cross Installer (BuildModule: FPC): x86_64-darwin cross-builder: Detected source version FPC (source): 3.2.3.
info: FPC Cross Installer (BuildModuleCustom: FPC): Removing fpc.cfg config snippet for target x86_64-darwin.
info: FPC Cross Installer (BuildModuleCustom: FPC): Skipping cross-compiler build step: compiler seems to be up to date !!
info: FPC Cross Installer (BuildModuleCustom: FPC): Running make [Rtl Build] (FPC crosscompiler: x86_64-darwin) with CROSSOPT: -FD/Library/Developer/CommandLineTools/usr/bin -XR/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -Fl/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib -Fl/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/system -WM10.9.
Start of compile error summary.
Compiler error: 2014051001
Start of compile error summary.
Fatal: Compilation aborted
genmath.inc(919,7) Fatal: Internal error 2014051001
Start of compile error summary.
ERROR: FPC Cross Installer (BuildModuleCustom: FPC): Running cross compiler fpc /usr/bin/make for x86_64-darwin failed with an error code.
fpcupdeluxe: Done !!

Any thoughts on what the issue might be?

I'm running macOS Sequoia 15.5 on Apple Silicon with Command Line Tools v16.2 (Just in case it is relevant, macOS keeps prompting me to install Command Line Tools v16.4 - but I had to manually downgrade to v16.2 to get Lazarus to compile any project).

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1841
Re: Fpcupdeluxe
« Reply #2606 on: August 15, 2025, 06:16:02 pm »
Interesting failure. Has something to do with float handling by the FPC compiler.
Please check Setup+ for emulation of 80bit floats. Might help. But I guess this error is caused by a default setting of fpcupdeluxe.
Unfortunately, I do not have Apple Silicon, nor Apple itself.

Thaddy

  • Hero Member
  • *****
  • Posts: 18342
  • Here stood a man who saw the Elbe and jumped it.
Re: Fpcupdeluxe
« Reply #2607 on: August 15, 2025, 06:33:07 pm »
The internal error 2014051001 has to be reported anyway. I have Apple silicon so will test.
[edit]
2014051001 is in assemble.pas in TExternalAssembler at around line 1250.
Makes me think the cross-tools are stale. But the internal error needs to be reported.
I can't build the cross compiler, but I can build the native compiler.
The output for a x86_64 to darwin_aarch64 is:
Code: Bash  [Select][+][-]
  1. fpcupdeluxe: info: FPC Cross Installer (BuildModuleCustom: FPC): Running make [Compiler] (FPC crosscompiler: aarch64-darwin) with CROSSOPT: -FDC:\fpcupdeluxe\cross\bin\all-apple\bin -XPaarch64-apple-darwin19- -Xd -FlC:\fpcupdeluxe\cross\lib\all-darwin\MacOSX12.3.sdk\usr\lib -FlC:\fpcupdeluxe\cross\lib\all-darwin\MacOSX12.3.sdk\usr\lib\system -XRC:\fpcupdeluxe\cross\lib\all-darwin\MacOSX12.3.sdk -FlC:\fpcupdeluxe\cross\lib\all-darwin\XQuartz\X11\lib.
  2. fpcupdeluxe: Executing: C:\fpcupdeluxe\fpcbootstrap\make.exe --directory=C:\fpcupdeluxe\fpcsrc FPCDIR=C:/fpcupdeluxe/fpcsrc FPCMAKE=C:/fpcupdeluxe/fpc/bin/x86_64-win64/fpcmake.exe PPUMOVE=C:/fpcupdeluxe/fpc/bin/x86_64-win64/ppumove.exe PREFIX=C:/fpcupdeluxe/fpc INSTALL_PREFIX=C:/fpcupdeluxe/fpc INSTALL_SOURCEDIR=C:/fpcupdeluxe/fpcsrc INSTALL_BASEDIR=C:/fpcupdeluxe/fpc INSTALL_UNITDIR=C:/fpcupdeluxe/fpc/units/aarch64-darwin INSTALL_BINDIR=C:/fpcupdeluxe/fpc/bin/x86_64-win64 INSTALL_LIBDIR=C:/fpcupdeluxe/fpc/lib INSTALL_SHAREDDIR=C:/fpcupdeluxe/fpc/share INSTALL_DATADIR=C:/fpcupdeluxe/fpc/data CPU_SOURCE=x86_64 OS_SOURCE=win64 OS_TARGET=darwin CPU_TARGET=aarch64 CROSSINSTALL=1 SYSTEMDIR=C:/fpcupdeluxe/fpcsrc/rtl/bsd DOSDIR=C:/fpcupdeluxe/fpcsrc/rtl/unix SYSUTILSDIR=C:/fpcupdeluxe/fpcsrc/rtl/unix CLASSESDIR=C:/fpcupdeluxe/fpcsrc/rtl/unix TTHREADINCDIR=C:/fpcupdeluxe/fpcsrc/rtl/unix UPXPROG=echo GIT=C:/fpcupdeluxe/fpcbootstrap/git/cmd/git.exe CROSSBINDIR=C:/fpcupdeluxe/cross/bin/all-apple/bin BINUTILSPREFIX=aarch64-apple-darwin19- FPCFPMAKE=C:/fpcupdeluxe/fpc/bin/x86_64-win64/fpc.exe FPC=C:/fpcupdeluxe/fpc/bin/x86_64-win64/fpc.exe compiler_cycle NOGDBMI=1 REVSTR=18382-gdbf18e9d29 REVINC=force OPT=-vw-n-h-l-d-u-t-p-c- CROSSOPT=-FDC:\fpcupdeluxe\cross\bin\all-apple\bin -XPaarch64-apple-darwin19- -Xd -FlC:\fpcupdeluxe\cross\lib\all-darwin\MacOSX12.3.sdk\usr\lib -FlC:\fpcupdeluxe\cross\lib\all-darwin\MacOSX12.3.sdk\usr\lib\system -XRC:\fpcupdeluxe\cross\lib\all-darwin\MacOSX12.3.sdk -FlC:\fpcupdeluxe\cross\lib\all-darwin\XQuartz\X11\lib (working dir: C:\fpcupdeluxe\fpcsrc)
  3. C:/fpcupdeluxe/fpcbootstrap/make.exe -C compiler cycle
  4. C:/fpcupdeluxe/fpcbootstrap/make.exe OS_TARGET=win64 CPU_TARGET=x86_64 CROSSBINDIR= BINUTILSPREFIX= CROSSCYCLEBOOTSTRAP=1 CYCLELEVEL=1 rtlclean
  5. C:/fpcupdeluxe/fpcbootstrap/make.exe -C C:/fpcupdeluxe/fpcsrc/rtl clean
  6. C:/fpcupdeluxe/fpcbootstrap/make.exe -C win64 clean
  7. C:/fpcupdeluxe/fpcbootstrap/make.exe OS_TARGET=win64 CPU_TARGET=x86_64 CROSSBINDIR= BINUTILSPREFIX= CROSSCYCLEBOOTSTRAP=1 CYCLELEVEL=1 rtl
  8. C:/fpcupdeluxe/fpcbootstrap/make.exe -C C:/fpcupdeluxe/fpcsrc/rtl 'OPT=-vw-n-h-l-d-u-t-p-c-  ' all
  9. C:/fpcupdeluxe/fpcbootstrap/make.exe -C win64 all
  10. C:/fpcupdeluxe/fpc/bin/x86_64-win64/fpc.exe -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -Fix86_64 -Fi../x86_64 -Fi../win/wininc -FE. -FUC:/fpcupdeluxe/fpcsrc/rtl/units/x86_64-win64 -vw-n-h-l-d-u-t-p-c- -dx86_64 -dRELEASE -Fi../win -Us -Sg C:/fpcupdeluxe/fpcsrc/rtl/bsd/system.pp
  11. system.pp(39,2) Fatal: Cannot open include file "sysunixh.inc"
  12. Fatal: Compilation aborted
  13. Error: C:\fpcupdeluxe\fpc\bin\x86_64-win64\ppcx64.exe returned an error exitcode
  14. make.exe[3]: *** [win64_all] Error 2
  15. make.exe[2]: *** [rtl] Error 2
  16. make.exe[1]: *** [cycle] Error 2
  17. C:\fpcupdeluxe\fpcbootstrap\make.exe: *** [compiler_cycle] Error 2
  18. fpcupdeluxe: ERROR: FPC Cross Installer (BuildModuleCustom: FPC): Running cross compiler fpc C:\fpcupdeluxe\fpcbootstrap\make.exe for aarch64-darwin failed with an error code.
  19. fpcupdeluxe: ERROR: FPC Cross Installer (BuildModuleCustom: FPC): Removing all aarch64-darwin compiler settings from fpc.cfg.
  20. fpcupdeluxe: info: FPCCrossInstaller (InsertFPCCFGSnippet: fpc.cfg): Inserting snippet in C:\fpcupdeluxe\fpc\bin\x86_64-win64\fpc.cfg done.
  21.  
  22.  
  23. ERROR: Fpcupdeluxe fatal error !
  24. Sequencer (FPCCleanBuildOnly): Failure running fpcupdeluxe: error executing sequence FPCCleanBuildOnly
  25. Sequencer (Only): Failure running fpcupdeluxe: error executing sequence Only

Win11-64, trunk from today. That is not an internal error.

One remark: I refuse to build from a 32 bit compiler, whatever the misguided advice is. It is 2025.
(and soft 80 bit float)
On Apple silicon I build by hand and succeeds.
« Last Edit: August 15, 2025, 07:07:15 pm by Thaddy »
Due to censorship, I changed this to "Nelly the Elephant". Keeps the message clear.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1841
Re: Fpcupdeluxe
« Reply #2608 on: August 15, 2025, 08:28:39 pm »
I will report if the 2014051001 error can be reproduced by the normal build process. That is, without using fpcupdeluxe. However, I have no Apple Silicon.

About your build error.

I would appreciate if you are willing to try a different make binary. To be put inside the bootstrap directory. Thanks.
https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/download/windows_crossbins_all/Make_win64.zip

Cascade

  • Jr. Member
  • **
  • Posts: 61
Re: Fpcupdeluxe
« Reply #2609 on: August 21, 2025, 12:43:15 pm »
... Please check Setup+ for emulation of 80bit floats. Might help. ...

Emulation for 80bit floats was checked in Setup+, so I tried again with it unchecked, but still the same error.  Going to try an FPC 3.3.1 and Lazarus Fixes combination next - in case Apple Silicon fairs better with a newer FPC version.

Will also try the make binary you posted* and report back - thank you.

*Edit: Sorry, didn't notice the _win64 bit - I guess the make binary is for Thaddy
« Last Edit: August 21, 2025, 02:32:08 pm by Cascade »

 

TinyPortal © 2005-2018