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
Threads - stringlist and ...
by
Warfley
[
Today
at 07:11:05 pm]
MemDataset validate not d...
by
eldonfsr
[
Today
at 07:02:49 pm]
New version of BGRABitmap
by
circular
[
Today
at 05:18:09 pm]
first generic attempt
by
Paolo
[
Today
at 04:59:25 pm]
Best way to delete an ins...
by
Handoko
[
Today
at 04:46:46 pm]
Bluetooth on Raspberry, d...
by
pascalbythree
[
Today
at 04:21:35 pm]
Are We Dead Yet?
by
Joanna
[
Today
at 04:09:25 pm]
Online Package Manager
by
GetMem
[
Today
at 03:54:17 pm]
Non-local goto example ne...
by
alpine
[
Today
at 01:56:19 pm]
Can't load because <x> de...
by
marcov
[
Today
at 01:23:43 pm]
Hole punching - Step by S...
by
nummer8
[
Today
at 12:04:20 pm]
Providing *.deb files for...
by
TRon
[
Today
at 11:49:40 am]
Insert variant array to e...
by
TRon
[
Today
at 11:36:03 am]
Load local HTML file into...
by
c4p
[
Today
at 10:27:28 am]
LAMW - simple esc/POS pri...
by
Mongkey
[
Today
at 02:46:21 am]
ZenGL +android + MacOS Co...
by
Seenkao
[
Today
at 02:34:38 am]
[SOLVED] Using high inste...
by
lagprogramming
[May 27, 2023, 07:50:48 pm]
LAMW - default manifest r...
by
jmpessoa
[May 27, 2023, 07:25:21 pm]
Improvements in rtl/objpa...
by
PascalDragon
[May 27, 2023, 06:35:26 pm]
Optimization of for loops...
by
lagprogramming
[May 27, 2023, 03:56:09 pm]
How to download a file fr...
by
maurobio
[May 27, 2023, 02:58:43 pm]
Solved- TSQLQuery.ExecSQL...
by
br4d
[May 27, 2023, 02:26:56 pm]
[Solved] Help with spellc...
by
Espectr0
[May 27, 2023, 12:04:11 pm]
[SOLVED] How to get recei...
by
cdbc
[May 27, 2023, 10:04:41 am]
Reading MAC address of Ac...
by
Jurassic Pork
[May 27, 2023, 07:56:41 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: installing 2.2.4 Mac M1 (Read 468 times)
Grahame Grieve
Sr. Member
Posts: 287
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: 287
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