Recent

Author Topic: Fpcupdeluxe  (Read 888881 times)

Philippe1

  • Newbie
  • Posts: 4
Re: Fpcupdeluxe
« Reply #2535 on: December 27, 2024, 12:37:38 pm »
Hi from France, sorry to ask a trivial question: 
I'm not a top-level Pascal coder, but I had to build an application with Lazarus 3.6, which works fine. I have been asked to make it run on Android, so I naturally turned to fpcupdeluxe, which is probably the best choice. 

My question is: will I be able to have both Lazarus 3.6 and the future version of fpcupdeluxe for Lazarus 3.6 installed on my PC simultaneously? 

I have already tested fpcupdeluxe, but of course, my Lazarus 3.6 code didn’t work as it is. I plan to wait for the future version.
Also, what is the proper way to uninstall fpcupdeluxe? Should I simply delete the folder? 
Best regards
Happy holidays if any
Philippe



DonAlfredo

  • Hero Member
  • *****
  • Posts: 1792
Re: Fpcupdeluxe
« Reply #2536 on: December 27, 2024, 02:55:26 pm »
You only have to delete the whole install-directory, and nothing is left of your install.
Followed by a removal of the desktop shortcut.
That's it.

folkeu08

  • Full Member
  • ***
  • Posts: 114
Re: Fpcupdeluxe
« Reply #2537 on: January 23, 2025, 12:38:08 pm »
Hi DonAlfredo,
Add you the install for Lazarus 3.8 or are you waiting for the release of 4 to do a total release forgetting 3.8 for its bug fix?
thanks
François

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1792
Re: Fpcupdeluxe
« Reply #2538 on: January 24, 2025, 12:53:33 pm »
You might try to add this into fpcup.ini :

Code: Pascal  [Select][+][-]
  1. [ALIASlazTAG]
  2. stable.gitlab=lazarus_3_8
  3. 3.8.gitlab=lazarus_3_8
  4. 3.6.gitlab=lazarus_3_6
  5. ....

440bx

  • Hero Member
  • *****
  • Posts: 4996
Re: Fpcupdeluxe
« Reply #2539 on: January 26, 2025, 05:52:30 am »
@DonAlfredo,

Is it possible to do something similar to use FPCUPDELUXE to install v4.0RC2 ?  if yes, what are the additional lines required ?

Thank you.
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v3.2) on Windows 7 SP1 64bit.

JD

  • Hero Member
  • *****
  • Posts: 1849
Re: Fpcupdeluxe
« Reply #2540 on: February 03, 2025, 06:45:14 pm »
Hi there everyone,

Is there a way to use fpcupdeluxe to update my existing Lazarus installation (also done with fpcupdeluxe) without breaking everything?

I tried something about a year ago and it made my Lazarus installation unusable. Because of that, I tend to make a fresh Lazarus installation every time a new version comes out and at the moment, I have versions from 2.6 to 3.4. I don't want to continue doing it this way.

Thanks for your kind assistance.

JD
Windows - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe),
Linux Mint - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe)

mORMot; Zeos 8; SQLite, PostgreSQL & MariaDB; VirtualTreeView

dsiders

  • Hero Member
  • *****
  • Posts: 1345
Re: Fpcupdeluxe
« Reply #2541 on: February 03, 2025, 07:25:28 pm »
Is there a way to use fpcupdeluxe to update my existing Lazarus installation (also done with fpcupdeluxe) without breaking everything?

I tried something about a year ago and it made my Lazarus installation unusable. Because of that, I tend to make a fresh Lazarus installation every time a new version comes out and at the moment, I have versions from 2.6 to 3.4. I don't want to continue doing it this way.

Every fpcupdeluxe installation is a clone of a Git repository. You can easily checkout or switch to any branch or tag in that directory. I do it all the time to switch between trunk and one of the fixes branches.

The problem is with the primary configuration path and the start link that fpcupdeluxe uses to launch lazarus using the pcp. Changes between versions could trash the settings in the pcp. If you change the folder that lazarus.cfg points to BEFORE running the new version, the problem can probably be avoided.

I work on the assumption that disk space is cheap. So I always do the separate installs (for releases) that you're trying to avoid.

Just my experience...
« Last Edit: February 03, 2025, 07:33:25 pm by dsiders »
Preview the next Lazarus documentation release at: https://dsiders.gitlab.io/lazdocsnext

petex

  • Jr. Member
  • **
  • Posts: 93
Re: Fpcupdeluxe
« Reply #2542 on: February 07, 2025, 09:12:02 pm »
Hello,
I am using the Lazarus cross compiler to compile from Windows 64 to ARM Linux. I have successfully used FPC stable and Lazarus stable to make a working installation. Problem is that my prog doesn't work properly on a recent tiny core rpi linux installation.
I was investigating whether i could go back to earlier versions of the compiler. I have tried several combinations, but I am always getting errors of different kinds when installing  lazarus or the cross compiler tools.

I have tried 32bit and 64 bit windows. I always install into a fresh empty directory.
What are the valid combinations of FPC and Lazarus (if any) of versions earlier than stable 3.2.2 that will work on a windows PC.?

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1792
Re: Fpcupdeluxe
« Reply #2543 on: February 08, 2025, 09:36:19 am »
Cross-compiling towards ARM Linux should just work with FPC versions > 3.0.0 , so this error is unexpected.
Please elaborate on the errors you encounter.

AlexTP

  • Hero Member
  • *****
  • Posts: 2526
    • UVviewsoft
Re: Fpcupdeluxe
« Reply #2544 on: February 08, 2025, 10:02:31 am »
32-bit ARM may not run on ARM, because it can be ARM softfloat, and hardware is ARM hard-float. To check this case, run "file <binaryname>" and see its output for string like "ARM-HF".

fpcupdeluxe allows to install softfloat & hardfloat cross compiler, it depends on options in its dlg.

64-bit is different, it don't have softfloat/hardfloat.

petex

  • Jr. Member
  • **
  • Posts: 93
Re: Fpcupdeluxe
« Reply #2545 on: February 08, 2025, 11:32:09 am »
this is an instance :
selected 3.0.0 FPC and 3.0 Lazarus.
It failed before i even got to installing cross-compiler


Quote
(3104) Compiling lazloggerbase.pas
(3104) Compiling lazclasses.pas
(3104) Compiling lazmethodlist.pas
(3104) Compiling avglvltree.pas
(3104) Compiling lazdbglog.pas
(3104) Compiling stringhashlist.pas
C:\laz-linux2\lazarus\components\lazutils\lazutf8.pas(1208,12) Error: (3026) Wrong number of parameters specified for call to "Pos"
Error: (5088) Found declaration: Pos(const ShortString;const ShortString):Int64;
Error: (5088) Found declaration: Pos(Char;const ShortString):Int64;
Error: (5088) Found declaration: Pos(const ShortString;const RawByteString):Int64;
Error: (5088) Found declaration: Pos(const ShortString;Char):Int64;
Error: (5088) Found declaration: Pos(const RawByteString;const RawByteString):Int64;
Error: (5088) Found declaration: Pos(Char;const RawByteString):Int64;
Error: (5088) Found declaration: Pos(const UnicodeString;const UnicodeString):Int64;
Error: (5088) Found declaration: Pos(Char;const UnicodeString):Int64;
Error: (5088) Found declaration: Pos(WideChar;const UnicodeString):Int64;
Error: (5088) Found declaration: Pos(const RawByteString;const UnicodeString):Int64;
Error: (5088) Found declaration: Pos(const UnicodeString;const RawByteString):Int64;
Error: (5088) Found declaration: Pos(const ShortString;const UnicodeString):Int64;
Err


result of File :-
 file test
test: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 2.0.0, not stripped
« Last Edit: February 08, 2025, 11:34:57 am by petex »

AlexTP

  • Hero Member
  • *****
  • Posts: 2526
    • UVviewsoft
Re: Fpcupdeluxe
« Reply #2546 on: February 08, 2025, 11:34:07 am »
@petex
FPC 3.0.0 ? It is too old, try last release 3.2.2.

petex

  • Jr. Member
  • **
  • Posts: 93
Re: Fpcupdeluxe
« Reply #2547 on: February 08, 2025, 11:39:37 am »
This is what i mean - I think i have tried that.

The install takes quite long so it will take the length of the universe to test each.
I am unclear as what version of Lazarus is compatible with FreePascal for a start.
How do you select the version of the cross compiler or is this the same as FreePascal version ?

 

TinyPortal © 2005-2018