Recent

Author Topic: Fpcupdeluxe  (Read 794404 times)

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: Fpcupdeluxe
« Reply #1515 on: March 25, 2020, 08:59:01 pm »
Small teaser.

The screenshot shows fpcupdeluxe running on OpenBSD.
Nothing special, but this fpcupdeluxe binary was produced on Windows by easy cross-compiling.
Due to the flue, I had some spare time pimping the binutils for OpenBSD to be able to compile them with MSYS2 on Windows.

The next release of fpcupdeluxe (1.6.8h) will be able to build this.

Stay tuned ...  ;)

Edit. The bins are here:
https://github.com/LongDirtyAnimAlf/binutils-openbsd

AlexTP

  • Hero Member
  • *****
  • Posts: 2386
    • UVviewsoft
Re: Fpcupdeluxe
« Reply #1516 on: March 27, 2020, 11:55:18 am »
Used this cross for OpenBSD, made OpenBSD build of CudaText, and it runs OK.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: Fpcupdeluxe
« Reply #1517 on: March 27, 2020, 02:41:18 pm »
Thanks for testing ! Glad it worked.

https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/latest

This latest release (1.6.8i) will build for OpenBSD.

avra

  • Hero Member
  • *****
  • Posts: 2514
    • Additional info
Re: Fpcupdeluxe
« Reply #1518 on: March 27, 2020, 03:02:30 pm »
The screenshot shows fpcupdeluxe running on OpenBSD.
Soon you will run out of screen space for showing the list of supported OS targets :D ;) :D
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: Fpcupdeluxe
« Reply #1519 on: March 27, 2020, 03:19:58 pm »
True !
It amazes me every day that FPC and Lazarus are able to support so many (cross-) targets. Its a superb effort by the designers/maintainers. It makes life as a programmer very enjoyable.

And, as a database (user) interface, the mORMot fits the same category.

Keep typing !!

oliverhbailey

  • New member
  • *
  • Posts: 9
Re: Fpcupdeluxe
« Reply #1520 on: March 31, 2020, 06:45:53 pm »
I downloaded fpcupdeluxe to build some cross platform projects. When saving a linux64 project fro the Project-Save as menu in Lazarus 2.1.0 I selected a create folder of linux64 and a file name of project1. When I select create folder, I fill in the folder name and press the save button for the project. The project is created in the project folder, no folder is ever created. What is the purpose of a non-functional folder create button, or is there anther way required to create the folder. I am trying to understand how to use cross development within the Lazarus system.

Thank you

oliverhbailey

  • New member
  • *
  • Posts: 9
Re: Fpcupdeluxe
« Reply #1521 on: March 31, 2020, 07:28:02 pm »
Hello,
I had to create a folder at the terminal prompt to create the Linux 64 project and then save the project to the folder, moving the files from the projects folder. Project-Save As does not create the project in the new folder if the project has already been started.

Next item. I did successfully compile the 64 bit Linux application. I then downloaded the Linux i386 compiler from the cross tab in fpcupdeluxe. The compiler downloaded and component libraries were created without any errors. I then change the project options in Lazarus to Linux i386 and compiled with the errors in the attached png file. I should note that Lazarus was not running when the cross compiler was installed.

If someone can help with this issue, I would be very grateful.

Thank You


trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2020
  • Former Delphi 1-7, 10.2 user
Re: Fpcupdeluxe
« Reply #1522 on: April 01, 2020, 08:37:16 am »
Looks like you do not have 32 bit libraries for the two items installed or the compiler cannot find them.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: Fpcupdeluxe
« Reply #1523 on: April 01, 2020, 10:03:45 am »
It seems that the compilation failed due to a missing library that your program needs.
The output of the linker is ok.
You have to disable the filtering of the message windows to know which library cannot be found.
Right-click on the message windows.
Select "Filter non urgent messages". And select "Filter none.
Right-click on the message windows again.
Disable "Filter hints without source position".
Compile again and look at the messages.

Additional:
@trev is right.
Even if you succeed in cross-compiling, you need to install lib32 on your 64bit machines.

unregistered

  • Newbie
  • Posts: 2
Re: Fpcupdeluxe
« Reply #1524 on: April 02, 2020, 02:31:48 pm »
Hi,
I am trying to compile for iOS on a mac, used the trunk of both lazarus and fpc and then the AArch64 darwin crosscompiler. Managed to compile x86_64 darwin fine but when I changed the target architecture to AArch64 darwin in lazarus and pressed OK it gave me the error:
The project uses target OS=darwin and CPU=aarch64.
The system.ppu for this target was not found in the FPC binary directories.
Make sure fpc is installed correctly for this target and the fpc.cfg contains the right directories.

Base OS: MacOS Catalina 10.15.4
Target architecture: AArch64
Target OS: Darwin
Release v1.6.8k of fpcupdeluxe-x86_64-darwin-cocoa.zip

I got the same error when I try compiling for arm darwin too.
 How can I go about solving this? Any help is much appreciated
« Last Edit: April 02, 2020, 03:01:38 pm by unregistered »

Zoran

  • Hero Member
  • *****
  • Posts: 1829
    • http://wiki.lazarus.freepascal.org/User:Zoran
Re: Fpcupdeluxe
« Reply #1525 on: April 13, 2020, 11:14:20 am »
Old pc - 2GB ram, Windows 7 32bit.

I downloaded latest stable fpcupdeluxe (v.1.6.8) for windows 32 bit from https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/tag/1.6.8k.

I haven't done any special settings. I started the programme, under FPC version I chose "fixes", I chose InstallDir (an empty one), and clicked on "fpc only" button.

It starts, gives warning that Open SSL library is not installed and says it will try to download it.
Than it hangs (see the attached screenshot).

I tried several times, once I waited for half an hour, but nothing happens.

nouzi

  • Sr. Member
  • ****
  • Posts: 296
Re: Fpcupdeluxe
« Reply #1526 on: April 13, 2020, 12:22:55 pm »
Old pc - 2GB ram, Windows 7 32bit.

I downloaded latest stable fpcupdeluxe (v.1.6.8) for windows 32 bit from https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/tag/1.6.8k.

I haven't done any special settings. I started the programme, under FPC version I chose "fixes", I chose InstallDir (an empty one), and clicked on "fpc only" button.

It starts, gives warning that Open SSL library is not installed and says it will try to download it.
Than it hangs (see the attached screenshot).

I tried several times, once I waited for half an hour, but nothing happens.

go to extras>get openSSL by browser
download  openSSL 32bit
unzip files and copy all files to "windows" or "system32" folder
 try agane
My English is  bad
Lazarus last version free pascal last version
Lazarus trunk  free pascal trunk 
System : Linux mint  64bit  Windows 7 64bit

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: Fpcupdeluxe
« Reply #1527 on: April 13, 2020, 12:33:13 pm »
The workaround of Nouzi will work.
But perhaps also the latest release of fpcupdeluxe:

https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/latest

Cross-compilation towards Amiga, Aros and Morphos was added, among other things.
Also cross-compilation towards Darwin IPhone was fixed.

Zoran

  • Hero Member
  • *****
  • Posts: 1829
    • http://wiki.lazarus.freepascal.org/User:Zoran
Re: Fpcupdeluxe
« Reply #1528 on: April 13, 2020, 01:02:33 pm »
The workaround of Nouzi will work.

I'm going to try it now.

But perhaps also the latest release of fpcupdeluxe:

Didn't help. Same with new version 1.6.8m. I waited several minutes and had to kill fpcup from Task manager. :'(

Zoran

  • Hero Member
  • *****
  • Posts: 1829
    • http://wiki.lazarus.freepascal.org/User:Zoran
Re: Fpcupdeluxe
« Reply #1529 on: April 13, 2020, 01:19:03 pm »
go to extras>get openSSL by browser
download  openSSL 32bit
unzip files and copy all files to "windows" or "system32" folder
 try agane

Thank you for the tip.
Even better - I didn't have to mess with system folders, it was enough to unpack these files to fpcupdeluxe folder.
Thanks again.

 

TinyPortal © 2005-2018