gdb fails on mountain lion

前端 未结 4 939
不知归路
不知归路 2020-12-08 17:59

I tried to compile a 7.x Version of gdb without any luck. I codesigned the executable(http://sourceware.org/gdb/wiki/BuildingOnDarwin).

With following version there

4条回答
  •  旧时难觅i
    2020-12-08 18:46

    i installed gdb 7.5 on mountain lion without problems...

    1. those steps might help you: ./configure --prefix=/usr/local --enable-targets=x86_64-apple-darwin10 --enable-64-bit-bfd --disable-werror --build=x86_64-apple-darwin10 --host=x86_64-apple-darwin10 --target=x86_64-apple-darwin10

    2. then make install gdb.

    3. create your own certificate like discribed here and sign the gdb http://sourceware.org/gdb/wiki/BuildingOnDarwin

    4. you have to explicitly state: codesign -s gdb-cert /usr/local/gdb before you sign the gdb make sure you already set your certificate to trusted. also close the keychain before signing your gdb.

    hope this also works for your

提交回复
热议问题