[Solved] Cannot build cross compiler from Linux x64 to FreeBSD i386 lazarus / 68-Other OS ---------------------------------------------------------------------- AlexTP · 2022-08-22 08:52 QuoteThe project uses target OS=freebsd and CPU=i386. 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. This is shown by IDE now, after I updraded FPC to 'fixes' (3.2.3) and did "Update all cross compilers" in fpcUpDeluxe. Log QuoteFpcupdeluxe: FPC cross-builder: Building compiler for freebsd-i386. fpcupdeluxe: WARNING: Skipping cross-compiler clean step: compiler seems to be up to date !! fpcupdeluxe: info: FPC i386-freebsd cross-builder: Detected source version FPC (source): 3.2.3 fpcupdeluxe: info: FPC i386-freebsd cross-builder: Using compiler with version: 3.2.3 fpcupdeluxe: WARNING: Skipping cross-compiler build step: compiler seems to be up to date !! fpcupdeluxe: Start of compile error summary. unxfunc.inc(54,15) Error: Wrong number of parameters specified for call to "FpPipe" fpcupdeluxe: Start of compile error summary. oscdeclh.inc(53,15) Error: Found declaration: FpPipe(var TFilDes):LongInt; CDecl; fpcupdeluxe: Start of compile error summary. unix.pp(1247) Fatal: There were 2 errors compiling module, stopping oscdeclh.inc(53,15) Error: Found declaration: FpPipe(var TFilDes):LongInt; CDecl; fpcupdeluxe: Start of compile error summary. Fatal: Compilation aborted unix.pp(1247) Fatal: There were 2 errors compiling module, stopping fpcupdeluxe: Start of compile error summary. fpcupdeluxe: ERROR: FPCCrossInstaller (BuildModuleCustom: FPC): Running cross compiler fpc /usr/bin/make for i386-freebsd failed with an error code. fpcupdeluxe: Done !! Failure during update of cross-compiler !! ---------------------------------------------------------------------- abouchez · 2022-08-22 10:07 I guess your issue request at https://github.com/LongDirtyAnimAlf/fpcupdeluxe/issues/532 is a better place to get a response than a new thread here. Also note that there is a fpcupdeluxe thread in this forum at https://forum.lazarus.freepascal.org/index.php/topic,27211.0.html ---------------------------------------------------------------------- marcov · 2022-08-22 10:43 If you use non standard options like -dFPC_USE_LIBC please annotate it with your error message. Current recommended way is to bootstrap 3.2.2 -> Fixes once with -dFPC_USE_LIBC and then once without, yielding a native syscall version again. ---------------------------------------------------------------------- marcov · 2022-08-22 11:24 Try again with f341baeaa783fff4b50cec8757e3b7a85837bfd7 from main applied. If it works, I'll merge it back to fixes. ---------------------------------------------------------------------- AlexTP · 2022-08-22 14:55 @marcov Yes, it works. Thanks for your constant support! ---------------------------------------------------------------------- marcov · 2022-08-22 15:46 Quote from: AlexTP on August 22, 2022, 04:55:50 pm@marcov Yes, it works. Thanks for your constant support! Thanks, merged.