Recent

Author Topic: MacOS, iPhone and iOS.  (Read 1489 times)

Seenkao

  • Hero Member
  • *****
  • Posts: 613
    • New ZenGL.
MacOS, iPhone and iOS.
« on: January 23, 2024, 03:11:49 pm »
У меня установлены кросскомпиляторы:
- x86_64-darwin
- aarch64-darwin
- aarch64-iOS
- arm-iOS

Если я хочу выставить MacOS вместо darwin, то получу ошибку:
Quote
The current FPC has no config file. It will probably miss some units. Check your installation of fpc.
и ошибку следующую:
Quote
The project uses target OS=macos and CPU=x86_64.
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.

Если я установлю значение darwin, то ни каких ошибок не будет.

При выставлении iOS+aarch64 я получаю ошибку:
Quote
Compiler "/Users/mirrel/fpcupdeluxe/fpc/bin/x86_64-darwin/fpc.sh" does not support target aarch64-ios

Если я выставлю iOS+arm ни каких ошибок не будет.

Я использую:
- MacOS Ventura x86_64
- Lazarus 2.2.6
- FPC 3.2.2
Устанавливалось всё с помощью FPCUPDeluxe.

Хотелось бы узнать причину проявляемых проблем!



--------------------------------------------------------
Google translate:

I have cross compilers installed:
- x86_64-darwin
- aarch64-darwin
- aarch64-iOS
- arm-iOS

If I want to set MacOS instead of darwin, I will get the error:
Quote
The current FPC has no config file. It will probably miss some units. Check your installation of fpc.
and the following error:
Quote
The project uses target OS=macos and CPU=x86_64.
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.

If I set the value to darwin, then there will be no errors.

When I set iOS+aarch64 I get the error:
Quote
Compiler "/Users/mirrel/fpcupdeluxe/fpc/bin/x86_64-darwin/fpc.sh" does not support target aarch64-ios

If I set iOS+arm there will be no errors.

I use:
- MacOS Ventura x86_64
- Lazarus 2.2.6
- FPC 3.2.2
Everything was installed using FPCUPDeluxe.

I would like to know the cause of these problems!
Rus: Стремлюсь к созданию минимальных и достаточно быстрых приложений.

Eng: I strive to create applications that are minimal and reasonably fast.
Working on ZenGL

TRon

  • Hero Member
  • *****
  • Posts: 3647
Re: MacOS, iPhone and iOS.
« Reply #1 on: January 23, 2024, 03:27:17 pm »
If I want to set MacOS instead of darwin, I will get the error:
MacOS as in m68k/ppc architecure ?

For other architectures (newer macosx) you need to select darwin, see also: https://wiki.freepascal.org/Target_Darwin
« Last Edit: January 23, 2024, 03:29:10 pm by TRon »
This tagline is powered by AI (AI advertisement: Free Pascal the only programming language that matters)

Seenkao

  • Hero Member
  • *****
  • Posts: 613
    • New ZenGL.
Re: MacOS, iPhone and iOS.
« Reply #2 on: January 23, 2024, 03:31:14 pm »
If I want to set MacOS instead of darwin, I will get the error:
MacOS as in m68k/ppc architecure ?
Понял. Но тогда это вводит в заблуждение пользователей!

Как насчёт iOS?


Google translate:
Understood. But then this misleads users!

What about iOS?
Rus: Стремлюсь к созданию минимальных и достаточно быстрых приложений.

Eng: I strive to create applications that are minimal and reasonably fast.
Working on ZenGL

TRon

  • Hero Member
  • *****
  • Posts: 3647
Re: MacOS, iPhone and iOS.
« Reply #3 on: January 23, 2024, 03:38:52 pm »
What about iOS?
see also: https://wiki.freepascal.org/Portal:iOS and https://wiki.freepascal.org/Category:iOS.

I admit it is a bit confusing and I do not know the details only that aarch64-ios and arm-ios targets exist (in addition to iphone specific targets).

This tagline is powered by AI (AI advertisement: Free Pascal the only programming language that matters)

Seenkao

  • Hero Member
  • *****
  • Posts: 613
    • New ZenGL.
Re: MacOS, iPhone and iOS.
« Reply #4 on: January 24, 2024, 05:55:46 am »
What about iOS?
see also: https://wiki.freepascal.org/Portal:iOS and https://wiki.freepascal.org/Category:iOS.

I admit it is a bit confusing and I do not know the details only that aarch64-ios and arm-ios targets exist (in addition to iphone specific targets).
Благодарю за информацию!
А кто может дать конкретный ответ на данный вопрос касающийся 64-х битных iOS?


Google translate:
Thank you for the information!
Who can give a specific answer to this question regarding 64-bit iOS?
Rus: Стремлюсь к созданию минимальных и достаточно быстрых приложений.

Eng: I strive to create applications that are minimal and reasonably fast.
Working on ZenGL

 

TinyPortal © 2005-2018