Forum > Linux
Build FCP with WinCE crosscompiler from source under Linux
dbannon:
Wow, thats a whole different story !
Milliuw, if you get that working, you are morally bound to document the process on the Wiki !
(Just think of what we'd loose if PascalDragon fell under that proverbial bus !)
Given what PD just said, I think I would -
[x] Install FPC and FPC-SRC from repo. Thats 3.2.2
[x] As root, run the commands he mentions.
As WinCE is so old, I doubt any new WinCE features in main ....
Davo
PascalDragon:
--- Quote from: dbannon on November 03, 2025, 11:47:40 pm ---[x] Install FPC and FPC-SRC from repo. Thats 3.2.2
[x] As root, run the commands he mentions.
--- End quote ---
Don't run the make all as root, only the make install (though even that isn't necessary if you install to a user writable location).
dbannon:
--- Quote from: PascalDragon on November 06, 2025, 08:40:13 pm ---
--- Quote from: dbannon on November 03, 2025, 11:47:40 pm ---[x] Install FPC and FPC-SRC from repo. Thats 3.2.2
[x] As root, run the commands he mentions.
--- End quote ---
Don't run the make all as root, only the make install (though even that isn't necessary if you install to a user writable location).
--- End quote ---
If he has installed from the repo, and is using FPC322, then the FPC source will be in read only space, therefore to make anything there requires root. Building as root is certainly undesirable, but as PascalDragon greatly simplified the process and we determined slackware had FPC322 in its repo it seems like its the better approach.
If I was doing it, I would certainly -
[x] Install FPC322 from the repo. That ends up in root space and brings required dependencies.
[x] Download and untar FPC main source from gitlab into user space.
[x] Use 322 to build and install main in user space, as per PD's instructions.
[x] Edit .bashrc to add path to new fpc ahead of existing path, eg
export PATH=$USER/bin/FPC/fpc-main/bin;$PATH
and if using lazarus, manually point it to use the new FPC too.
Davo
Navigation
[0] Message Index
[*] Previous page