Recent

Author Topic: Fpcupdeluxe  (Read 794232 times)

mischi

  • Full Member
  • ***
  • Posts: 170
Re: Fpcupdeluxe
« Reply #795 on: March 18, 2018, 12:14:30 am »
as much as i know, the cross compiler can be build with:

make all OPT="-ap" OS_TARGET=linux CPU_TARGET=mips

no idea about its capabilities.

Mischi

justnewbie

  • Sr. Member
  • ****
  • Posts: 292
Re: Fpcupdeluxe
« Reply #796 on: March 18, 2018, 02:43:16 pm »
Hi,

I tried to install fpcupdeluxe, but got this error:
fpcupdeluxe: ERROR: UniversalInstaller (ConfigModule: suggestedpackages): Failure trying to rebuild Lazarus.

How can it be solved?
« Last Edit: March 18, 2018, 02:47:53 pm by justnewbie »

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: Fpcupdeluxe
« Reply #797 on: March 18, 2018, 08:11:20 pm »
This report lacks to much info to give an answer.

What version of fpcupdeluxe are you using.
What OS system and CPU.
FPC and Lazarus version
More info about the error.

Mathias

  • Jr. Member
  • **
  • Posts: 88
Re: Fpcupdeluxe
« Reply #798 on: March 20, 2018, 06:21:45 pm »
Is it possible to build a cross-compiler for arm / embedded with fpcupdelux?
As OS I use Linux 64Bit.

I tried it once with fpc and Lazarus trunk, but then the following error appears:
Code: [Select]
Building compiler for embedded-arm (OPT: -dFPC_ARMHF ) [CROSSOPT: -Cpavr5 ] {SUBARCH: avr5}.
fpcupdeluxe: info: TAny_embedded-arm: found correct binary utilities in directory /home/tux/fpcupdeluxe/cross/bin/arm-embedded
fpcupdeluxe: info: TAny_embedded-arm: found correct library in directory /home/tux/fpcupdeluxe/cross/lib/arm-embedded
fpcupdeluxe: Start of compile error summary.
fpcupdeluxe: ERROR: FPCCrossInstaller (BuildModuleCustom: FPC): Running cross compiler fpc make all for arm-embedded failed with an error code.

totya

  • Hero Member
  • *****
  • Posts: 720
Re: Fpcupdeluxe
« Reply #799 on: March 29, 2018, 08:11:10 pm »
Hi!

Today I try this app... (again).

I choose FPC fixes, Lazarus trunk, i386, Windows.

After finished, I got "Success..." message, and I must run with created shortcut. Okay.

But I can't leave this app with x on the window top right corner. If I click to the halt button, I got warning message, I choose "no". In second time, this button doesn't work. I need kill this app from the task manager.


totya

  • Hero Member
  • *****
  • Posts: 720
Re: Fpcupdeluxe
« Reply #800 on: March 30, 2018, 04:59:16 pm »
Okay, question...

I ran this app, I created install Lazarus fixes + fpc fixes. At the end I can quit from this app without problem.

Installed Lazarus is x86 as I see. But I can compile to x64 lol.
But I need recompile a built-in component, so I need the fpc.exe 64 bit version. Where can I find it?

In ...fpc\bin directoy I can see only the i386-win32 directory.

If I choose x86_64 CPU, and Windows OS, then I install-Cross compiler (edit: with Fpcupdeluxe), the result is the same, I don't see the x64 directory under the fpc\bin directory.
« Last Edit: March 30, 2018, 07:08:43 pm by totya »

Josh

  • Hero Member
  • *****
  • Posts: 1271
Re: Fpcupdeluxe
« Reply #801 on: March 31, 2018, 12:12:40 am »
Hi
Trying to install cross compiler x86-64 darwin. on fresh lazarus fixes and fpc fixes on a windows 10 system

AFter it has downloaded binutils etc. I then get error

fpcupdeluxe: ERROR: FPCCrossInstaller (BuildModuleCustom: FPC): Running cross compiler fpc make all for x86_64-darwin failed with an error code.

please ignore the folder name it is actually a fixes version not a trunk; just a typo when I installed the clean version.

Quote
C:/lazarus_trunk_fixes/fpcbootstrap/make -C C:/lazarus_trunk_fixes/fpcsrc/rtl clean
C:/lazarus_trunk_fixes/fpcbootstrap/make -C win32 clean
C:/lazarus_trunk_fixes/fpcbootstrap/make -C C:/lazarus_trunk_fixes/fpcsrc/rtl 'OPT=-vw-n-h-l-d-u-t-p-c-   ' all
C:/lazarus_trunk_fixes/fpcbootstrap/make -C win32 all
C:/lazarus_trunk_fixes/fpcbootstrap/ppc386.exe -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../win -FE. -FUC:/lazarus_trunk_fixes/fpcsrc/rtl/units/i386-win32 -vw-n-h-l-d-u-t-p-c- -di386 -dRELEASE -Us -Sg system.pp -Fi../win
C:/lazarus_trunk_fixes/fpcbootstrap/ppc386.exe -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../win -FE. -FUC:/lazarus_trunk_fixes/fpcsrc/rtl/units/i386-win32 -vw-n-h-l-d-u-t-p-c- -di386 -dRELEASE ../inc/uuchar.pp
C:/lazarus_trunk_fixes/fpcbootstrap/ppc386.exe -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../win -FE. -FUC:/lazarus_trunk_fixes/fpcsrc/rtl/units/i386-win32 -vw-n-h-l-d-u-t-p-c- -di386 -dRELEASE -I../objpas ../objpas/objpas.pp
C:/lazarus_trunk_fixes/fpcbootstrap/ppc386.exe -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../win -FE. -FUC:/lazarus_trunk_fixes/fpcsrc/rtl/units/i386-win32 -vw-n-h-l-d-u-t-p-c- -di386 -dRELEASE -Fi../objpas/sysutils -Fi../objpas/classes -Fu../i386 -I../objpas -I../win/wininc -Fu../win/wininc -Fu../win -I../inc -Fu../inc -Fu../objpas buildrtl
character.pas(492,7) Warning: unreachable code
C:/lazarus_trunk_fixes/fpcbootstrap/ppc386.exe -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../win -FE. -FUC:/lazarus_trunk_fixes/fpcsrc/rtl/units/i386-win32 -vw-n-h-l-d-u-t-p-c- -di386 -dRELEASE ../inc/macpas.pp
C:/lazarus_trunk_fixes/fpcbootstrap/ppc386.exe -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../win -FE. -FUC:/lazarus_trunk_fixes/fpcsrc/rtl/units/i386-win32 -vw-n-h-l-d-u-t-p-c- -di386 -dRELEASE ../inc/iso7185.pp
C:/lazarus_trunk_fixes/fpcbootstrap/ppc386.exe -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../win -FE. -FUC:/lazarus_trunk_fixes/fpcsrc/rtl/units/i386-win32 -vw-n-h-l-d-u-t-p-c- -di386 -dRELEASE -Fu../inc -Fi../charmaps ../charmaps/cpall.pas
C:/lazarus_trunk_fixes/fpcbootstrap/ppc386.exe -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../win -FE. -FUC:/lazarus_trunk_fixes/fpcsrc/rtl/units/i386-win32 -vw-n-h-l-d-u-t-p-c- -di386 -dRELEASE ../inc/lineinfo.pp
C:/lazarus_trunk_fixes/fpcbootstrap/ppc386.exe -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../win -FE. -FUC:/lazarus_trunk_fixes/fpcsrc/rtl/units/i386-win32 -vw-n-h-l-d-u-t-p-c- -di386 -dRELEASE ../inc/lnfodwrf.pp
C:/lazarus_trunk_fixes/fpcbootstrap/make OS_TARGET=win32 CPU_TARGET=i386 EXENAME=ppc.exe CROSSBINDIR= BINUTILSPREFIX= CROSSCYCLEBOOTSTRAP=1 cycleclean compiler CYCLELEVEL=1
C:/lazarus_trunk_fixes/fpcbootstrap/make -C utils cleanall
C:/lazarus_trunk_fixes/fpcbootstrap/ppc386.exe -Ur -Xs -O2 -n -Fui386 -Fusystems -FuC:/lazarus_trunk_fixes/fpcsrc/rtl/units/i386-win32 -Fii386 -FE. -FUi386/units/i386-win32 -dRELEASE -vw-n-h-l-d-u-t-p-c-    -dREVINC -di386 -dGDB -dBROWSERLOG -Fux86 -Sew pp.pas
C:/lazarus_trunk_fixes/fpcbootstrap/make 'FPC=C:/lazarus_trunk_fixes/fpcsrc/compiler/ppc.exe' OS_TARGET=win32 CPU_TARGET=i386 CROSSBINDIR= BINUTILSPREFIX= CROSSCYCLEBOOTSTRAP=1 rtlclean rtl CYCLELEVEL=2
C:/lazarus_trunk_fixes/fpcbootstrap/make -C C:/lazarus_trunk_fixes/fpcsrc/rtl clean
C:/lazarus_trunk_fixes/fpcbootstrap/make -C win32 clean
C:/lazarus_trunk_fixes/fpcbootstrap/make -C C:/lazarus_trunk_fixes/fpcsrc/rtl 'OPT=-vw-n-h-l-d-u-t-p-c-    ' all
C:/lazarus_trunk_fixes/fpcbootstrap/make -C win32 all
C:/lazarus_trunk_fixes/fpcsrc/compiler/ppc.exe -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../win -FE. -FUC:/lazarus_trunk_fixes/fpcsrc/rtl/units/i386-win32 -vw-n-h-l-d-u-t-p-c- -di386 -dRELEASE -Us -Sg system.pp -Fi../win
C:/lazarus_trunk_fixes/fpcsrc/compiler/ppc.exe -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../win -FE. -FUC:/lazarus_trunk_fixes/fpcsrc/rtl/units/i386-win32 -vw-n-h-l-d-u-t-p-c- -di386 -dRELEASE ../inc/uuchar.pp
C:/lazarus_trunk_fixes/fpcsrc/compiler/ppc.exe -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../win -FE. -FUC:/lazarus_trunk_fixes/fpcsrc/rtl/units/i386-win32 -vw-n-h-l-d-u-t-p-c- -di386 -dRELEASE -I../objpas ../objpas/objpas.pp
C:/lazarus_trunk_fixes/fpcsrc/compiler/ppc.exe -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../win -FE. -FUC:/lazarus_trunk_fixes/fpcsrc/rtl/units/i386-win32 -vw-n-h-l-d-u-t-p-c- -di386 -dRELEASE -Fi../objpas/sysutils -Fi../objpas/classes -Fu../i386 -I../objpas -I../win/wininc -Fu../win/wininc -Fu../win -I../inc -Fu../inc -Fu../objpas buildrtl
character.pas(492,7) Warning: unreachable code
C:/lazarus_trunk_fixes/fpcsrc/compiler/ppc.exe -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../win -FE. -FUC:/lazarus_trunk_fixes/fpcsrc/rtl/units/i386-win32 -vw-n-h-l-d-u-t-p-c- -di386 -dRELEASE ../inc/macpas.pp
C:/lazarus_trunk_fixes/fpcsrc/compiler/ppc.exe -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../win -FE. -FUC:/lazarus_trunk_fixes/fpcsrc/rtl/units/i386-win32 -vw-n-h-l-d-u-t-p-c- -di386 -dRELEASE ../inc/iso7185.pp
C:/lazarus_trunk_fixes/fpcsrc/compiler/ppc.exe -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../win -FE. -FUC:/lazarus_trunk_fixes/fpcsrc/rtl/units/i386-win32 -vw-n-h-l-d-u-t-p-c- -di386 -dRELEASE -Fu../inc -Fi../charmaps ../charmaps/cpall.pas
C:/lazarus_trunk_fixes/fpcsrc/compiler/ppc.exe -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../win -FE. -FUC:/lazarus_trunk_fixes/fpcsrc/rtl/units/i386-win32 -vw-n-h-l-d-u-t-p-c- -di386 -dRELEASE ../inc/lineinfo.pp
C:/lazarus_trunk_fixes/fpcsrc/compiler/ppc.exe -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../win -FE. -FUC:/lazarus_trunk_fixes/fpcsrc/rtl/units/i386-win32 -vw-n-h-l-d-u-t-p-c- -di386 -dRELEASE ../inc/lnfodwrf.pp
C:/lazarus_trunk_fixes/fpcbootstrap/make 'FPC=C:/lazarus_trunk_fixes/fpcsrc/compiler/ppc.exe' OS_TARGET=win32 CPU_TARGET=i386 PPC_TARGET=x86_64 EXENAME=ppcrossx64.exe CROSSBINDIR= BINUTILSPREFIX= CROSSCYCLEBOOTSTRAP=1 cycleclean compiler CYCLELEVEL=2
C:/lazarus_trunk_fixes/fpcbootstrap/make -C utils cleanall
C:/lazarus_trunk_fixes/fpcsrc/compiler/ppc.exe -Ur -Xs -O2 -n -Fux86_64 -Fusystems -FuC:/lazarus_trunk_fixes/fpcsrc/rtl/units/i386-win32 -Fix86_64 -FE. -FUx86_64/units/i386-win32 -dRELEASE -vw-n-h-l-d-u-t-p-c-     -dREVINC -dx86_64 -dGDB -dBROWSERLOG -Fux86 -Sew pp.pas
C:/lazarus_trunk_fixes/fpcbootstrap/make 'FPC=C:/lazarus_trunk_fixes/fpcsrc/compiler/ppcrossx64.exe' 'OPT=-vw-n-h-l-d-u-t-p-c-  -XPx86_64-apple-darwin15- -Xd -FlC:\lazarus_trunk_fixes\cross\lib\x86-darwin\MacOSX10.11.sdk\usr\lib -FlC:\lazarus_trunk_fixes\cross\lib\x86-darwin\MacOSX10.11.sdk\usr\lib\system' rtlclean rtl CYCLELEVEL=3
C:/lazarus_trunk_fixes/fpcbootstrap/make -C C:/lazarus_trunk_fixes/fpcsrc/rtl clean
C:/lazarus_trunk_fixes/fpcbootstrap/make -C darwin clean
C:/lazarus_trunk_fixes/fpcbootstrap/make -C C:/lazarus_trunk_fixes/fpcsrc/rtl 'OPT=-vw-n-h-l-d-u-t-p-c-  -XPx86_64-apple-darwin15- -Xd -FlC:\lazarus_trunk_fixes\cross\lib\x86-darwin\MacOSX10.11.sdk\usr\lib -FlC:\lazarus_trunk_fixes\cross\lib\x86-darwin\MacOSX10.11.sdk\usr\lib\system   ' all
C:/lazarus_trunk_fixes/fpcbootstrap/make -C darwin all
C:/lazarus_trunk_fixes/fpcsrc/compiler/ppcrossx64.exe -dNOMOUSE -Ur -dFPC_USE_LIBC -Tdarwin -Px86_64 -XPx86_64-apple-darwin15- -Xr -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -Fi../unix -Fi../bsd -Fi../bsd/x86_64 -Fi../darwin/x86_64 -FDC:\lazarus_trunk_fixes\cross\bin\x86-darwin -FE. -FUC:/lazarus_trunk_fixes/fpcsrc/rtl/units/x86_64-darwin -vw-n-h-l-d-u-t-p-c- -XPx86_64-apple-darwin15- -Xd -FlC:\lazarus_trunk_fixes\cross\lib\x86-darwin\MacOSX10.11.sdk\usr\lib -FlC:\lazarus_trunk_fixes\cross\lib\x86-darwin\MacOSX10.11.sdk\usr\lib\system -dx86_64 -dRELEASE -XPx86_64-apple-darwin15- -Xd -FlC:\lazarus_trunk_fixes\cross\lib\x86-darwin\MacOSX10.11.sdk\usr\lib -FlC:\lazarus_trunk_fixes\cross\lib\x86-darwin\MacOSX10.11.sdk\usr\lib\system -Us -Sg ../bsd/system.pp
clang-4.0: warning: argument unused during compilation: '-mlinker-version=274.2' [-Wunused-command-line-argument]
clang-4.0: warning: argument unused during compilation: '-isystem /cygdrive/C//lazarus_trunk_fixes/cross/bin/x86-darwin/include/clang/4.0.1/include' [-Wunused-command-line-argument]
clang-4.0: warning: argument unused during compilation: '-cxx-isystem /cygdrive/C//lazarus_trunk_fixes/cross/bin/x86-darwin/../../lib/x86-darwin/MacOSX10.11.sdk/usr/include/c++/4.2.1' [-Wunused-command-line-argument]
clang-4.0: warning: argument unused during compilation: '-cxx-isystem /cygdrive/C//lazarus_trunk_fixes/cross/bin/x86-darwin/../../lib/x86-darwin/MacOSX10.11.sdk/usr/include/c++/4.2.1/x86_64-apple-darwin15' [-Wunused-command-line-argument]
clang-4.0: warning: argument unused during compilation: '-cxx-isystem /cygdrive/C//lazarus_trunk_fixes/cross/bin/x86-darwin/../../lib/x86-darwin/MacOSX10.11.sdk/usr/include/c++/4.2.1/backward' [-Wunused-command-line-argument]
baseunix.pp(73,6) Fatal: Can't find unit Sysctl used by BaseUnix
Fatal: Compilation aborted
make[4]: *** [darwin_all] Error 2
make[3]: ***
Error 2
make[2]: *** [cycle] Error 2
make[1]: *** [compiler_cycle] Error 2
make: *** [build-stamp.x86_64-darwin] Error 2
fpcupdeluxe: ERROR: FPCCrossInstaller (BuildModuleCustom: FPC): Running cross compiler fpc make all for x86_64-darwin failed with an error code.


ERROR: Fpcupdeluxe fatal error !
Building cross-tools failed ... ??? ... aborting.
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: Fpcupdeluxe
« Reply #802 on: March 31, 2018, 08:31:35 am »
@totya
You have installed a fpc 32bit version with fpcupdeluxe for 32bit.
On Windows, this will also install a 32 to 64 bit cross-compiler.

If you want a pure 64bit fpc, use the 64bit fpcupdeluxe !
https://github.com/newpascal/fpcupdeluxe/releases/download/v1.6.0o/fpcupdeluxe-x86_64-win64.exe

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: Fpcupdeluxe
« Reply #803 on: March 31, 2018, 08:32:34 am »
@josh
You will need trunk to cross towards Darwin on Windows !

Renat.Su

  • Full Member
  • ***
  • Posts: 230
    • Renat.Su
Re: Fpcupdeluxe
« Reply #804 on: March 31, 2018, 11:03:13 am »
@josh
You will need trunk to cross towards Darwin on Windows !
Trunk Lazarus or fpcdeluxe? It can already cross-compile not only from Linux, but also from Windows to darwin target?

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: Fpcupdeluxe
« Reply #805 on: March 31, 2018, 11:41:25 am »
Always try to use the latest release of fpcupdeluxe.
https://github.com/newpascal/fpcupdeluxe/releases/latest

AFAIK, you need trunk FPC on Windows to cross towards Darwin.
Some changes have been made in trunk to allow this, and I do not expect them to be back-ported towards fixes.

totya

  • Hero Member
  • *****
  • Posts: 720
Re: Fpcupdeluxe
« Reply #806 on: April 01, 2018, 10:08:53 am »
@totya
You have installed a fpc 32bit version with fpcupdeluxe for 32bit.
On Windows, this will also install a 32 to 64 bit cross-compiler.

If you want a pure 64bit fpc, use the 64bit fpcupdeluxe !
https://github.com/newpascal/fpcupdeluxe/releases/download/v1.6.0o/fpcupdeluxe-x86_64-win64.exe

Okay, I need the \fpc\bin\x86_64-win64 dir files, so I need to use  64bit fpcupdeluxe. This is done. Thanks.

Next report, \lazarus\docs\chm directory is empty after fpcupdeluxe finished, this is mean, built in help system doesn't work. I can copy help files to this directory certainly.

Next, I use fpcupdeluxe few times, and very often, after fpcupdeluxe is finished, I can't close this app via window close button or the halt button, on Win7x64 OS.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: Fpcupdeluxe
« Reply #807 on: April 01, 2018, 10:17:38 am »
Help system:
You can enable help in Setup+ (checkbox).

Quote
Next, I use fpcupdeluxe few times, and very often, after fpcupdeluxe is finished, I can't close this app via window close button or the halt button, on Win7x64 OS.
This should not happen, but I cannot reproduce. So I need to investigate more.

totya

  • Hero Member
  • *****
  • Posts: 720
Re: Fpcupdeluxe
« Reply #808 on: April 01, 2018, 10:26:42 am »
Help system:
You can enable help in Setup+ (checkbox).

I see, thanks, but then I report the next bug: all the miscellaneus settings hint same:
Quote
Download whole repository or only latest files

Quote from: totya
Next, I use fpcupdeluxe few times, and very often, after fpcupdeluxe is finished, I can't close this app via window close button or the halt button, on Win7x64 OS.
Quote from: DonAlfredo
This should not happen, but I cannot reproduce. So I need to investigate more.

I suggest to you, use detailed log system (turn on/off in options).

edwinyzh

  • New Member
  • *
  • Posts: 43
Re: Fpcupdeluxe
« Reply #809 on: April 10, 2018, 06:18:37 pm »
Hello,

Does anybody know how to retrieve, say trunk rev57146 (2018/01/25), instead of the latest trunk, for building Fpc/Lazarus?

I can see at the top of fpcupdeluxe's main window there are two editboxes for modifying both the fpc and lazaru's svn URL, but I don't know the **correct way** to construct the URLs, I tried the following, but failed, fpcupdeluxe stills checked out the latest revision...

https://svn.freepascal.org/svn/lazarus/trunk/?p=57146
https://svn.freepascal.org/svn/fpc/trunk/?p=38027

Thanks in advance.

 

TinyPortal © 2005-2018