Recent

Author Topic: Fpcupdeluxe  (Read 330815 times)

Michl

  • Full Member
  • ***
  • Posts: 194
Re: Fpcupdeluxe
« Reply #75 on: November 07, 2016, 09:03:33 am »
Thats it.
One thing, I had forgotten to say, I manually edited the fpc.cfg. The path were wrong. Without this, I wasn't able to build a project or the IDE itself.
Code: [Select]
type
  TLiveSelection = (lsMoney, lsChilds, lsTime);
  TLive = Array[0..1] of TLiveSelection;

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1087
Re: Fpcupdeluxe
« Reply #76 on: November 09, 2016, 10:01:21 pm »
New release.
Should now run and cross-compile for Debian like distros for Linux.

https://github.com/LongDirtyAnimAlf/Reiniero-fpcup/releases/tag/0.99b

Libraries are now also based on Debian (Ubuntu, Mint).

Lainz

  • Hero Member
  • *****
  • Posts: 3082
    • https://lainz.github.io/
Re: Fpcupdeluxe
« Reply #77 on: November 09, 2016, 10:07:48 pm »
Many thanks for taking Debian / Ubuntu / Mint into consideration.

I'm giving it a try and then I will come back.

Edit: cross compiler for Linux working well (From lazarus for Windows 32 bit), producing executables that works under Ubuntu 16.04 (32 bit).

Edit 2: and cross compiler for Linux 64 bit works too.
« Last Edit: November 09, 2016, 11:27:38 pm by lainz »

swierzbicki

  • Full Member
  • ***
  • Posts: 177
Re: Fpcupdeluxe
« Reply #78 on: November 10, 2016, 06:25:40 pm »
Thank you, that's great.

I have a issue with cross-compiler (arm / wince in my example ) where binaries cannot be downloaded

Code: Pascal  [Select]
  1. fpclazup: info: Win32_wincearm: searched but did not find any binary utilities !!
  2. fpclazup: ERROR: Failed to get crossbinutils
  3. fpclazup: ERROR: Error running BuildModuleCustom for module FPC
  4. fpclazup: info: Error running fpcup. Technical details: error executing sequence FPCBuildOnly; line: 2, param: FPC
  5. fpclazup: info: Error running fpcup. Technical details: error executing sequence Only; line: 2, param: FPCBuildOnly
  6.  
  7.  
  8. ERROR: Fpclazupdeluxe failed.
  9. Going to download the right cross-tools.
  10. Error while trying to download https://github.com/LongDirtyAnimAlf/Reiniero-fpcup/raw/master/crosstools/WinCrossWinceARM.rar. Trying once again.
  11. No luck in getting then cross-tools ... aborting.
Lazarus 1.6.2
fpc 3.0.0
wince/win32/win64
delphi berlin

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1087
Re: Fpcupdeluxe
« Reply #79 on: November 10, 2016, 07:29:24 pm »
I guess you are using an old version !
Please use a version from the latest release:

https://github.com/LongDirtyAnimAlf/Reiniero-fpcup/releases/tag/0.99b

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1087
Re: Fpcupdeluxe
« Reply #80 on: November 11, 2016, 04:18:51 pm »
FreeBSD and Darwin have been added into fpcupdeluxe.
Also (new) binaries are available for FreeBSD and Darwin.
https://github.com/LongDirtyAnimAlf/Reiniero-fpcup/releases/tag/0.99b

FreeBSD is now also available for NewPascal.
https://github.com/newpascal/newpascal/releases/tag/np_sc-v1.0.34

swierzbicki

  • Full Member
  • ***
  • Posts: 177
Re: Fpcupdeluxe
« Reply #81 on: November 14, 2016, 02:18:00 pm »
I guess you are using an old version !
Please use a version from the latest release:

https://github.com/LongDirtyAnimAlf/Reiniero-fpcup/releases/tag/0.99b

Thank you,

I've downloaded the new version andI was able to install cross compile tools.
I'm getting this error when trying to compile for the WinCE / ARM platform :


Code: Pascal  [Select]
  1. Compile package FCL 1.0.1: Exit code 1, Errors: 1
  2. Error: Illegal parameter: -CaEABIHF-CpARMV7A
Lazarus 1.6.2
fpc 3.0.0
wince/win32/win64
delphi berlin

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1087
Re: Fpcupdeluxe
« Reply #82 on: November 14, 2016, 02:42:49 pm »
As I do not have any knowledge about the WinCE platform, fpcupdeluxe builds a crosscompiler for Wince without the ARMHF option. As a result, these two settings are not valid.

For now, you have the option to also install an ARM/Linux cross-compiler.
This will compile a cross ARM compiler with hardfloat support.
This compiler will also be used for Wince, and these two settings will become valid.

A request: please enlighten me about the status of hardfloat/softfloat on WinCE !??
Perhaps I have to add an option hard/soft-float into fpcupdeluxe ?

swierzbicki

  • Full Member
  • ***
  • Posts: 177
Re: Fpcupdeluxe
« Reply #83 on: November 14, 2016, 03:37:41 pm »
For now, you have the option to also install an ARM/Linux cross-compiler.
This will compile a cross ARM compiler with hardfloat support.
This compiler will also be used for Wince, and these two settings will become valid.

I'm sorry but I still encounter this error after installing the ARM/Linux cross-compiler !
Lazarus 1.6.2
fpc 3.0.0
wince/win32/win64
delphi berlin

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1087
Re: Fpcupdeluxe
« Reply #84 on: November 14, 2016, 03:40:14 pm »
Mmm, I am still in the dark ....
What versions of FPC and Lazarus do you install with fpcupdeluxe ?
Will try to reproduce.

swierzbicki

  • Full Member
  • ***
  • Posts: 177
Re: Fpcupdeluxe
« Reply #85 on: November 14, 2016, 04:08:24 pm »
What versions of FPC and Lazarus do you install with fpcupdeluxe ?

FPC version : newpascal
Lazarus version : newpascal
Lazarus 1.6.2
fpc 3.0.0
wince/win32/win64
delphi berlin

swierzbicki

  • Full Member
  • ***
  • Posts: 177
Re: Fpcupdeluxe
« Reply #86 on: November 15, 2016, 11:25:47 am »
Will try to reproduce.

Hello DonAlfredo, did you reproduce my issue ? Did you find a workaround ?

Thank you
Lazarus 1.6.2
fpc 3.0.0
wince/win32/win64
delphi berlin

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1087
Re: Fpcupdeluxe
« Reply #87 on: November 15, 2016, 11:42:20 am »
Yes. And solved also.
Now testing.

Will release new fpcupdeluxe within a couple of hours.

Also, I have compiled new binutils (2.2.27) for Wince.
These are already online.

swierzbicki

  • Full Member
  • ***
  • Posts: 177
Re: Fpcupdeluxe
« Reply #88 on: November 15, 2016, 02:21:05 pm »
Yes. And solved also.
Now testing.

Will release new fpcupdeluxe within a couple of hours.

Also, I have compiled new binutils (2.2.27) for Wince.
These are already online.

Yeaahhhh, thank you so much
Lazarus 1.6.2
fpc 3.0.0
wince/win32/win64
delphi berlin

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1087
Re: Fpcupdeluxe
« Reply #89 on: November 15, 2016, 05:09:53 pm »
New relase : v0.99c !

https://github.com/LongDirtyAnimAlf/Reiniero-fpcup/releases/tag/0.99c

Fixes for wince.
And more improvements.

@swierzbicki
Delete fpc bin directory : c:\yourinstall\fpc\bin
Delete wince cross-bin directory : c:\yourinstall\cross\bin\arm-wince
Delete lazarus config dir : c:\yourinstall\config_lazarus

Rerun fpcupdeluxe (the new version naturally).
Rerun cross-compiler arrm-wince install.

This procedure prevents another download of all FPC and Lazarus sources.