Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Installation
»
macOS / Mac OS X
»
installing 2.2.4 Mac M1
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Variables as indexes of a...
by
dsiders
[
Today
at 03:37:52 am]
[Solved] Can a thumbnail ...
by
jamie
[
Today
at 02:47:30 am]
Random crashes on Mac Stu...
by
jamie
[
Today
at 02:18:19 am]
How to access and set pro...
by
KodeZwerg
[
Today
at 01:55:40 am]
OpenSSL 3.0 vs Indy's 1.0...
by
Remy Lebeau
[
Today
at 01:26:36 am]
CompareText improvement
by
BeniBela
[
Today
at 12:31:51 am]
Fullscreen event?
by
KodeZwerg
[
Today
at 12:17:27 am]
fpc 3.3.1 or lazarus 2.3 ...
by
Martin_fr
[March 30, 2023, 11:29:01 pm]
Make build crashes
by
Jonas Maebe
[March 30, 2023, 09:19:49 pm]
Synapse TCP/IP client and...
by
GetMem
[March 30, 2023, 09:16:46 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: installing 2.2.4 Mac M1 (Read 410 times)
Grahame Grieve
Sr. Member
Posts: 257
installing 2.2.4 Mac M1
«
on:
October 25, 2022, 06:28:06 am »
I followed the instructions to install Lazarus 2.2.4 on my Mac m1:
https://wiki.freepascal.org/Installing_Lazarus_on_macOS
They worked sweet, but my programs won't run under the debugger. Perhaps that's because it installs all x86_64, so I go to the instructions here as guided:
https://wiki.freepascal.org/macOS_Big_Sur_changes_for_developers#ARM64.2FAArch64.2FApple_Silicon_Support
the instructions say that to Compile a native AArch64 compiler from the FPC trunk source
make distclean
But it doesn't say where you go to run this. I run it and get
make: *** No rule to make target `distclean'. Stop.
So it seems as if I need to be in a particular folder, but I don't know what that folder is?
I figure that the answer to my is really simple, but I don't know what the answer is.
«
Last Edit: October 25, 2022, 06:33:48 am by Grahame Grieve
»
Logged
Grahame Grieve
Sr. Member
Posts: 257
Re: installing 2.2.4 Mac M1
«
Reply #1 on:
October 31, 2022, 12:25:01 pm »
I still never figured that out, but this works perfectly for me:
Code: Bash
[Select]
[+]
[-]
git clone
-b
fixes_2_2 https:
//
gitlab.com
/
freepascal.org
/
lazarus
/
lazarus.git laz_fixes
cd
laz_fixes
make
distclean all
LCL_PLATFORM
=cocoa
CPU_TARGET
=aarch64 bigide
open startlazarus.app
--args
"--pcp=~/.laz_fixes"
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Installation
»
macOS / Mac OS X
»
installing 2.2.4 Mac M1
TinyPortal
© 2005-2018