5
 Procedure to install cygwin in Windows 7.doc Page 1 of 5  Procedure to install cygwin in Wind ows 7 1. Double click to run Setup. 2. Choose “Install from Local Directory”, and click “Next”.  3. Set the “Root Directory” to “C: \cygwin”. Then click “Next”.  

Procedure to Install Cygwin in Windows 7

Embed Size (px)

DESCRIPTION

Step by step :Procedure to install cygwin in Windows 7

Citation preview

Page 1: Procedure to Install Cygwin in Windows 7

7/21/2019 Procedure to Install Cygwin in Windows 7

http://slidepdf.com/reader/full/procedure-to-install-cygwin-in-windows-7 1/5

 

Procedure to install cygwin in Windows 7.doc Page 1 of 5 

Procedure to install cygwin in Windows 7

1. 

Double click to run Setup.

2.  Choose “Install from Local Directory”, and click “Next”. 

3.  Set the “Root Directory” to “C:\cygwin”. Then click “Next”. 

Page 2: Procedure to Install Cygwin in Windows 7

7/21/2019 Procedure to Install Cygwin in Windows 7

http://slidepdf.com/reader/full/procedure-to-install-cygwin-in-windows-7 2/5

 

Procedure to install cygwin in Windows 7.doc Page 2 of 5 

4.  Set the “Local Package Directory” to your setup folder  (cygwin_installation). Then click “Next”. 

5. 

Click on the “All-Default” to toggle it to “All-install” to install all package. Then click “ Next”.

Page 3: Procedure to Install Cygwin in Windows 7

7/21/2019 Procedure to Install Cygwin in Windows 7

http://slidepdf.com/reader/full/procedure-to-install-cygwin-in-windows-7 3/5

 

Procedure to install cygwin in Windows 7.doc Page 3 of 5 

6.  Click “ Next” as the below screen.

7. 

Wait until the installation process finished.

Page 4: Procedure to Install Cygwin in Windows 7

7/21/2019 Procedure to Install Cygwin in Windows 7

http://slidepdf.com/reader/full/procedure-to-install-cygwin-in-windows-7 4/5

 

Procedure to install cygwin in Windows 7.doc Page 4 of 5 

8.  Select to place the cygwin to Desktop and StartMenu.

9. 

Click the Cygwin icon to open a BASH shell.

10. To get toolchains.tar.bz2, download gcc_sdk_part1.zip and gcc_sdk_part2.zip from our FTP

server: ftp://210.3.29.84\sdk\creon\ 

Username: wwuser

Password: productwell

In binary folder, there is a file called toolchains.tar.bz2, put toolchains.tar.bz2 under C:\. 

Page 5: Procedure to Install Cygwin in Windows 7

7/21/2019 Procedure to Install Cygwin in Windows 7

http://slidepdf.com/reader/full/procedure-to-install-cygwin-in-windows-7 5/5

 

Procedure to install cygwin in Windows 7.doc Page 5 of 5 

11. In BASH shell, type the following to change the location and unpack the toolchain (the

toolchain will place to the /opt directory). Some codes will run inside the BASH shell.

$ cd / 

$ tar –xjvf /cygdrive/c/toolchain.tar.bz2

12. Open the file .bashrc using WORDPAD (located at C:\cygwin\home\<your username>). Type

the following at the end of the file. (If there is no .bashrc file in your home directory, jump to

Step 13 to get the files) You may also refer to the following screen shot (for .bashrc) with RED

 bracket.

PATH=$PATH:/opt/gcc_arm/bin:/opt/spectra_util

export PATH 

13. 

Close the BASH shell and open it again. Then you can compile your application throughCygwin.

14. 

[For those who cannot find .bashrc in C:\cygwin\home\<your username>]

Go to C:\cygwin\etc\skel, copy the following files to your home directory

C:\cygwin\home\<your username>

.bash_profile

.bashrc

.inputrc

15. You can then go to your application folder by typing following command: (e.g. the application

folder is located at C:\Project\CREON\TestApp\EDCVM)

cd /cygdrive/c/Project/CREON/TestApp/EDCVM

16. 

In the current folder with makefile, type the following command for compile:

make clean  - clean tms file that compile in previous time

make gcc  - compile the application

make load  - load the tms file, you have to fill in COM port number, agentID and key

 before you type this command