Issue building gdb on Apple silicon

Shan Huang via Gdb <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <SJ0PR10MB443249BA2281F13435CC57A5CCCD9@SJ0PR10MB4432.namprd10.prod.outlook.com>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.