We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
From Linux I want to cross compile to iOS, aarch64. Install of the corss compiler works but compiling the code gives this error:
Hint: (11030) Start of reading config file /home/h/fpcupdeluxe/fpc/bin/x86_64-linux/fpc.cfg Hint: (11031) End of reading config file /home/h/fpcupdeluxe/fpc/bin/x86_64-linux/fpc.cfg Free Pascal Compiler version 3.3.1-16811-g8450d4f5e7 [2024/11/05] for aarch64 Copyright (c) 1993-2024 by Florian Klaempfl and others (1002) Target OS: iOS for AArch64 (3104) Compiling test.lpr (9001) Assembling (pipe) /home/h/test2/lib/aarch64-ios/test.s (9015) Linking /home/h/test2/libtest.dylib Error: (9016) Util aarch64-apple-ios14-strip not found, switching to external linking Fatal: (10026) There were 1 errors compiling module, stopping Fatal: (1018) Compilation aborted Error: /home/h/fpcupdeluxe/fpc/bin/x86_64-linux/ppcrossa64 returned an error exitcode
Any idea what goes wrong/is missing The code I try to cross compile is a dynamic library:
library test; {$mode objfpc} {$H+} uses // needed for UpperCase SysUtils; // library subroutine function cvtString(strIn : string) : PChar; cdecl; begin cvtString := PChar(UpperCase(strIn)); end; // exported subroutine(s) exports cvtString; end.
The text was updated successfully, but these errors were encountered:
Tried the same under Lubuntu24 and a fresh install. First it was complaning about a missing clang. Did install that. Then I get these errors:
Hint: (11030) Start of reading config file /home/h/fpcupdeluxe/fpc/bin/x86_64-liux/fpc.cfg Hint: (11031) End of reading config file /home/h/fpcupdeluxe/fpc/bin/x86_64-linux/fpc.cfg Free Pascal Compiler version 3.2.2-r0d122c49 [2025/02/14] for aarch64 Copyright (c) 1993-2021 by Florian Klaempfl and others (1002) Target OS: iOS for AArch64 (3104) Compiling test.lpr (9009) Assembling test Warning: (9011) Object sysinit.o not found, Linking may fail ! Warning: (9011) Object system.o not found, Linking may fail ! Warning: (9011) Object objpas.o not found, Linking may fail ! Warning: (9011) Object sysutils.o not found, Linking may fail ! Warning: (9011) Object unix.o not found, Linking may fail ! Warning: (9011) Object errors.o not found, Linking may fail ! Warning: (9011) Object sysconst.o not found, Linking may fail ! Warning: (9011) Object unixtype.o not found, Linking may fail ! Warning: (9011) Object baseunix.o not found, Linking may fail ! Warning: (9011) Object sysctl.o not found, Linking may fail ! Warning: (9011) Object unixutil.o not found, Linking may fail ! Warning: (9011) Object initc.o not found, Linking may fail ! Warning: (9011) Object ctypes.o not found, Linking may fail ! (9015) Linking /home/h/test2/libtest.dylib ld: file not found: sysinit.o Error: (9016) Util aarch64-apple-ios14-strip not found, switching to external linking Fatal: (10026) There were 1 errors compiling module, stopping Fatal: (1018) Compilation aborted Error: /home/h/fpcupdeluxe/fpc/bin/x86_64-linux/ppcrossa64 returned an error exitcode
Sorry, something went wrong.
No branches or pull requests
From Linux I want to cross compile to iOS, aarch64. Install of the corss compiler works but compiling the code gives this error:
Any idea what goes wrong/is missing
The code I try to cross compile is a dynamic library:
The text was updated successfully, but these errors were encountered: