It as been a long pending task to write instructions on various installations required for setting up programming environment. The motivation for us started when we manually had to configure laptops of our classmates for development environment during the start of our PG program at SIT, Tumkur. Although we enjoyed doing it, that proved to be time consuming.
So here we go to start with the procedure for installation of CYGWIN which can provide LINUX libraries on to windows.
Step-1: Download CYGWIN from here http://download.cnet.com/Cygwin/3000-2212_4-10026629.html
Step-2: Double click on setup exe within the Cygwin folder, click next on welcome screen .
Step-3: Choose “install from local directory” ( 3rd radio button) and click next on the “choose installation type” screen .
Step-4: Under the root directory type in C:\Cygwin & select all users under “install for”- click on next
Step-5: Under the local package directory select the path of the setup file (which normally will be taken in by default)-click next
Step-6: Under the packages screen click on “Default” beside “All” directory- this will change default to install- click next to install the package
Step-7: Right click on my computer and go to properties-Advanced-Environmental Variables, edit path under system variables and append- C:\Cygwin\bin at the end of the present path settings and save.
Step-8: Navigate to C:\Cygwin\bin and rename gcc-3.exe to gcc.exe and g++-3.exe to g++.exe.
Step-9: Download hello world program from here, open command prompt and execute following commands
gcc helloworld.c (gcc ) – for compilation
a.exe – for execution
-------------------------------------------HIT THE ROAD------------------------------------
No comments:
Post a Comment