Code Monkey home page Code Monkey logo

fpcupdeluxe's Introduction

fpcup / fpclazup / fpcupdeluxe

Original: https://bitbucket.org/reiniero/fpcup
Updated : https://github.com/LongDirtyAnimAlf/Reiniero-fpcup
New (this) : https://github.com/newpascal/fpcupdeluxe
Wiki : http://wiki.freepascal.org/fpcupdeluxe

GitHub contributors GitHub All Releases GitHub commits since tagged version License

Acknowledgement

As of August 28, 2015, this new repo contains all previous commits by Reinier.
Many thanks towards user "Arvur" (see forum) for making this possible.
Follow the fpcup development on http://forum.lazarus.freepascal.org/index.php/topic,27211.0.html

What is it?

Fpcup, fpclazup and fpcupdeluxe are basically wrappers around svn/make on steroids. They try to use the FPC/Lazarus build process as much as possible.

Fcpupdeluxe is the latest addition that adds a GUI to ease its use.

Shortcut on your desktop are created that point to the new (Lazarus) installation.

Meant to be used side by side with other FPC/Lazarus installations. It creates a separate primary config path directory for the new Lazarus installation, so it doesn't interfere with existing Lazarus installs.

It's open source software released under the LGPL with linking exception (same as FreePascal), and contains some open source libraries with their own license. See source files for details. All use permitted, also commercial, but no warranties, express or implied.

Prerequisites

Windows

  • none
  • If needed, the tool will download all needed binaries (bootstrap compiler, binutils, svn executable)
  • In order to compile programs correctly with GTK widgetset under Windows, you can use the following bundle: http://www.tarnyko.net/dl/gtk.htm

Linux

For your convenience, ready made install scripts can be found in the installscripts directory !

The most common tools and libraries needed can be fetched through the package manager, if the above scripts are not used.

  • GNU make
  • the binutils (make etc); e.g. in a package called build-essential
  • GIT client
  • bunzip2 (probably present in most distributions)
  • unzip
  • untar
  • subversion client: svn
  • gdb is not needed for building FPC/Lazarus but needed for debugging your Lazarus programs
  • libX11, libgdk_pixbuf-2.0, libpango-1.0, libgdk-x11-2.0

E.g. on Debian or Ubuntu, do something like:

sudo apt install make binutils build-essential gdb subversion zip unzip libx11-dev libgtk2.0-dev libgdk-pixbuf2.0-dev libcairo2-dev libpango1.0-dev

Apple OSX

  • Xcode and Xcode command line tools

FreeBSD 9+

  • none, but strongly recommended to use a newer gdb than the 6.1 version supplied with the system, e.g. by cd /usr/ports/devel/gdb make -DBATCH install clean Use gdb in /usr/local/bin/gdb
  • for Lazarus, you'll need XWindows with GTK (default) or Qt

Cross compiler extensions

Fpcupdeluxe has a facility to extend its functionality building and using cross compiling modules.

Install data collection

Fpcupdeluxe >= 1.6.0a sends some data about its installs towards a central server.
For this, it uses the famous mORMot framework.
You can check this data yourself:
fpcuplogger.batterybutcher.com:8880/root/getinfohtml
fpcuplogger.batterybutcher.com:8880/root/getinfojson
fpcuplogger.batterybutcher.com:8880/root/getinfohtml?ShowErrors=yes
fpcuplogger.batterybutcher.com:8880/root/getinfohtml?Country=China
fpcuplogger.batterybutcher.com:8880/root/getinfohtml?FPCVersion=trunk

The data collection can be disabled by a setting in setup+

Contact

For reporting bugs, suggestions, patches. https://github.com/newpascal/fpcupdeluxe/issues

fpcupdeluxe's People

Contributors

0x4a4d00 avatar and3md avatar arvur avatar boeckmann avatar ccrause avatar galfar avatar gcarreno avatar iso4free avatar kassane avatar longdirtyanimalf avatar mariuszmaximus avatar michaliskambi avatar minias-tdi avatar pavelmash avatar perfbleu avatar prof7bit avatar raincode avatar rcla avatar rjking1 avatar robsean avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fpcupdeluxe's Issues

fpcupdeluxe halts without logging anything

Hi, I just downloaded fpcupdeluxe on ~/fpcupdeluxe (XUbuntu 16.04 - x86_64), run it then click on Stable, it downloaded everything needed from SVN, then started compiling, but when compiling Lazarus the application closes (core dumped).

I don't know where it halted, because I don't have a log to take a look into. Is there a way to write the log to a file?.

Regards,
Leonardo.

Err on 1.4.0n with clearn PC, Win64

Clean PC,. no SVN and unpackers here. and app don't work,

I selected Laz 1.9/trunk + FPC 3.0.0. pressed [Laz + FPC].
Errors

fpcupdeluxe: ERROR: FPCNativeInstaller (GetFile): Could not download patch.exe from https://svn.freepascal.org/svn/fpcbuild/tags/release_3_0_2/install/binw32/patch.exe into C:\fpcupdeluxe\fpcbootstrap
fpcupdeluxe: ERROR: FPCNativeInstaller (GetFile): Could not download patch.exe.manifest from https://svn.freepascal.org/svn/fpcbuild/tags/release_3_0_2/install/binw32/patch.exe.manifest into C:\fpcupdeluxe\fpcbootstrap
fpcupdeluxe: ERROR: FPCNativeInstaller (GetFile): Could not download 7za920.zip from http://downloads.sourceforge.net/project/sevenzip/7-Zip/9.20/7za920.zip into C:\fpcupdeluxe\fpcbootstrap\7Zip
fpcupdeluxe: ERROR: FPCNativeInstaller (GetFile): Could not download 7za920.zip from http://downloads.sourceforge.net/project/sevenzip/7-Zip/9.20/7za920.zip into C:\fpcupdeluxe\fpcbootstrap\7Zip
fpcupdeluxe: ERROR: FPCNativeInstaller (GetFile): Could not download unrar-3.4.3-bin.zip from http://downloads.sourceforge.net/project/gnuwin32/unrar/3.4.3/unrar-3.4.3-bin.zip into C:\fpcupdeluxe\fpcbootstrap\unrar
fpcupdeluxe: ERROR: FPCNativeInstaller (GetFile): Could not download unrar-3.4.3-bin.zip from http://downloads.sourceforge.net/project/gnuwin32/unrar/3.4.3/unrar-3.4.3-bin.zip into C:\fpcupdeluxe\fpcbootstrap\unrar
fpcupdeluxe: ERROR: FPCNativeInstaller (GetFile): Could not download git64.7z from https://github.com/newpascal/fpcupdeluxe/releases/download/Git-2.13.2/git64.7z into C:\fpcupdeluxe\fpcbootstrap\git
fpcupdeluxe: ERROR: FPCNativeInstaller (GetFile): Could not download git64.7z from https://github.com/newpascal/fpcupdeluxe/releases/download/Git-2.13.2/git64.7z into C:\fpcupdeluxe\fpcbootstrap\git
fpcupdeluxe: ERROR: FPCNativeInstaller (DownloadSVN): Downloading SVN client from https://www.visualsvn.com/files/Apache-Subversion-1.9.7.zip
fpcupdeluxe: ERROR: FPCNativeInstaller (DownloadSVN): Could not find SVN executable. Please make sure it is installed.
fpcupdeluxe: ERROR: Sequencer (fpc): Failure running fpcupdeluxe: error executing sequence fpc; line: 2, param: FPC
fpcupdeluxe: ERROR: Sequencer (Default): Failure running fpcupdeluxe: error executing sequence Default; line: 3, param: fpc

Button "Copy all"

For reports, need button, which copy all log text to clipboard.
Now its slow: need click memo, call menu, call select all, call copy.

Error building for i386/Windows

When building FPC + Lazarus from NewPascal repositories (I tested both GIT or SVN).
I setup the destination folder to C:\newpascal.
It fails with a GPF when building Lazarus.

From fpcupdeluxe-i386-win32.log file:
[2017-03-27 15:06:33.125 Info] Execute: C:\newpascal\fpcbootstrap\make.exe. Params: FPC=C:\newpascal\fpc\bin\i386-win32\fpc.exe,USESVN2REVISIONINC=0,--directory=C:\newpascal\lazarus,INSTALL_PREFIX=C:\newpascal\lazarus,FPCDIR=C:\newpascal\fpcsrc,UPXPROG=echo,COPYTREE=echo,"OPT=-vw-n-h-i-l-d-u-t-p-c-x- ",lazbuild
[2017-03-27 15:06:33.132 Info] Verbose output saved to Z:\Temp\TMP00005.tmp
[2017-03-27 15:07:05.566 Info] Lazarus: lazbuild could not be found, so cannot build USERIDE.

Associated TMP00005.tmp is attached.

There is a lazbuild.exe file in the c:\newpascal\lazarus\ folder.

Seems like there is a c:\fpcupdeluxe folder generated...
I will retry with no customization of the output folder to c:\newpascal

TMP00005.tmp.txt
fpcupdeluxe-i386-win32.log.txt

Problem on cross-compiling Lazarus app in Linux x64 to x32

installed (Ubuntu x64) Lazarus trunk. FPC 3.0.2.
installed cross-compiler to Linux x32.
run IDE, it cannot make CudaText for Linux x32.

Messages, Warnings: 1
Warning: other unit files search path (aka unit path) of "CudaText" contains "/home/user/cuda/synedit/atsynedit", which belongs to package "atsynedit_package"
Compile Project, Mode: x32 def, CPU: i386, Target: cudatext: Exit code 256, Errors: 1, Warnings: 2, Hints: 2
Hint: Start of reading config file /home/user/fpcupdeluxe/fpc/bin/x86_64-linux/fpc.cfg
Hint: End of reading config file /home/user/fpcupdeluxe/fpc/bin/x86_64-linux/fpc.cfg
cudatext.lpr(28,1) Warning: "crti.o" not found, this will probably cause a linking failure
cudatext.lpr(28,1) Warning: "crtn.o" not found, this will probably cause a linking failure
/home/user/fpcupdeluxe/cross/bin/i386-linux/i386-linux-ld: cannot find -lgtk-x11-2.0
/home/user/fpcupdeluxe/cross/bin/i386-linux/i386-linux-ld: cannot find -lgobject-2.0
/home/user/fpcupdeluxe/cross/bin/i386-linux/i386-linux-ld: cannot find -lglib-2.0
/home/user/fpcupdeluxe/cross/bin/i386-linux/i386-linux-ld: cannot find -lgthread-2.0
/home/user/fpcupdeluxe/cross/bin/i386-linux/i386-linux-ld: cannot find -lgmodule-2.0
/home/user/fpcupdeluxe/cross/bin/i386-linux/i386-linux-ld: cannot find -lpango-1.0
/home/user/fpcupdeluxe/cross/bin/i386-linux/i386-linux-ld: cannot find -lcairo
/home/user/fpcupdeluxe/cross/bin/i386-linux/i386-linux-ld: cannot find -latk-1.0
/home/user/fpcupdeluxe/cross/bin/i386-linux/i386-linux-ld: cannot find -lc
cudatext.lpr(28,1) Error: Error while linking

folder cross/lib/arm-linux exists;
folder for x32 not exists

Add -CfVFPV3 when compiling for Android

Initially when handling #10 , you have set these options for modern Android devices:

FPCupManager.CrossOPT:='-CpARMV7A -CfVFPV3 '

However, in the commit b3351e1 , you changed them to

FPCupManager.CrossOPT:='-CpARMV7A '

The change is in fpcupdeluxemainform.pas:

         if (FPCupManager.CrossOS_Target='android')
-            then FPCupManager.CrossOPT:='-CpARMV7A -CfVFPV3 '
+            then FPCupManager.CrossOPT:='-CpARMV7A '

This disables using hardware floats, which makes all floating-point calculations very sluggish (this results in around 4x performance drop when using Castle Game Engine, see https://github.com/castle-engine/castle-engine/wiki/Android-FAQ#notes-about-compiling-with-hard-floats--cfvfpv3 ). As far as I know, all modern devices in practice support -CfVFPV3.

The settings.ini (not used by fpcupdeluxe) also have crossopt="-CpARMV7 -CfVFPV3" in [android] section.

Can you add -CfVFPV3 back? If there's a reason why you don't want to use it by default, then all CGE users will have to adjust these options (thankfully, it's easy now thanks to #13 :)

Too long window caption

Wish: make shorter title
"FpcUpDeluxe ............."
W/out "laz and fpc installer and updater"

Possibiilty to get "stable" package versions

(This is a (rather low-priority) feature request :)

For Castle Game Engine, fpcupdeluxe takes the code from SVN trunk (or GIT master, after resolving my pull request: #11 ). This means that I can easily temporarily break Castle Game Engine in fpcupdeluxe by making a mistaken commit.

(I usually take pride in having a stable repository, and it's automatically tested by Jenkins... but accidents happen anyway. Especially with many OS/CPU/FPC/Lazarus combinations.)

And the way "ArchiveURL" is currently used doesn't help. Although my pull request #11 adds an "ArchiveURL" with a stable zip to fpcup.ini for CGE, but the "ArchiveURL" is used only in case the GIT/SVN repository cannot be contacted.

What I would like is a button like "Install STABLE versions of the selected modules", right next to the "Install module(s) from list" (which could be renamed to "Install LATEST versions of the selected modules").

I see two possible ways to implement this:

  • The "stable" version could require a new module settings in fpcup.ini: StableGITURL, StableSVNURL, StableArchiveURL . This seems like the most flexible approach, and consistent with current design. For GIT, it would be useful to add GITBranch and StableGITBranch, in case the module uses two different branches within the same repository (e.g. "stable" and "master", or "master" and "unstable").

  • An alternative way: the "stable" version could just use ArchiveURL (never SVN or GIT), and assuming that projects will update ArchiveURL to specify their latest stable zip/tar.gz. This makes some sense, as it also allows to put more things (like an offline documentation generated by PasDoc in case of CGE) inside the "stable" release zip. But it's probably not consistent with current ArchiveURL usage (right now, in fpcup.ini, most ArchiveURL point to GitHub "master.zip" file, so they are not used to provide a stable zip releases).

need small fix in UI

Linux gtk2 Ubuntu

  • "embedded","aarch64" dont fit
  • bottom buttons: please delete bad frame around

lin scr

Great tool but

It has a lot of potential but for now it is not usable.
It seem that the program dose not wait for its down loads to finish and as
for that it it get an error and fails.
My first down load was the openssl that i head to download
by hand. Then there was the fcp git32.7z it self that failed so i gave up.
I wanted to have an Android +arm .
Further more the wiki dose not explain well all the option since i head to guess.

AutoClear checkbox

It must be aligned by vertical center of lefter Edit. now Edit is high, and checkbox aligned on top edge.

Desktop link dont start

link: fpcup-Lazarus_fpcupdeluxe.desktop
don't start. Error

[Desktop Entry]
Version=1.0
Encoding=UTF-8
Type=Application
Icon=/home/user/fpcupdeluxe/lazarus/images/icons/lazarus.ico
Exec=/home/user/fpcupdeluxe/lazarus/lazarus --pcp="/home/user/fpcupdeluxe/config_lazarus"
Name=Lazarus_fpcupdeluxe
Category=Application;IDE;Development;GUIDesigner;
Keywords=editor;Pascal;IDE;FreePascal;fpc;Design;Designer;

untr

GUI does not use auto-sizing (enough)

The forms of fpcupdeluxe do not use auto-sizing enough.

See the attached images how the forms look like on my Linux (Debian with MATE desktop, with larger fonts configured in MATE). As you can see, some text is too large for it's containing container (like a button or groupbox), and as a result it is partially cut off.

The window with "advanced options" is most hurt by this problem, but you can see some problems on all 3 screenshots.

To solve this, more controls should have AutoSize = true (all buttons, group boxes). And the controls should be anchored to their siblings (not have absolute positions). I could probably hack and submit at least a partial solution, if you're OK with this:)

fpcupdeluxe_no_autosizing_1
fpcupdeluxe_no_autosizing_2
fpcupdeluxe_no_autosizing_3

Install FPC+Laz on Linux x86_64 fails at compiling package utils-h2pas

Here's the last part of the log:

`[snip]
[ 50%] Compiled package utils-fprcp
Start compiling package utils-h2pas for target x86_64-linux.
Executing command "/usr/bin/pyacc h2pas/h2pas.y h2pas/h2pas.pas"
The installer encountered the following error:
External command "/usr/bin/pyacc h2pas/h2pas.y h2pas/h2pas.pas" failed with exit code 256. Console output:
TP Yacc Version 4.1a [April 2000], Copyright (c) 1990-2000 Albert Graef

FATAL: cannot open file /usr/lib/fpc/lexyacc/yyparse.cod

Makefile:2426: recipe for target 'all' failed
Makefile:2696: recipe for target 'utils_all' failed
make[1]: *** [utils_all] Error 2
Makefile:2940: recipe for target 'build-stamp.x86_64-linux' failed
make: *** [build-stamp.x86_64-linux] Error 2

fpcupdeluxe: ERROR: FPCNativeInstaller (BuildModuleCustom: FPC): Error running make failed with exit code 512`

(BTW, the red on blue is very hard to read.)

Distro is openSUSE Leap 42.3.

locate yyparse.cod yields:
/usr/share/fpcsrc/3.0.4/utils/h2pas/yyparse.cod
/usr/share/fpcsrc/3.0.4/utils/tply/yyparse.cod

P.S. fpcupdeluxe looks quite interesting.

Compiling a cross-compiler for some targets fails, because fpcupdeluxe uses "make all" instead of "make crossall"

I'm trying to compile a cross-compiler from Mac OS X (macOS Sierra 10.12.6, x86_64) to Arm/Darwin (a 32-bit iPhone version, as far as I understand). It fails with the error I paste below.

The detailed analysis follows, but in short, as far as I understand, it is because fpcupdeluxe uses make all ... when building a cross-compiler. Which means that it not only creates a cross-compiler, it also tries to create a compiler binary that could in theory be executed on Arm/Darwin device. But this is not possible (or maybe something in my setup makes it impossible?), one can only build libraries (not programs) for Arm/Darwin.

I think that the solution is to always use make crossall ... when building cross-compilers (for any platforms, so the solution would actually apply to all platforms). So you use commands like make clean crossall crossinstall OS_TARGET=... CPU_TARGET=... CROSSOPT="...". This will build a cross-compiler, and nothing more, which should be OK.

The details:

When I select "FPC trunk", then "arm", "darwin", and press "Install cross-compiler", it fails with this error:

 [2017-09-23 19:51:41.580 Info] /Users/michalis/fpcupdeluxe/fpcsrc/compiler/ppcrossarm -Parm -Ur -Xs -O2 -n -Fuarm -Fusystems -Fu/Users/michalis/fpcupdeluxe/fpcsrc/rtl/units/arm-darwin -Fiarm -FD/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/bin -FE. -FUarm/units/arm-darwin -dRELEASE -XR/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk -FD/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/bin -CpARMV7 -CfVFPV3 -vw-n-h-l-d-u-t-p-c- -dFPC_ARMHF -ap -dREVINC -darm -dGDB -dBROWSERLOG -Sew -XR/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk -FD/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/bin -CpARMV7 -CfVFPV3    -dREVINC -darm -dGDB -dBROWSERLOG  -Sew pp.pas

 [2017-09-23 19:51:56.333 Info] ld: warning: ignoring file /usr/lib/crt1.o, missing required architecture armv7 in file /usr/lib/crt1.o (2 slices)

 [2017-09-23 19:51:56.396 Info] Undefined symbols for architecture armv7:
  "start", referenced from:
     implicit entry/start for main executable

 [2017-09-23 19:51:56.417 Info] ld: symbol(s) not found for architecture armv7
An error occurred while linking

 [2017-09-23 19:51:56.427 Info] pp.pas(250,36) Error: Error while linking
pp.pas(250,36) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted

As far as I see, this is the same error as if one would try to compile a program using the FPC 3.0.3 iOS cross-compiler from https://sourceforge.net/projects/freepascal/files/Mac%20OS%20X/ .

$ DEVICE_SDK='/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk'

$ echo 'program test_program; begin end.' > test_program.lpr

$ fpc -Parm     -Tdarwin  -CpARMV7 -CfVFPV3 -XR${DEVICE_SDK} test_program.lpr
Free Pascal Compiler version 3.0.3 [2017/02/14] for arm
Copyright (c) 1993-2017 by Florian Klaempfl and others
Target OS: Darwin for ARM
Compiling test_program.lpr
Assembling (pipe) test_program.s
Linking test_program
ld: warning: ignoring file /usr/lib/crt1.o, missing required architecture armv7 in file /usr/lib/crt1.o (2 slices)
ld: warning: object file (/usr/local/lib/fpc/3.0.3/units/arm-darwin/rtl/system.o) was built for newer iOS version (6.0) than being linked (3.0)
Undefined symbols for architecture armv7:
  "start", referenced from:
     implicit entry/start for main executable
ld: symbol(s) not found for architecture armv7
An error occurred while linking
test_program.lpr(2) Error: Error while linking
test_program.lpr(2) Fatal: There were 1 errors compiling module, stopping

# with -WP5.1 also fails, but differently:

$ fpc -Parm  -Tdarwin  -WP5.1 -Cfvfpv3 -Cparmv7 -XR${DEVICE_SDK} test_program.lpr
Free Pascal Compiler version 3.0.3 [2017/02/14] for arm
...
Linking test_program
ld: file not found: /usr/lib/crt1.3.1.o
An error occurred while linking 
...

# with -WP5.1 and library, works OK:

$ echo echo 'library test_library; begin end.' > test_library.lpr

$ fpc -Parm  -Tdarwin  -WP5.1 -Cfvfpv3 -Cparmv7 -XR${DEVICE_SDK} test_library.lpr
... Goes OK

As far as I can tell, one simply cannot build programs for Arm/Darwin, only libraries, with FPC. Which is OK, building libraries is all one needs to make applications for iPhone.

I reproduced the FPC build problem, and I tested that replacing "all" with "crossall" helps, by using a command same as fpcupdeluxe:

$ cd ~/fpcupdeluxe/fpcsrc/
$ make "FPC=/Users/michalis/fpcupdeluxe/fpcbootstrap/ppcx64" "--directory=/Users/michalis/fpcupdeluxe/fpcsrc" "INSTALL_PREFIX=/Users/michalis/fpcupdeluxe/fpc" "CROSSBINDIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/bin" "all" "CPU_SOURCE=x86_64" "OS_SOURCE=darwin" "OS_TARGET=darwin" "CPU_TARGET=arm" "NOGDBMI=1" "CROSSOPT=-XR/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk -FD/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/bin -CpARMV7 -CfVFPV3" "OPT=-vw-n-h-l-d-u-t-p-c- -dFPC_ARMHF -ap"
...
ld: warning: ignoring file /usr/lib/crt1.o, missing required architecture armv7 in file /usr/lib/crt1.o (2 slices)
Undefined symbols for architecture armv7:
  "start", referenced from:
     implicit entry/start for main executable
...

# now replace "all" with "crossall" in the command:

$ make "FPC=/Users/michalis/fpcupdeluxe/fpcbootstrap/ppcx64" "--directory=/Users/michalis/fpcupdeluxe/fpcsrc" "INSTALL_PREFIX=/Users/michalis/fpcupdeluxe/fpc" "CROSSBINDIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/bin" "crossall" "CPU_SOURCE=x86_64" "OS_SOURCE=darwin" "OS_TARGET=darwin" "CPU_TARGET=arm" "NOGDBMI=1" "CROSSOPT=-XR/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk -FD/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/bin -CpARMV7 -CfVFPV3" "OPT=-vw-n-h-l-d-u-t-p-c- -dFPC_ARMHF -ap"
...
Goes OK.

The similar problem, with the same solution, is when one tries to compile for iPhone Simulator (i386 and x86_64). Compiling a program (any program, like the FPC compiler) fails with

Undefined symbols for architecture i386:
"___keymgr_dwarf2_register_sections", referenced from:
    __start in crt1.o

And fpcupdeluxe fails to create cross-compilers for iPhone Simulator with this error. Replacing "make all" with "make crossall" should fix it.

I'm testing with the latest fpcupdeluxe from https://github.com/newpascal/fpcupdeluxe/releases - Release v1.4.0n, fpcupdeluxe-x86_64-darwin-cocoa.app.zip .

How to use on FreeBSD

Tried FreeBsd, cannot use Lazarus 1.6.4 there- installer has bug
Pls write Wiki about how to use app on FreeBsd, to install Laz trunk and FPC trunk in it

dots in log Memo

Memo (dark bg color) shows spaces as dots. better pls show spaces as spaces.
To read easy

Red font of folder path

It makes error noise- like it is error shown, I saw such red fonts in apps when input wasnt correct.

Forced access to ftp://ftp.freepascal.org/pub/fpc/dist/3.0.4/bootstrap

Hi,

I can't access to ftp://ftp.freepascal.org/pub/fpc/dist/3.0.4/bootstrap from my place so I get the bootstrap file I put in fpcupdeluxe/fpcbootstrap/(renamed)ppcx64. When I use fpcupdeluxe to install a trunk version of FPC and Lazarus, it loads correctly the ppcx64 file but after that it try to access to the ftp.

Is it possible to don't force the access to the ftp if fpcupdeluxe find the bootstrap on the computer ?

Thanks.

Running cross compiler fpc make all for x86_64-linux failed with an error code.

Hello,

I've successfully installed Lazarus V1.9.0 (date 2017-07-07, FPC v 3.1.1) SVN Rev 55458 x86_64-win64-win32/win64, but failed to install the cross compiler for Linux 64bit, error messages are posted below, I'm wondering if you can provide any help :)


FPCUPdeluxe V1.4.0k base fpcup027 (20170616) for x86_64-win64

Going to install a cross-compiler from available sources.
Building compiler for linux-x86_64.
FPCUP(deluxe) is starting up.

Binutils/make dir:  C:\fpcupdeluxe\fpcbootstrap
Bootstrap dir:      C:\fpcupdeluxe\fpcbootstrap
Please stand back and enjoy !

fpcupdeluxe: info: 2017/7/7 17:37:00: fpcup027 (20170616) started.
fpcupdeluxe: info: Windows major version: 6
fpcupdeluxe: info: Windows minor version: 1
fpcupdeluxe: info: Windows build number:  7601
fpcupdeluxe: info: FPCCrossInstaller (CleanModule: FPC): Running make distclean twice (OS_TARGET=linux/CPU_TARGET=x86_64)
fpcupdeluxe: info: FPCCrossInstaller (CleanModule: FPC): Execute: C:\fpcupdeluxe\fpcbootstrap\make.exe. Params: --jobs=4,FPC=C:\fpcupdeluxe\fpcbootstrap\intermediate_ppcx64.exe,--directory=C:\fpcupdeluxe\fpcsrc,INSTALL_PREFIX=C:\fpcupdeluxe\fpc,UPXPROG=echo,COPYTREE=echo,CPU_SOURCE=x86_64,OS_SOURCE=win64,OS_TARGET=linux,CPU_TARGET=x86_64,distclean
Executing: C:\fpcupdeluxe\fpcbootstrap\make.exe "--jobs=4" "FPC=C:\fpcupdeluxe\fpcbootstrap\intermediate_ppcx64.exe" "--directory=C:\fpcupdeluxe\fpcsrc" "INSTALL_PREFIX=C:\fpcupdeluxe\fpc" "UPXPROG=echo" "COPYTREE=echo" "CPU_SOURCE=x86_64" "OS_SOURCE=win64" "OS_TARGET=linux" "CPU_TARGET=x86_64" "distclean" (working dir: C:\fpcupdeluxe\fpcsrc)
C:\fpcupdeluxe\fpcbootstrap\make.exe: Do not specify -j or --jobs if sh.exe is not available.
C:\fpcupdeluxe\fpcbootstrap\make.exe: Resetting make for single job mode.
C:/fpcupdeluxe/fpcbootstrap/make.exe -C compiler distclean
C:/fpcupdeluxe/fpcbootstrap/make.exe -C utils cleanall
C:/fpcupdeluxe/fpcbootstrap/make.exe -C utils distclean
...
C:/fpcupdeluxe/fpcbootstrap/make.exe -C installer distclean
fpcupdeluxe: info: FPCCrossInstaller (CleanModule: FPC): Execute: C:\fpcupdeluxe\fpcbootstrap\make.exe. Params: --jobs=4,FPC=C:\fpcupdeluxe\fpcbootstrap\intermediate_ppcx64.exe,--directory=C:\fpcupdeluxe\fpcsrc,INSTALL_PREFIX=C:\fpcupdeluxe\fpc,UPXPROG=echo,COPYTREE=echo,CPU_SOURCE=x86_64,OS_SOURCE=win64,OS_TARGET=linux,CPU_TARGET=x86_64,distclean
Executing: C:\fpcupdeluxe\fpcbootstrap\make.exe "--jobs=4" "FPC=C:\fpcupdeluxe\fpcbootstrap\intermediate_ppcx64.exe" "--directory=C:\fpcupdeluxe\fpcsrc" "INSTALL_PREFIX=C:\fpcupdeluxe\fpc" "UPXPROG=echo" "COPYTREE=echo" "CPU_SOURCE=x86_64" "OS_SOURCE=win64" "OS_TARGET=linux" "CPU_TARGET=x86_64" "distclean" (working dir: C:\fpcupdeluxe\fpcsrc)
C:\fpcupdeluxe\fpcbootstrap\make.exe: Do not specify -j or --jobs if sh.exe is not available.
C:\fpcupdeluxe\fpcbootstrap\make.exe: Resetting make for single job mode.
C:/fpcupdeluxe/fpcbootstrap/make.exe -C compiler distclean
C:/fpcupdeluxe/fpcbootstrap/make.exe -C utils cleanall
C:/fpcupdeluxe/fpcbootstrap/make.exe -C utils distclean
....
C:/fpcupdeluxe/fpcbootstrap/make.exe -C installer distclean
fpcupdeluxe: info: FPCCrossInstaller (BuildModule: FPC): Building module FPC...
fpcupdeluxe: info: FPCCrossInstaller (BuildModule: FPC): We have a FPC source (@ C:\fpcupdeluxe\fpcsrc) with version: 3.1.1
fpcupdeluxe: info: FPCCrossInstaller (BuildModule: FPC): To compile this FPC, we need (required) a compiler with (lowest) version : 3.0.0
Executing: C:\fpcupdeluxe\fpcbootstrap\intermediate_ppcx64.exe "-iV" (working dir: )
3.0.0
fpcupdeluxe: info: FPCCrossInstaller (BuildModule: FPC): To compile this FPC, we will use the (already available) compiler with version : 3.0.0
Executing: C:\fpcupdeluxe\fpcbootstrap\intermediate_ppcx64.exe "-iV" (working dir: )
3.0.0
fpcupdeluxe: info: FPCCrossInstaller (BuildModule: FPC): Available bootstrapper has correct version !
fpcupdeluxe: info: TAny_linux-x86_64: found correct binary utilities in directory C:\fpcupdeluxe\cross\bin\x86_64-linux
fpcupdeluxe: info: TAny_linux-x86_64: found correct library in directory C:\fpcupdeluxe\cross\lib\x86_64-linux
fpcupdeluxe: info: FPCCrossInstaller (BuildModuleCustom: FPC): Running Make all (FPC crosscompiler: x86_64-linux) with CROSSOPT: -XPx86_64-linux- -Xd -FlC:\fpcupdeluxe\cross\lib\x86_64-linux
Executing: C:\fpcupdeluxe\fpcbootstrap\make.exe "--jobs=4" "FPC=C:\fpcupdeluxe\fpcbootstrap\intermediate_ppcx64.exe" "--directory=C:\fpcupdeluxe\fpcsrc" "INSTALL_PREFIX=C:\fpcupdeluxe\fpc" "CROSSBINDIR=C:\fpcupdeluxe\cross\bin\x86_64-linux" "UPXPROG=echo" "COPYTREE=echo" "all" "CPU_SOURCE=x86_64" "OS_SOURCE=win64" "OS_TARGET=linux" "CPU_TARGET=x86_64" "NOGDBMI=1" "BINUTILSPREFIX=x86_64-linux-" "CROSSOPT=-XPx86_64-linux- -Xd -FlC:\fpcupdeluxe\cross\lib\x86_64-linux" "OPT=-vw-n-h-i-l-d-u-t-p-c-x- " (working dir: C:\fpcupdeluxe\fpcsrc)
C:\fpcupdeluxe\fpcbootstrap\make.exe: Do not specify -j or --jobs if sh.exe is not available.
C:\fpcupdeluxe\fpcbootstrap\make.exe: Resetting make for single job mode.
C:/fpcupdeluxe/fpcbootstrap/make.exe compiler_cycle RELEASE=1
C:/fpcupdeluxe/fpcbootstrap/make.exe -C compiler cycle
C:/fpcupdeluxe/fpcbootstrap/make.exe OS_TARGET=win64 CROSSBINDIR= BINUTILSPREFIX= CROSSCYCLEBOOTSTRAP=1 rtlclean rtl CYCLELEVEL=1
C:/fpcupdeluxe/fpcbootstrap/make.exe -C C:/fpcupdeluxe/fpcsrc/rtl clean
C:/fpcupdeluxe/fpcbootstrap/make.exe -C win64 clean
C:/fpcupdeluxe/fpcbootstrap/make.exe -C C:/fpcupdeluxe/fpcsrc/rtl 'OPT=-vw-n-h-i-l-d-u-t-p-c-x-   ' all
C:/fpcupdeluxe/fpcbootstrap/make.exe -C win64 all
C:/fpcupdeluxe/fpcbootstrap/intermediate_ppcx64.exe -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -FE. -FUC:/fpcupdeluxe/fpcsrc/rtl/units/x86_64-win64 -vw-n-h-i-l-d-u-t-p-c-x- -dx86_64 -dRELEASE -Us -Sg system.pp -Fi../win
C:/fpcupdeluxe/fpcbootstrap/intermediate_ppcx64.exe -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -FE. -FUC:/fpcupdeluxe/fpcsrc/rtl/units/x86_64-win64 -vw-n-h-i-l-d-u-t-p-c-x- -dx86_64 -dRELEASE ../inc/uuchar.pp
C:/fpcupdeluxe/fpcbootstrap/intermediate_ppcx64.exe -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -FE. -FUC:/fpcupdeluxe/fpcsrc/rtl/units/x86_64-win64 -vw-n-h-i-l-d-u-t-p-c-x- -dx86_64 -dRELEASE -I../objpas ../objpas/objpas.pp
C:/fpcupdeluxe/fpcbootstrap/intermediate_ppcx64.exe -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -FE. -FUC:/fpcupdeluxe/fpcsrc/rtl/units/x86_64-win64 -vw-n-h-i-l-d-u-t-p-c-x- -dx86_64 -dRELEASE -Fi../objpas/sysutils -Fi../objpas/classes -Fu../x86_64 -I../win -I../objpas -I../win/wininc -Fu../win/wininc -Fu../win -I../inc -Fu../inc -Fu../objpas buildrtl
mathu.inc(81,23) Warning: Check size of memory operand "movsd: memory-operand-size is 64 bits, but expected [128 bits]"
mathu.inc(94,23) Warning: Check size of memory operand "movss: memory-operand-size is 32 bits, but expected [128 bits]"
C:/fpcupdeluxe/fpcbootstrap/intermediate_ppcx64.exe -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -FE. -FUC:/fpcupdeluxe/fpcsrc/rtl/units/x86_64-win64 -vw-n-h-i-l-d-u-t-p-c-x- -dx86_64 -dRELEASE ../inc/macpas.pp
C:/fpcupdeluxe/fpcbootstrap/intermediate_ppcx64.exe -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -FE. -FUC:/fpcupdeluxe/fpcsrc/rtl/units/x86_64-win64 -vw-n-h-i-l-d-u-t-p-c-x- -dx86_64 -dRELEASE ../inc/iso7185.pp
C:/fpcupdeluxe/fpcbootstrap/intermediate_ppcx64.exe -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -FE. -FUC:/fpcupdeluxe/fpcsrc/rtl/units/x86_64-win64 -vw-n-h-i-l-d-u-t-p-c-x- -dx86_64 -dRELEASE -Fu../inc -Fi../charmaps ../charmaps/cpall.pas
C:/fpcupdeluxe/fpcbootstrap/intermediate_ppcx64.exe -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -FE. -FUC:/fpcupdeluxe/fpcsrc/rtl/units/x86_64-win64 -vw-n-h-i-l-d-u-t-p-c-x- -dx86_64 -dRELEASE ../inc/lineinfo.pp
C:/fpcupdeluxe/fpcbootstrap/intermediate_ppcx64.exe -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -FE. -FUC:/fpcupdeluxe/fpcsrc/rtl/units/x86_64-win64 -vw-n-h-i-l-d-u-t-p-c-x- -dx86_64 -dRELEASE ../inc/lnfodwrf.pp
C:/fpcupdeluxe/fpcbootstrap/make.exe OS_TARGET=win64 EXENAME=ppc.exe CROSSBINDIR= BINUTILSPREFIX= CROSSCYCLEBOOTSTRAP=1 cycleclean compiler CYCLELEVEL=1
C:/fpcupdeluxe/fpcbootstrap/make.exe -C utils cleanall
C:/fpcupdeluxe/fpcbootstrap/intermediate_ppcx64.exe -Ur -Xs -O2 -n -Fux86_64 -Fusystems -FuC:/fpcupdeluxe/fpcsrc/rtl/units/x86_64-win64 -Fix86_64 -FE. -FUx86_64/units/x86_64-win64 -dRELEASE -vw-n-h-i-l-d-u-t-p-c-x-    -dREVINC -dx86_64 -dGDB -dBROWSERLOG -Fux86 -Sew pp.pas
C:/fpcupdeluxe/fpcbootstrap/make.exe 'FPC=C:/fpcupdeluxe/fpcsrc/compiler/ppc.exe' OS_TARGET=win64 CROSSBINDIR= BINUTILSPREFIX= CROSSCYCLEBOOTSTRAP=1 rtlclean rtl CYCLELEVEL=2
C:/fpcupdeluxe/fpcbootstrap/make.exe -C C:/fpcupdeluxe/fpcsrc/rtl clean
C:/fpcupdeluxe/fpcbootstrap/make.exe -C win64 clean
C:/fpcupdeluxe/fpcbootstrap/make.exe -C C:/fpcupdeluxe/fpcsrc/rtl 'OPT=-vw-n-h-i-l-d-u-t-p-c-x-    ' all
C:/fpcupdeluxe/fpcbootstrap/make.exe -C win64 all
C:/fpcupdeluxe/fpcsrc/compiler/ppc.exe -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -FE. -FUC:/fpcupdeluxe/fpcsrc/rtl/units/x86_64-win64 -vw-n-h-i-l-d-u-t-p-c-x- -dx86_64 -dRELEASE -Us -Sg system.pp -Fi../win
C:/fpcupdeluxe/fpcsrc/compiler/ppc.exe -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -FE. -FUC:/fpcupdeluxe/fpcsrc/rtl/units/x86_64-win64 -vw-n-h-i-l-d-u-t-p-c-x- -dx86_64 -dRELEASE ../inc/uuchar.pp
C:/fpcupdeluxe/fpcsrc/compiler/ppc.exe -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -FE. -FUC:/fpcupdeluxe/fpcsrc/rtl/units/x86_64-win64 -vw-n-h-i-l-d-u-t-p-c-x- -dx86_64 -dRELEASE -I../objpas ../objpas/objpas.pp
C:/fpcupdeluxe/fpcsrc/compiler/ppc.exe -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -FE. -FUC:/fpcupdeluxe/fpcsrc/rtl/units/x86_64-win64 -vw-n-h-i-l-d-u-t-p-c-x- -dx86_64 -dRELEASE -Fi../objpas/sysutils -Fi../objpas/classes -Fu../x86_64 -I../win -I../objpas -I../win/wininc -Fu../win/wininc -Fu../win -I../inc -Fu../inc -Fu../objpas buildrtl
mathu.inc(81,23) Warning: Check size of memory operand "movsd: memory-operand-size is 64 bits, but expected [128 bits]"
C:/fpcupdeluxe/fpcsrc/compiler/ppc.exe -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -FE. -FUC:/fpcupdeluxe/fpcsrc/rtl/units/x86_64-win64 -vw-n-h-i-l-d-u-t-p-c-x- -dx86_64 -dRELEASE ../inc/macpas.pp
C:/fpcupdeluxe/fpcsrc/compiler/ppc.exe -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -FE. -FUC:/fpcupdeluxe/fpcsrc/rtl/units/x86_64-win64 -vw-n-h-i-l-d-u-t-p-c-x- -dx86_64 -dRELEASE ../inc/iso7185.pp
C:/fpcupdeluxe/fpcsrc/compiler/ppc.exe -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -FE. -FUC:/fpcupdeluxe/fpcsrc/rtl/units/x86_64-win64 -vw-n-h-i-l-d-u-t-p-c-x- -dx86_64 -dRELEASE -Fu../inc -Fi../charmaps ../charmaps/cpall.pas
C:/fpcupdeluxe/fpcsrc/compiler/ppc.exe -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -FE. -FUC:/fpcupdeluxe/fpcsrc/rtl/units/x86_64-win64 -vw-n-h-i-l-d-u-t-p-c-x- -dx86_64 -dRELEASE ../inc/lineinfo.pp
C:/fpcupdeluxe/fpcsrc/compiler/ppc.exe -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -FE. -FUC:/fpcupdeluxe/fpcsrc/rtl/units/x86_64-win64 -vw-n-h-i-l-d-u-t-p-c-x- -dx86_64 -dRELEASE ../inc/lnfodwrf.pp
C:/fpcupdeluxe/fpcbootstrap/make.exe 'FPC=C:/fpcupdeluxe/fpcsrc/compiler/ppc.exe' OS_TARGET=win64 EXENAME=ppcrossx64.exe CROSSBINDIR= BINUTILSPREFIX= CROSSCYCLEBOOTSTRAP=1 cycleclean compiler CYCLELEVEL=2
C:/fpcupdeluxe/fpcbootstrap/make.exe -C utils cleanall
C:/fpcupdeluxe/fpcsrc/compiler/ppc.exe -Ur -Xs -O2 -n -Fux86_64 -Fusystems -FuC:/fpcupdeluxe/fpcsrc/rtl/units/x86_64-win64 -Fix86_64 -FE. -FUx86_64/units/x86_64-win64 -dRELEASE -vw-n-h-i-l-d-u-t-p-c-x-     -dREVINC -dx86_64 -dGDB -dBROWSERLOG -Fux86 -Sew pp.pas
C:/fpcupdeluxe/fpcbootstrap/make.exe 'FPC=C:/fpcupdeluxe/fpcsrc/compiler/ppcrossx64.exe' rtlclean rtl CYCLELEVEL=3
C:/fpcupdeluxe/fpcbootstrap/make.exe -C C:/fpcupdeluxe/fpcsrc/rtl clean
C:/fpcupdeluxe/fpcbootstrap/make.exe -C linux clean
C:/fpcupdeluxe/fpcbootstrap/make.exe -C C:/fpcupdeluxe/fpcsrc/rtl 'OPT=-vw-n-h-i-l-d-u-t-p-c-x-    ' all
C:/fpcupdeluxe/fpcbootstrap/make.exe -C linux all
C:/fpcupdeluxe/fpcbootstrap/make.exe C:/fpcupdeluxe/fpcsrc/rtl/units/x86_64-linux
make.exe[6]: `C:/fpcupdeluxe/fpcsrc/rtl/units/x86_64-linux' is up to date.
C:\fpcupdeluxe\cross\bin\x86_64-linux/x86_64-linux-as.exe --64 -o C:/fpcupdeluxe/fpcsrc/rtl/units/x86_64-linux/prt0.o x86_64/prt0.as
C:/fpcupdeluxe/fpcbootstrap/make.exe C:/fpcupdeluxe/fpcsrc/rtl/units/x86_64-linux
make.exe[6]: `C:/fpcupdeluxe/fpcsrc/rtl/units/x86_64-linux' is up to date.
C:\fpcupdeluxe\cross\bin\x86_64-linux/x86_64-linux-as.exe --64  -o C:/fpcupdeluxe/fpcsrc/rtl/units/x86_64-linux/dllprt0.o x86_64/dllprt0.as
C:/fpcupdeluxe/fpcbootstrap/make.exe C:/fpcupdeluxe/fpcsrc/rtl/units/x86_64-linux
make.exe[6]: `C:/fpcupdeluxe/fpcsrc/rtl/units/x86_64-linux' is up to date.
C:\fpcupdeluxe\cross\bin\x86_64-linux/x86_64-linux-as.exe --64 -o C:/fpcupdeluxe/fpcsrc/rtl/units/x86_64-linux/cprt0.o x86_64/cprt0.as
C:/fpcupdeluxe/fpcbootstrap/make.exe C:/fpcupdeluxe/fpcsrc/rtl/units/x86_64-linux
make.exe[6]: `C:/fpcupdeluxe/fpcsrc/rtl/units/x86_64-linux' is up to date.
C:\fpcupdeluxe\cross\bin\x86_64-linux/x86_64-linux-as.exe --64 -o C:/fpcupdeluxe/fpcsrc/rtl/units/x86_64-linux/gprt0.o x86_64/gprt0.as
C:/fpcupdeluxe/fpcbootstrap/make.exe C:/fpcupdeluxe/fpcsrc/rtl/units/x86_64-linux
make.exe[6]: `C:/fpcupdeluxe/fpcsrc/rtl/units/x86_64-linux' is up to date.
C:\fpcupdeluxe\cross\bin\x86_64-linux/x86_64-linux-as.exe --64 -o C:/fpcupdeluxe/fpcsrc/rtl/units/x86_64-linux/abitag.o x86_64/abitag.as
C:/fpcupdeluxe/fpcsrc/compiler/ppcrossx64.exe -Ur -Tlinux -XPx86_64-linux- -Xr -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -Fi../unix -Fix86_64 -FDC:\fpcupdeluxe\cross\bin\x86_64-linux -FE. -FUC:/fpcupdeluxe/fpcsrc/rtl/units/x86_64-linux -Cg -vw-n-h-i-l-d-u-t-p-c-x- -dx86_64 -dRELEASE -XPx86_64-linux- -Xd -FlC:\fpcupdeluxe\cross\lib\x86_64-linux -Us -Sg system.pp
system.pp(397,4) Fatal: Internal error 2015030501
Fatal: Compilation aborted
make.exe[5]: *** [system.ppu] Error 1
make.exe[4]: *** [linux_all] Error 2
make.exe[3]: *** [rtl] Error 2
make.exe[2]: *** [cycle] Error 2
make.exe[1]: *** [compiler_cycle] Error 2
C:\fpcupdeluxe\fpcbootstrap\make.exe: *** [build-stamp.x86_64-linux] Error 2
fpcupdeluxe: ERROR: FPCCrossInstaller (BuildModuleCustom: FPC): Running cross compiler fpc make all for x86_64-linux failed with an error code.
fpcupdeluxe: ERROR: FPCCrossInstaller (BuildModuleCustom: FPC): Error running !
fpcupdeluxe: ERROR: Sequencer (FPCBuildOnly): Failure running fpcup. Technical details: error executing sequence FPCBuildOnly; line: 2, param: FPC
fpcupdeluxe: ERROR: Sequencer (Only): Failure running fpcup. Technical details: error executing sequence Only; line: 2, param: FPCBuildOnly


ERROR: Fpcupdeluxe fatal error !
Building cross-tools failed ... ??? ... aborting.

Reduntant log lines

On press [auto-update compilers]

Crosscompiler for i386-win32 found !
Going to update cross-compiler.
Building compiler for win32-i386.
Cross-compiler update ok.

Crosscompiler for x86_64-win64 found !
Going to update cross-compiler.
Building compiler for win64-x86_64.

it should be-

Going to update cross-compiler for NNN-MMM.
Updated.
Going to update cross-compiler for NNN2-MMM2.
Updated.
etc.

Can't build OSX cross compiler from debian.

I am migrating the issue from this forum:
http://forum.lazarus.freepascal.org/index.php/topic,38596.0.html

make 'FPC=/home/rafael/fpcupdeluxe/fpcsrc/compiler/ppcrossx64' rtlclean rtl CYCLELEVEL=3
make -C /home/rafael/fpcupdeluxe/fpcsrc/rtl clean
make -C darwin clean
make -C /home/rafael/fpcupdeluxe/fpcsrc/rtl 'OPT=-vw-n-h-l-d-u-t-p-c-    ' all
make -C darwin all
/home/rafael/fpcupdeluxe/fpcsrc/compiler/ppcrossx64 -dNOMOUSE -Ur -dFPC_USE_LIBC -Tdarwin -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 -FD/home/rafael/fpcupdeluxe/cross/bin/x86-darwin -FE. -FU/home/rafael/fpcupdeluxe/fpcsrc/rtl/units/x86_64-darwin -vw-n-h-l-d-u-t-p-c- -dx86_64 -dRELEASE -XPx86_64-apple-darwin15- -Xd -Fl/home/rafael/fpcupdeluxe/cross/lib/x86-darwin/MacOSX10.11.sdk/usr/lib -Fl/home/rafael/fpcupdeluxe/cross/lib/x86-darwin/MacOSX10.11.sdk/usr/lib/system -Us -Sg ../bsd/system.pp
/home/rafael/fpcupdeluxe/cross/bin/x86-darwin/x86_64-apple-darwin15-clang: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /home/rafael/fpcupdeluxe/cross/bin/x86-darwin/x86_64-apple-darwin15-clang)
system.pp(387) Error: Error while assembling exitcode 1
system.pp(387) Fatal: There were 2 errors compiling module, stopping
Fatal: Compilation aborted
Makefile:2829: recipe for target 'system.ppu' failed
make[5]: *** [system.ppu] Error 1
Makefile:2505: recipe for target 'darwin_all' failed
make[4]: *** [darwin_all] Error 2
Makefile:4327: recipe for target 'rtl' failed
make[3]: ***
Error 2
Makefile:4229: recipe for target 'cycle' failed
make[2]: *** [cycle] Error 2
Makefile:2908: recipe for target 'compiler_cycle' failed
make[1]: *** [compiler_cycle] Error 2
Makefile:2940: recipe for target 'build-stamp.x86_64-darwin' failed
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.
  • fpc trunk installed through fpcupdeluxe
  • clang installed by me (sudo apt-get install clang)
  • binutils and libs downloaded by fpcupdeluxe
  • binutils and libs extracted by fpcupdeluxe
  • cross-compiler built
  • cross-compiler installed

EDIT:

@LongDirtyAnimAlf

JFIY: Using FPC 3.1.1 and Lazarus 1.8 FIXES (RC5):

  • standard lazarus application will compile if i386-darwin/carbon out-of-the-box

  • standard lazarus application will not compile if x86-64-darwin/carbon out-of-the-box

Must show err if missing Unrar

I have no Unrar (Ubuntu 14.04)
Installing of crosscompiler failed

Executing : unrar "x" "/tmp/TMP00000.tmp" "/home/user/fpcupdeluxe/" (working dir: )
No luck in getting then cross-tools ... aborting.

Must show er if Unrar not found!

Binary ?

Hi, could you post some precompiled binaries?, I'm on a new PC without Lazarus/FPC here and would like to test fpcupdeluxe right here.

Incorrect hint over the radio box with cross-compilers OS/CPU

On the main form, the RadioGroup1 and RadioGroup2 have a hint saying "Double click to select location for cross-tools" . As far as I can see, this is not true? Double-clicking on them does nothing, I also don't see anything handling double-click in the code.

Detect and auto-update x86_64-win64 cross-compiler

On my x86_64-linux host OS, fpcupdeluxe doesn't detect or auto-update already installed cross-compiler for x86_64-win64. See patch below for a quick fix.

diff --git a/fpcupdeluxemainform.pas b/fpcupdeluxemainform.pas
index f492d04..4578083 100644
--- a/fpcupdeluxemainform.pas
+++ b/fpcupdeluxemainform.pas
@@ -437,10 +437,11 @@ begin
         if aRadiogroup_CPU='powerpc64' then aRadiogroup_CPU:='ppc64';
         if aRadiogroup_OS='iphonesim' then aRadiogroup_OS:='i-sim';
 
-        if aOS='windows' then
+        if (aOS='windows') or (aOS='win32') or (aOS='win64') then
         begin
           if aCPU='i386' then aOS:='win32';
           if aCPU='x86_64' then aOS:='win64';
+          aRadiogroup_OS := 'windows';
         end;
 
         {$ifdef win32}
@@ -1392,6 +1393,7 @@ begin
     s:=radgrpCPU.Items[radgrpCPU.ItemIndex];
     if s='ppc' then s:='powerpc';
     if s='ppc64' then s:='powerpc64';
+    if s = 'x8664' then s := 'x86_64';
     FPCupManager.CrossCPU_Target:=s;
   end;
   if radgrpOS.ItemIndex<>-1 then

use git-svn with existing trunk folder

Hi! Thanks for this tools, the GUI looks powerful.

is it possible to use an existing repository, checked out with "git svn clone https://svn.freepascal.org/svn/fpc/trun"?

This is what I did:

git svn clone https://svn.freepascal.org/svn/fpc/trunk ~/src/fpc
git clone https://github.com/newpascal/fpcupdeluxe ~/src/fpcupdeluxe
cd ~/src/fpcupdeluxe
fpcupdeluxe(master)$ lazbuild fpcupdeluxe.lpi
fpcupdeluxe(master)$ ./bin/fpcup-i386-linux --fpcdir=~/src/fpc --keeplocalchanges --svnexe='/usr/bin/git svn' --verbose

It seems that the arguments are ignored. When I set the path in the GUI and click on the button "FPC only" it tries to checkout the repository to ~/src/fpc/fpcsrc.

Cross-comp from Linux x64 to x32

new release 1.2o.

Cannot inst cross comp-

Going to install a cross-compiler from current sources.
FPCUP(deluxe) is starting up.

Bootstrap dir:      /home/user/fpcupdeluxe/fpcbootstrap
Please stand back and enjoy !

fpcupdeluxe: info: 27-4-17 12:33:54: fpcup020 (20170427) started.
fpcupdeluxe: info: SVN client found: /usr/bin/svn
fpcupdeluxe: info: TFPCInstaller: clean module FPC...
fpcupdeluxe: info: FPC: running make distclean (OS_TARGET=linux/CPU_TARGET=i386):
fpcupdeluxe: info: SVN client found: /usr/bin/svn
fpcupdeluxe: info: TFPCInstaller: building module FPC...
fpcupdeluxe: info: We have a FPC source (@ /home/user/fpcupdeluxe/fpcsrc) with version: 3.0.2
fpcupdeluxe: info: To compile this FPC, we need (required) a compiler with (lowest) version : 3.0.0
fpcupdeluxe: info: To compile this FPC, we will use the (already available) compiler with version : 3.0.0
fpcupdeluxe: info: Available bootstrapper has correct version !
fpcupdeluxe: ERROR: TAny_linux-i386: searched but did not find any binary utilities !!
fpcupdeluxe: ERROR: Failed to get crossbinutils
fpcupdeluxe: ERROR: TAny_linux-i386: searched but did not find any library !!
fpcupdeluxe: ERROR: Failed to get crosslibrary
fpcupdeluxe: info: FPC cleanup: could not cleanup /home/user/fpcupdeluxe/fpcsrc/utils/bin
fpcupdeluxe: info: FPC cleanup: could not cleanup /home/user/fpcupdeluxe/fpcsrc/utils/units/i386-linux
fpcupdeluxe: info: FPC cleanup: could not cleanup /home/user/fpcupdeluxe/fpcsrc/rtl/units/i386-linux
fpcupdeluxe: ERROR: Error running BuildModuleCustom for module FPC
fpcupdeluxe: info: FPC cleanup: could not cleanup /home/user/fpcupdeluxe/fpcsrc/utils/bin
fpcupdeluxe: info: FPC cleanup: could not cleanup /home/user/fpcupdeluxe/fpcsrc/utils/units/x86_64-linux
fpcupdeluxe: info: FPC cleanup: could not cleanup /home/user/fpcupdeluxe/fpcsrc/rtl/units/x86_64-linux
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence FPCBuildOnly; line: 2, param: FPC
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence Only; line: 2, param: FPCBuildOnly


ERROR: Fpcupdeluxe failed.
Going to download the right cross-bins. Can (will) take some time !
Please wait: Going to download the binary-tools from https://github.com/newpascal/fpcupdeluxe/releases/download/linuxx64crossbins_v1.0/CrossBinsLinuxi386.rar
fpcupdeluxe: info: Native downloader: Getting CrossBinsLinuxi386.rar from github.com/newpascal/fpcupdeluxe/releases/download/linuxx64crossbins_v1.0/
Successfully downloaded binary-tools archive.
Going to extract archive into /home/user/fpcupdeluxe/cross/bin/i386-linux/
Executing : unrar "x" "/tmp/TMP00000.tmp" "/home/user/fpcupdeluxe/cross/bin/i386-linux/" (working dir: )

UNRAR 5.30 beta 2 freeware      Copyright (c) 1993-2015 Alexander Roshal


Extracting from /tmp/TMP00000.tmp

Creating    /home/user/fpcupdeluxe/cross/bin/i386-linux               OK
Extracting  /home/user/fpcupdeluxe/cross/bin/i386-linux/i386-linux-as     ����  0%����  1%����  2%����  3%����  4%����  5%����  6%����  7%����  8%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/bin/i386-linux/i386-linux-c++filt     ����  9%���� 10%���� 11%���� 12%���� 13%���� 14%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/bin/i386-linux/i386-linux-elfedit     ���� 15%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/bin/i386-linux/i386-linux-gprof     ���� 15%���� 16%���� 17%���� 18%���� 19%���� 20%���� 21%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/bin/i386-linux/i386-linux-ld     ���� 22%���� 23%���� 24%���� 25%���� 26%���� 27%���� 28%���� 29%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/bin/i386-linux/i386-linux-ld.bfd     ���� 30%���� 31%���� 32%���� 33%���� 34%���� 35%���� 36%���� 37%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/bin/i386-linux/i386-linux-nm     ���� 37%���� 38%���� 39%���� 40%���� 41%���� 42%���� 43%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/bin/i386-linux/i386-linux-objcopy     ���� 44%���� 45%���� 46%���� 47%���� 48%���� 49%���� 50%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/bin/i386-linux/i386-linux-objdump     ���� 51%���� 52%���� 53%���� 54%���� 55%���� 56%���� 57%���� 58%���� 59%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/bin/i386-linux/i386-linux-ranlib     ���� 59%���� 60%���� 61%���� 62%���� 63%���� 64%���� 65%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/bin/i386-linux/i386-linux-readelf     ���� 66%���� 67%���� 68%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/bin/i386-linux/i386-linux-size     ���� 68%���� 69%���� 70%���� 71%���� 72%���� 73%���� 74%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/bin/i386-linux/i386-linux-strings     ���� 74%���� 75%���� 76%���� 77%���� 78%���� 79%���� 80%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/bin/i386-linux/i386-linux-strip     ���� 80%���� 81%���� 82%���� 83%���� 84%���� 85%���� 86%���� 87%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/bin/i386-linux/i386-linux-addr2line     ���� 88%���� 89%���� 90%���� 91%���� 92%���� 93%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/bin/i386-linux/i386-linux-ar     ���� 94%���� 95%���� 96%���� 97%���� 98%���� 99%�����  OK 
All OK
Going to download the right cross-libs. Can (will) take some time !
Please wait: Going to download the libraries from https://github.com/newpascal/fpcupdeluxe/releases/download/crosslibs_v1.0/CrossLibsLinuxi386.rar
fpcupdeluxe: info: Native downloader: Getting CrossLibsLinuxi386.rar from github.com/newpascal/fpcupdeluxe/releases/download/crosslibs_v1.0/
Successfully downloaded the libraries.
Going to extract them into /home/user/fpcupdeluxe/
Executing : unrar "x" "/tmp/TMP00000.tmp" "/home/user/fpcupdeluxe/" (working dir: )

UNRAR 5.30 beta 2 freeware      Copyright (c) 1993-2015 Alexander Roshal


Extracting from /tmp/TMP00000.tmp

Creating    /home/user/fpcupdeluxe/cross/lib/i386-linux               OK
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/crtbegin.o       ����  0%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/crtbeginS.o      ����  0%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/crtbeginT.o      ����  0%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/crtend.o         ����  0%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/crtendS.o        ����  0%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/crti.o           ����  0%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/crtn.o           ����  0%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/ld-2.23.so       ����  0%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/ld-linux.so.2     ����  0%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libatk-1.0.so     ����  0%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libatk-1.0.so.0     ����  1%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libc-2.23.so     ����  1%����  2%����  3%����  4%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libc.so          ����  4%����  5%����  6%����  7%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libc.so.6        ����  8%����  9%���� 10%���� 11%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libcairo.so      ���� 11%���� 12%���� 13%���� 14%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libcairo.so.2     ���� 14%���� 15%���� 16%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libcrypt.so.1     ���� 16%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libcrypto.so.1.0.0     ���� 16%���� 17%���� 18%���� 19%���� 20%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libc_nonshared.a     ���� 20%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libdatrie.so.1     ���� 20%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libdb-5.3.so     ���� 20%���� 21%���� 22%���� 23%���� 24%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libdbus-1.so.3     ���� 24%���� 25%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libdevmapper.so.1.02.1     ���� 25%���� 26%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libdl-2.23.so     ���� 26%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libdl.so         ���� 26%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libdl.so.2       ���� 26%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libdmx.so.1      ���� 26%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libexif.so.12     ���� 26%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libexpat.so.1     ���� 26%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libffi.so.6      ���� 26%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libFLAC.so.8     ���� 27%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libfontconfig.so.1     ���� 27%���� 28%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libfreetype.so.6     ���� 28%���� 29%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libgdk-x11-2.0.so     ���� 30%���� 31%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libgdk-x11-2.0.so.0     ���� 31%���� 32%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libgdk_pixbuf-2.0.so     ���� 32%���� 33%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libgdk_pixbuf-2.0.so.0     ���� 33%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libgdk_pixbuf_xlib-2.0.so     ���� 33%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libgdk_pixbuf_xlib-2.0.so.0     ���� 33%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libgio-2.0.so.0     ���� 33%���� 34%���� 35%���� 36%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libglade-2.0.so.0     ���� 36%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libglapi.so.0     ���� 36%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libglib-2.0.so     ���� 36%���� 37%���� 38%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libglib-2.0.so.0     ���� 38%���� 39%���� 40%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libgmodule-2.0.so     ���� 40%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libgmodule-2.0.so.0     ���� 40%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libgobject-2.0.so     ���� 40%���� 41%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libgobject-2.0.so.0     ���� 41%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libgraphite2.so.3     ���� 42%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libgthread-2.0.so     ���� 42%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libgthread-2.0.so.0     ���� 42%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libgtk-3.so.0     ���� 42%���� 43%���� 44%���� 45%���� 46%���� 47%���� 48%���� 49%���� 50%���� 51%���� 52%���� 53%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libgtk-x11-2.0.so     ���� 53%���� 54%���� 55%���� 56%���� 57%���� 58%���� 59%���� 60%���� 61%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libgtk-x11-2.0.so.0     ���� 61%���� 62%���� 63%���� 64%���� 65%���� 66%���� 67%���� 68%���� 69%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libharfbuzz.so.0     ���� 69%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libjpeg.so.8     ���� 70%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/liblzma.so.5     ���� 70%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libm.so          ���� 71%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libm.so.6        ���� 71%���� 72%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libncurses.so.5     ���� 72%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libpango-1.0.so     ���� 72%���� 73%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libpango-1.0.so.0     ���� 73%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libpangocairo-1.0.so.0     ���� 73%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libpangoft2-1.0.so.0     ���� 74%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libpangoxft-1.0.so.0     ���� 74%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libpcre.so.3     ���� 74%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libpixman-1.so.0     ���� 75%���� 76%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libpng12.so.0     ���� 76%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libpthread-2.23.so     ���� 76%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libpthread.so     ���� 77%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libpthread.so.0     ���� 77%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libpulse.so.0     ���� 77%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libraw.so.15     ���� 78%���� 79%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libreadline.so.5     ���� 79%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libresolv.so.2     ���� 79%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/librt-2.23.so     ���� 79%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/librt.so         ���� 79%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/librt.so.1       ���� 80%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libsasl2.so.2     ���� 80%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libSDL-1.2.so.0     ���� 80%���� 81%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libselinux.so.1     ���� 81%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libsensors.so.4     ���� 81%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libsqlite3.so     ���� 81%���� 82%���� 83%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libsqlite3.so.0     ���� 84%���� 85%���� 86%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libsqlite3.so.0.8.6     ���� 86%���� 87%���� 88%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libssl.so.1.0.0     ���� 88%���� 89%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libssl3.so       ���� 89%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libthai.so.0     ���� 89%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libtiff.so.5     ���� 90%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libudev.so       ���� 90%���� 91%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libudev.so.1     ���� 91%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libusb-0.1.so     ���� 91%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libusb-0.1.so.4     ���� 91%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libusb-1.0.so     ���� 91%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libusb-1.0.so.0     ���� 91%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libv4l1.so.0     ���� 91%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libv4l2.so.0     ���� 92%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libX11.so        ���� 92%���� 93%���� 94%���� 95%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libX11.so.6      ���� 95%���� 96%���� 97%���� 98%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libXau.so.6      ���� 98%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libxcb-render.so.0     ���� 98%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libxcb-shm.so.0     ���� 98%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libxcb.so.1      ���� 98%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libXcomposite.so.1     ���� 98%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libXcursor.so.1     ���� 98%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libXdamage.so.1     ���� 98%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libXdmcp.so.6     ���� 98%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libXext.so.6     ���� 99%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libXfixes.so.3     ���� 99%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libXi.so.6       ���� 99%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libXinerama.so.1     ���� 99%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libXrandr.so.2     ���� 99%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libXrender.so.1     ���� 99%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libz.so          ���� 99%�����  OK 
Extracting  /home/user/fpcupdeluxe/cross/lib/i386-linux/libz.so.1        ���� 99%�����  OK 
All OK
Successfully extracted cross-tools.
Got all tools now. New try building a cross-compiler for linux-i386
FPCUP(deluxe) is starting up.

Bootstrap dir:      /home/user/fpcupdeluxe/fpcbootstrap
Please stand back and enjoy !

fpcupdeluxe: info: 27-4-17 12:34:58: fpcup020 (20170427) started.
fpcupdeluxe: info: SVN client found: /usr/bin/svn
fpcupdeluxe: info: TFPCInstaller: clean module FPC...
fpcupdeluxe: info: FPC: running make distclean (OS_TARGET=linux/CPU_TARGET=i386):
fpcupdeluxe: info: SVN client found: /usr/bin/svn
fpcupdeluxe: info: TFPCInstaller: building module FPC...
fpcupdeluxe: info: We have a FPC source (@ /home/user/fpcupdeluxe/fpcsrc) with version: 3.0.2
fpcupdeluxe: info: To compile this FPC, we need (required) a compiler with (lowest) version : 3.0.0
fpcupdeluxe: info: To compile this FPC, we will use the (already available) compiler with version : 3.0.0
fpcupdeluxe: info: Available bootstrapper has correct version !
fpcupdeluxe: info: TAny_linux-i386: found binary utilities  in directory /home/user/fpcupdeluxe/cross/bin/i386-linux
fpcupdeluxe: info: TAny_linux-i386: found correct library  in directory /home/user/fpcupdeluxe/cross/lib/i386-linux
fpcupdeluxe: info: Running Make all (FPC crosscompiler: i386-linux) with CROSSOPT: -XPi386-linux- -Xd -Fl/home/user/fpcupdeluxe/cross/lib/i386-linux
fpcupdeluxe: ERROR: FPC: Running cross compiler fpc make all for i386-linux failed with an error code.
fpcupdeluxe: ERROR: Error running BuildModuleCustom for module FPC
fpcupdeluxe: info: FPC cleanup: could not cleanup /home/user/fpcupdeluxe/fpcsrc/utils/bin
fpcupdeluxe: info: FPC cleanup: could not cleanup /home/user/fpcupdeluxe/fpcsrc/utils/units/x86_64-linux
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence FPCBuildOnly; line: 2, param: FPC
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence Only; line: 2, param: FPCBuildOnly


ERROR: Fpcupdeluxe failed.

How to start lazarus?

At the end of installation, fpcupdeluxe said one must start lazarus using a specific link. Where is the link location??

Cannot configure cross-compiler options

There are many ways to nicely configure the compilation of base FPC, but there seems to be no way to change the compilation options used for cross-compiling. After some testing (and playing around with source code), I think that the cross-compilation options are just hardcoded in fpcupdeluxemainform.pas?

E.g. for Android/ARM the fpcupdeluxemainform.pas in TForm1.Button5Click sets (before my change in #10 ):

FPCupManager.FPCOPT:='-dFPC_ARMHF ';
FPCupManager.CrossOPT:='-CpARMV7A -CfVFPV3 -OoFASTMATH -CaEABIHF ';

I have not found a way to customize it. (Except editing the source code, of course:) I don't see an appropriate option in the GUI.

Although I have a settings.ini file, but the cross-compilations options inside seem to be ignored. E.g. it doesn't matter what do I put as crossopt inside the section [android].

Don't work on MacOS Sierra

When run, I get message: Unable to create file "/private/var/folders/2s/......./AppTranslocation/440..GUID.../d/fpcupdeluxe.ini

OK to ignore and risk ...

Building Darwin cross-compilers from Lubuntu 17.10 fails

Hi,
I encountered an error after switched my dev machine to a fresh os.
my error message is inside your collected data at
http://54.194.211.233:8880/root/getinfohtml?ShowErrors=yes

1.6.0b
x86_64-linux
Ubuntu 4.13.0-16-generic
gtk2
Iran
2017-10-22T21:44:28
Install cross
trunk
trunk
darwin-x86_64
{"Only":"FPCCleanOnly,FPCBuildOnly"}
Building compiler for darwin-x86_64. fpcupdeluxe: info: TAny_darwin-x86_64: found correct binary utilities in directory /home/vboxuser/devel/lazfpctrunkcross/cross/bin/x86-darwin fpcupdeluxe: info: TAny_darwin-x86_64: found correct library in directory /home/vboxuser/devel/lazfpctrunkcross/cross/lib/x86-darwin/MacOSX10.11.sdk/usr/lib system.pp(387) Error: Can't call the assembler, error 127 switching to external assembling Most likely, there is not enough RAM (swap) to finish this operation. Please add some swap-space (1GB) and re-run fpcupdeluxe. system.pp(387) Fatal: There were 2 errors compiling module, stopping system.pp(387) Error: Can't call the assembler, error 127 switching to external assembling Fatal: Compilation aborted system.pp(387) Fatal: There were 2 errors compiling module, stopping fpcupdeluxe: ERROR: FPCCrossInstaller (BuildModuleCustom: FPC): Running cross compiler fpc make all for x86_64-darwin failed with an error code. fpcupdeluxe: ERROR: Sequencer (FPCBuildOnly): Failure running fpcupdeluxe: error executing sequence FPCBuildOnly; instr: SMbuildmodule; line: 2, param: FPC fpcupdeluxe: ERROR: Sequencer (Only): Failure running fpcupdeluxe: error executing sequence Only; instr: SMdo; line: 2, param: FPCBuildOnly

building win32-i386 and linux-i386 cross-compilers went fine. but both darwini386 and darwinx86_64 fails with the same error message.
the Lubuntu installation is fresh. memory usage is 500MB of 2048MB at that point so it does not sounds like a swap-space issue?
I don't know what this link says is related to my problem or not: https://www.freepascal.org/faq.var#os2-as-failing

what should I do?

Ubuntu 17.04 - thread support ?

I successfully used fpcupdeluxe to install fpc 302 and lazarus 1.6.4.
But when i choose "bgrabitmap" and install module(s) from the application just closes.
I tried on the console and got:

./fpcupdeluxe-x86_64-linux 
This binary has no thread support compiled in.
Recompile the application with a thread-driver in the program uses clause before other units using thread.
WARNING: TButton.Destroy with LCLRefCount>0. Hint: Maybe the component is processing an event?
Runtime error 232 at $0000000000437B1D

This looks a bit like a missing cthreads unit or so ?

incorrect initial window pos

New notebook. small screen.
if compare screen height to fcpupdeluxe height, screen is bigger by 60 pix.
Win10 x64 home

initial window position is not ok: window overlaps bottom taskbar. by 10-20 pix. must be: above taskbar.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.