012.Windows Cygwin environment to build

Windows Cygwin environment to build

1. Introduction

Cygwin is a UNIX-simulation environment running on the Windows platform, in some chip development scenario, developers do not use IDE (integrated development environment), do not use Linux, but using Cygwin environment under Windows to Makefile. This article describes under Cygwin to RH850-based chips use GHS compiler development environment to build.

2, download and install

Go to the official website https://www.cygwin.com/ downloaded online installation package, you can also search the Internet under the offline installation package, the paper's official website online installation package instructions, the following interface found in the official website home page,

wps67

Select your computer system suitable for 32-bit or 64-bit installation file, click on the download file small, double-click operation.

wps68

So the next step is to install because online choose Install from Internet.

wps69

Next default installation path selection may be modified.

wps70

wps71

wps72

The next step has been to select an available download site, choose a fast speed, do not know which one to choose quickly which pleasing to the eye.

wps73

Next appear the following interface, select Packages to use.

wps74

3, mounting Packages 5

We need to install five Packages, namely: gcc-core, make, diffutils, perl and binutils.

(1) Installation gcc-core

Search gcc-core, select the latest version, you can install all the way to the next step.

wps75

(2) make installation

Ibid, choose make under Devel.

wps76

wps77

(3) Installation diffutils

wps78

(4) mounted perl

wps79

(5) Installation binutils

wps80

Double-click to run after you install more than desktop shortcut you can use the Cygwin.

wps81

You can enter the command you want to use.

wps82

More welcome attention to the public number "Embedded big players" respond to any technical problems we study together to discuss

wps83

Guess you like

Origin www.cnblogs.com/andyzhao365/p/11373843.html