GDB installation steps on a Mac

Source: Internet
Author: User

To the GDB official website Download GDB installation package, after decompression, in the "terminal" into its directory: then execute the following command line:

1st:cflags= '-wno-string-plus-int-g-o2 './configure--disable-werror

2nd:make

3rd:sudo make Install

When the above command finishes, type the following command:

Gdb

The terminal is displayed as follows:

GNU gdb (GDB) 7.6.1

Copyright (C) Free Software Foundation, Inc.

License gplv3+: GNU GPL version 3 or later

This was free software:you was free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law. Type "Show copying"

and "Show warranty" for details.

This GDB is configured as "x86_64-apple-darwin13.0.0".

For bugs reporting instructions, please see:

(GDB)

Indicates that the compilation installation was successful.

GDB installation steps on a Mac

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.