Recent

Author Topic: Fpcupdeluxe  (Read 792673 times)

Petr Nehez

  • New Member
  • *
  • Posts: 14
Re: Fpcupdeluxe
« Reply #465 on: April 06, 2017, 08:28:52 am »
Point FPC/Lazarus towards these libs in your project options:
-Fl/installdir/cross/lib/arm-linux/
(or in your Lazarus project options)

I downloaded and extracted the libraries.
Maybe I am blind %) but where/how should I point FPC/Lazarus to these libs?

I am still new to the playing with custom builds of FPC so I would appreciate if you can help me.
Thanks.

@DonAlfredo
Could you, please, help me on this?
Thanks in advance.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1738
Re: Fpcupdeluxe
« Reply #466 on: April 06, 2017, 08:49:31 am »
No problemo.

Lazarus -> Project -> Project Options -> Paths -> Libraries (-Fl)

BSaidus

  • Hero Member
  • *****
  • Posts: 538
  • lazarus 1.8.4 Win8.1 / cross FreeBSD
Re: Fpcupdeluxe
« Reply #467 on: April 25, 2017, 02:06:14 pm »
Ooops !!
  I've got an error when compiling lazarus in GhostBSD 32 environnement.
here is a log :
Code: Pascal  [Select][+][-]
  1. [2017-04-23 13:37:36.897 Info] Executing : gmake "FPC=/root/Dev/fixes/fpc/bin/i386-freebsd/fpc.sh" "USESVN2REVISIONINC=0" "--directory=/root/Dev/fixes/lazarus" "INSTALL_PREFIX=/root/Dev/fixes/lazarus" "FPCDIR=/root/Dev/fixes/fpcsrc" "UPXPROG=echo" "COPYTREE=echo" "OPT=-vw-n-h-i-l-d-u-t-p-c-x- -Fl/usr/local/lib -Fl/usr/X11R6/lib" "lazbuild" (working dir: /root/Dev/fixes/lazarus)
  2. [2017-04-23 13:37:36.921 Info] gmake: Entering directory '/root/Dev/fixes/lazarus'
  3. [2017-04-23 13:37:36.926 Info] gmake -C packager/registration
  4. [2017-04-23 13:37:36.929 Info] gmake[1]: Entering directory '/root/Dev/fixes/lazarus/packager/registration'
  5. [2017-04-23 13:37:36.932 Info] /bin/rm -f ../units/i386-freebsd/fcllaz.ppu
  6. /bin/mkdir -p ../units/i386-freebsd
  7. /root/Dev/fixes/fpc/bin/i386-freebsd/fpc.sh -MObjFPC -Scghi -O1 -g -gl -l -vewnhibq -Fu. -Fu/root/Dev/fixes/fpcsrc/rtl -FE. -FU../units/i386-freebsd -vw-n-h-i-l-d-u-t-p-c-x- -Fl/usr/local/lib -Fl/usr/X11R6/lib -di386 fcllaz.pas
  8. [2017-04-23 13:37:36.991 Info] Error: (11006) Illegal parameter: Thread/5.4.0
  9. Error: /root/Dev/fixes/fpc/bin/i386-freebsd/ppc386 returned an error exitcode
  10. gmake[1]: *** [Makefile:2702: fcllaz.ppu] Error 1
  11. gmake[1]: Leaving directory '/root/Dev/fixes/lazarus/packager/registration'
  12. gmake: *** [Makefile:3050: registration] Error 2
  13. gmake: Leaving directory '/root/Dev/fixes/lazarus'
  14.  

PS : fpcupdeluxe 1.2.0m_FreeBSD32 to install FPC/LAZARUS fixes. (fpc-3.0.3 / laz 1.6.5).
« Last Edit: April 25, 2017, 02:42:53 pm by BSaidus »
lazarus 1.8.4 Win8.1 / cross FreeBSD
dhukmucmur vernadh!

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11351
  • FPC developer.
Re: Fpcupdeluxe
« Reply #468 on: April 25, 2017, 03:30:07 pm »
Btw, I uploaded a 3.0.2 win32 bootstrap compiler.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1738
Re: Fpcupdeluxe
« Reply #469 on: April 26, 2017, 10:39:50 am »
@BSaidus
Can reproduce this issue.
Have yet to find a solution !

@marcov
Thanks !
But could you give your opinion on what bootstrapper to use: 3.0.0 or 3.0.2 ?
Trunk and others allow for both.

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11351
  • FPC developer.
Re: Fpcupdeluxe
« Reply #470 on: April 26, 2017, 11:01:49 am »
3.0.2 is official but it probably doesn't matter too much. At least not for the main architectures.

So 3.0.2 is the way to go long term.

Note that if 3.0.4 is approaching (IF that release will see the light), the make files will only accept 3.0.2 and 3.0.4

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1738
Re: Fpcupdeluxe
« Reply #471 on: April 26, 2017, 01:50:05 pm »
@BSaidus
Issue should be solved with new release:
https://github.com/newpascal/fpcupdeluxe/releases/tag/v1.2.0n

@marcov
Then, for the time being, fpcupdeluxe will stick to 3.0.0
And will move forward towards 3.0.2 when needed !

BSaidus

  • Hero Member
  • *****
  • Posts: 538
  • lazarus 1.8.4 Win8.1 / cross FreeBSD
Re: Fpcupdeluxe
« Reply #472 on: April 26, 2017, 03:09:47 pm »
@DonAlfredo

Thanks !!! I'll try
lazarus 1.8.4 Win8.1 / cross FreeBSD
dhukmucmur vernadh!

BSaidus

  • Hero Member
  • *****
  • Posts: 538
  • lazarus 1.8.4 Win8.1 / cross FreeBSD
Re: Fpcupdeluxe
« Reply #473 on: April 27, 2017, 04:32:09 pm »
Oooops !! another error while trying to build FreeBSD_x64_32 cross compiler !
here is error :
Code: Pascal  [Select][+][-]
  1. gmake[5]: Entering directory '/usr/home/Bsaidus/Dev/fixes/fpcsrc/rtl/freebsd'
  2. /bin/mkdir -p /usr/home/Bsaidus/Dev/fixes/fpcsrc/rtl/units/i386-freebsd
  3. /usr/bin/as -o /usr/home/Bsaidus/Dev/fixes/fpcsrc/rtl/units/i386-freebsd/prt0.o i386/prt0.as
  4. i386/prt0.as: Assembler messages:
  5. i386/prt0.as:51: Error: suffix or operands invalid for `push'
  6. i386/prt0.as:53: Error: suffix or operands invalid for `push'
  7. i386/prt0.as:54: Error: suffix or operands invalid for `push'
  8. i386/prt0.as:55: Error: suffix or operands invalid for `push'
  9. i386/prt0.as:97: Error: suffix or operands invalid for `push'
  10. i386/prt0.as:107: Error: suffix or operands invalid for `push'
  11. gmake[5]: *** [Makefile:3107: prt0.o] Error 1
  12. gmake[5]: Leaving directory '/usr/home/Bsaidus/Dev/fixes/fpcsrc/rtl/freebsd'
  13. gmake[4]: *** [Makefile:2174: freebsd_all] Error 2
  14. gmake[4]: Leaving directory '/usr/home/Bsaidus/Dev/fixes/fpcsrc/rtl'
  15. gmake[3]: *** [Makefile:4274: rtl] Error 2
  16. gmake[3]: Leaving directory '/usr/home/Bsaidus/Dev/fixes/fpcsrc/compiler'
  17. gmake[2]: *** [Makefile:4210: cycle] Error 2
  18. gmake[2]: Leaving directory '/usr/home/Bsaidus/Dev/fixes/fpcsrc/compiler'
  19. gmake[1]: *** [Makefile:2887: compiler_cycle] Error 2
  20. gmake[1]: Leaving directory '/usr/home/Bsaidus/Dev/fixes/fpcsrc'
  21. gmake: *** [Makefile:2919: build-stamp.i386-freebsd] Error 2
  22. gmake: Leaving directory '/usr/home/Bsaidus/Dev/fixes/fpcsrc'
  23. fpcupdeluxe: ERROR: FPC: Running cross compiler fpc make all for i386-freebsd failed with an error code.
  24. fpcupdeluxe: ERROR: Error running BuildModuleCustom for module FPC
  25. fpcupdeluxe: info: FPC cleanup: could not cleanup /usr/home/Bsaidus/Dev/fixes/fpcsrc/utils/bin
  26. fpcupdeluxe: info: FPC cleanup: could not cleanup /usr/home/Bsaidus/Dev/fixes/fpcsrc/utils/units/x86_64-freebsd
  27. fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence FPCBuildOnly; line: 2, param: FPC
  28. fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence Only; line: 2, param: FPCBuildOnly
  29.  
  30.  
  31. ERROR: Fpcupdeluxe failed.
  32. Building cross-tools failed ... ??? ... aborting.
  33.  
  34.  

FreeBSD x64 laz/fpc build normally.
« Last Edit: April 27, 2017, 05:19:47 pm by BSaidus »
lazarus 1.8.4 Win8.1 / cross FreeBSD
dhukmucmur vernadh!

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1738
Re: Fpcupdeluxe
« Reply #474 on: April 28, 2017, 05:25:10 pm »
Added two new cross-compilers for Darwin (Mac OSX):
Linux ARM (hardfloat i.e. for RPi2+3)
Android ARM.

The latter should allow the use of LAMW on Darwin for the building of Android apps.

https://github.com/newpascal/fpcupdeluxe/releases/tag/v1.2.0p

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11351
  • FPC developer.
Re: Fpcupdeluxe
« Reply #475 on: April 28, 2017, 05:34:15 pm »
(btw there is some massive merging going on for 3.0.4, so keep an eye on the fixes branch and report if there are problems)

jmpessoa

  • Hero Member
  • *****
  • Posts: 2296
Re: Fpcupdeluxe
« Reply #476 on: April 28, 2017, 05:38:55 pm »

Quote
Added two new cross-compilers for Darwin (Mac OSX):
Linux ARM (hardfloat i.e. for RPi2+3)
Android ARM.

The latter should allow the use of LAMW on Darwin for the building of Android apps.

https://github.com/newpascal/fpcupdeluxe/releases/tag/v1.2.0p

Nice News!!!!

Great Work!!!

Thank you!
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1738
Re: Fpcupdeluxe
« Reply #477 on: April 29, 2017, 12:02:35 pm »
@BSaidus

You can now build a cross-compiler for FreeBSD x86_64 towards i386 !
See: https://github.com/newpascal/fpcupdeluxe/releases/download/v1.2.0p/fpcupdeluxe-x86_64-freebsd

Command line apps work.
GUI does still has a final  linking problem.

I am not a FreeBSD expert.
Perhaps an expert could help here.

Edit:
The latest fpcupdeluxe release uses libs by fpcupdeluxe itself: GUI compiling works.

Josh

  • Hero Member
  • *****
  • Posts: 1270
Re: Fpcupdeluxe
« Reply #478 on: April 29, 2017, 05:00:10 pm »
Hi
Downloaded latest fpcupdeluxe to try laz 1.9

When I Try to installl trunk on windows I get
Code: [Select]
Writing Resource String Table file: pasresolver.rsj
Compiling .\fcl-passrc\src\pastounittest.pp
Writing Resource String Table file: pastounittest.rsj
Compiling .\fcl-passrc\src\passrcutil.pp
Compiling .\fcl-passrc\src\paswrite.pp
paswrite.pp(193,36) Error: identifier idents no member "Identifier"
paswrite.pp(635) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted

The installer encountered the following error:
Compilation of "BuildUnit_fcl_passrc.pp" failed
make[2]: *** [smart] Error 1
make[2]: Leaving directory `C:/lazarus_trunk/fpcsrc/packages'
make[1]: *** [packages_smart] Error 2
make[1]: Leaving directory `C:/lazarus_trunk/fpcsrc'
make: *** [build-stamp.i386-win32] Error 2
make: Leaving directory `C:/lazarus_trunk/fpcsrc'

fpcupdeluxe: info: FPC: Error running make failed with exit code 2
. Details:
fpcupdeluxe: ERROR: Error running BuildModuleCustom for module FPC
fpcupdeluxe: info: FPC cleanup: could not cleanup C:\lazarus_trunk\fpcsrc\utils\bin
fpcupdeluxe: info: FPC cleanup: could not cleanup C:\lazarus_trunk\fpcsrc\utils\units\i386-win32
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence fpc; line: 5, param: FPC
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence DefaultWin32; line: 3, param: fpc


ERROR: Fpcupdeluxe failed.


I have also tried doing same on osx, and I still get the utf8process error and sqlib register problem mentioned earlier in thread, so strill need to manually edit files to get lazarus to install on osx
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

CaptBill

  • Sr. Member
  • ****
  • Posts: 435
Re: Fpcupdeluxe
« Reply #479 on: April 30, 2017, 07:05:32 am »
Is there a way to specify the temp directory for zip files from the GUI? Seems the ppc386 boostrap is trying to use my /local/appdata directory and causing a failure.

I am doing a "Stable" install from a fresh fpcupdeluxe compile.

Code: Pascal  [Select][+][-]
  1. fpcupdeluxe: ERROR: Received non-zero exit code extracting bootstrap compiler. This will abort further processing.
  2. fpcupdeluxe: ERROR: Error getting/extracting bootstrap compiler. Archive: C:\Users\bill\AppData\Local\Temp\TMP00006.tmp

 

TinyPortal © 2005-2018