Skip to content
New issue

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

Cross compiling from Win64 for Darwin aarch64/x86_86 (v2.4.0b) ld: file not found: Foundation #655

Closed
jonyrh opened this issue Dec 25, 2023 · 3 comments
Labels

Comments

@jonyrh
Copy link

jonyrh commented Dec 25, 2023

Hello!

Cant compile empty project (cocoa) on Win64 (v.2.4.0b) for Darwin aarch64/x86_86 + new online cross bin and libs.
Installing previous versions cross bins and libs - not work to.

Compile Project, OS: darwin, CPU: aarch64, Target: C:\fpcupdeluxe_2.4.0b_3.0.0_3.2.2\projects\project1: Success, Hints: 2
Hint: Start of reading config file C:\fpcupdeluxe_2.4.0b_3.0.0_3.2.2\fpc\bin\x86_64-win64\fpc.cfg
Hint: End of reading config file C:\fpcupdeluxe_2.4.0b_3.0.0_3.2.2\fpc\bin\x86_64-win64\fpc.cfg
Verbose: Free Pascal Compiler version 3.2.2-runknown [2023/12/25] for aarch64
Verbose: Copyright (c) 1993-2021 by Florian Klaempfl and others
Verbose: Target OS: Darwin for AArch64
Verbose: Compiling C:\fpcupdeluxe_2.4.0b_3.0.0_3.2.2\projects\project1.lpr
Verbose: Compiling unit1.pas
Verbose: Assembling unit1
Verbose: Assembling project1
Verbose: Compiling resource C:\fpcupdeluxe_2.4.0b_3.0.0_3.2.2\projects\lib\aarch64-darwin\project1.or
Verbose: Linking C:\fpcupdeluxe_2.4.0b_3.0.0_3.2.2\projects\project1
     error ----->>>>  Debug: ld: file not found: Foundation
Verbose: 52 lines compiled, 0.8 sec
Verbose: 2 hint(s) issued
@LongDirtyAnimAlf
Copy link
Owner

Confirmed. Will solve.

@LongDirtyAnimAlf
Copy link
Owner

Please test.
https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/tag/v2.4.0cp

@jonyrh
Copy link
Author

jonyrh commented Dec 25, 2023

@LongDirtyAnimAlf
Thx! All is Good, aarch64 and x86_64 excelent compiling!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants