From: Shan Huang <shuang53@stevens.edu>
To: "gdb@sourceware.org" <gdb@sourceware.org>
Subject: Issue building gdb on Apple silicon
Date: Sat, 14 May 2022 20:31:24 +0000 [thread overview]
Message-ID: <SJ0PR10MB443249BA2281F13435CC57A5CCCD9@SJ0PR10MB4432.namprd10.prod.outlook.com> (raw)
Hello,
I have encoutered the issue with building gdb on an Apple m1 machine. Currently these (ar nm objcopy objdump ranlib readelf strip) have been built by using ./configure --target=arm64-apple-darwin21.4.0 However, inside gdb subfolder I found there is no gdb executable being created. I tried to using the ./configure inside gdb subfolder, I have encoutered with the gmp missing, after I install it and supplied with --with-libgmp-prefix= PATH/TO/GMP, another error shows "../gnulib/Makefile.gnulib.inc: No such file or directory". I have checked https://sourceware.org/pipermail/gdb-patches/2020-October/172571.html However seems it's not the same. I wonder is there a way I could install gdb on M1 at the moment? Thanks very much.
Best,
Shan
next reply other threads:[~2022-05-14 20:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-14 20:31 Shan Huang [this message]
2022-05-23 10:38 ` Luis Machado
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=SJ0PR10MB443249BA2281F13435CC57A5CCCD9@SJ0PR10MB4432.namprd10.prod.outlook.com \
--to=shuang53@stevens.edu \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).