Before you beginDepending on how you obtained the CDT, you might have also receiveda toolchain with a built-in CDT integration.However, if you downloaded the CDT from the Eclipse web site, then you will require a toolchain beforeyou can build and debug any projects.The standard CDT supports integration with the GNU toolchain.This includes GNU's make, gcc compiler, and gdb debugger utilities.If you require a toolchain to build software for your development host, thisis the best choice to get started.Each platform that runs the CDT requires different steps to acquire this toolchain. WindowsFor windows, MinGW and Cygwin are the two main platform choices for acquiring the GNU toolchain.It is important to understand the difference between them.Cygwin produces executables that use the Cygwin POSIX runtime. Note that this runtime is GPL licensed.MinGW produces native Windows executables that do not require a separate runtime.For MinGW, it is recommended to use the MinGW installer, mingw-get, to manage yourMinGW installation. Download and run the lateset mingw-get-inst package from theThe CDT MinGW toolchain will find this install if it is located in the default C:MinGW directory, the MinGW bindirectory is placed in your path, or if the MinGW location is stored in the MINGWHOME environment variable.Note that the Wascana IDE has been discontinued.Cygwin can be installed from the Cygwin site at.
![]() ![]()
You need to manually selectthe gcc, gdb, and make packages to install the toolchain.The Windows SDK provides the Visual C compiler and header files and libraries requiredto create Windows applications. The CDT Visual C build integration will find these files based on where you installedthe SDK. No other setup is required.Note: For this release, the integration should be considered beta quality. It is not recommended forproduction use.LinuxAll Linux distributions include the GNU toolchain. They may not, however, be installed by default.For instructions about installing the GNU toolchain for Linux, see the instructions for your particular distribution. Mac OS XThe CDT supports the Apple GNU toolchain that is included in with the Xcode IDE. It can be downloadedfrom the Apple's developer site,Other PlatformsThe GNU toolchain is supported on all platforms that the CDT supports.
MinGW: A native Windows port of the GNU Compiler Collection (GCC), with freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All of MinGW's software will execute on the 64bit Windows platforms.
For instructions about installing the GNU toolchainon your platform, see your platform vendor.
![]() Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
February 2023
Categories |