Presentation is loading. Please wait.

Presentation is loading. Please wait.

AE6382 MinGW l The MinGW (Minimalist GNU for Windows) GNU compilers u C/C++ u Fortran 77 u Fortran 95 l Generate native Windows code l User Windows libraries.

Similar presentations


Presentation on theme: "AE6382 MinGW l The MinGW (Minimalist GNU for Windows) GNU compilers u C/C++ u Fortran 77 u Fortran 95 l Generate native Windows code l User Windows libraries."— Presentation transcript:

1 AE6382 MinGW l The MinGW (Minimalist GNU for Windows) GNU compilers u C/C++ u Fortran 77 u Fortran 95 l Generate native Windows code l User Windows libraries (dll’s) l Additional software is included in the MSYS collection u a Unix-like development l http://www.mingw.org/ http://www.mingw.org/

2 AE6382 MinGW l The following files can be downloaded from t-square l MSYS-1.0.10.exe u The files that form the Unix-like development environment u 4.5MB l MinGW-3.1.0-1.exe u The basic GNU compilers, (gcc, g++, g77) u 14.5MB l gfortran-windows.exe u The GNU Fortran 95 compiler u 12MB l g95-MinGW.exe u The g95 Fortran 95 compiler u 4.5MB

3 AE6382 Installation l Installation of the MinGW files is covered in the following slides l The only required component in order to use the compilers is the MinGW file The MSYS file provides additional support such as a make program and a vi text editor l The gfortran or g95 files are needed only if using Fortran 95 l The installation process u Install MSYS u Install MinGW u Install gfortran

4 AE6382 Installation - MSYS l Download the MSYS-1.0.10.exe to your desktop l Double-click the file to start installation

5 AE6382 Installation - MSYS

6 AE6382 Installation - MSYS

7 AE6382 Installation - MSYS

8 AE6382 Installation - MSYS

9 AE6382 Installation - MSYS

10 AE6382 Installation - MSYS

11 AE6382 Installation - MSYS

12 AE6382 Installation - MSYS

13 AE6382 Installation - MSYS

14 AE6382 Installation - MSYS

15 AE6382 Installation - MSYS

16 AE6382 Installation - MSYS

17 AE6382 Installation - MinGW l Download the MinGW-3.1.0-1.exe file to your desktop l Double-click the file to start installation

18 AE6382 Installation - MinGW

19 AE6382 Installation - MinGW

20 AE6382 Installation - MinGW

21 AE6382 Installation - MinGW

22 AE6382 Installation - MinGW

23 AE6382 Installation - MinGW

24 AE6382 Installation - gfortran l Download the gfortran-windows.exe file to your desktop l Double-click the file to start installation

25 AE6382 Installation - gfortran

26 AE6382 Installation - gfortran Note the change in the Destination Folder from the default value.

27 AE6382 Installation - Finishing l At this stage you will have the following directories on your system. u C:\MinGW u C:\msys u C:\gfortran l To start an MSYS see the next slide

28 AE6382 Installation - Finishing

29 AE6382 Installation - Finishing l This will result in a new window opening on your desktop that will place you in MSYS

30 AE6382 Installation - Finishing l To complete installation enter the following command in the MSYS window u cp /etc/fstab.sample /etc/fstab l This command copies the sample file to a new file.

31 AE6382 Using MSYS l Once installation is complete the MSYS environment is available for use l In the MSYS shell window you may enter MinGW/MSYS commands as well as Windows commands In the MSYS shell your default directory will be /home/username which translates to c:\msys\1.0\home\username From within the MSYS shell, your C:\ directory is /c/ and similarly, D:\ maps to /d/ Entering notepad at the prompt will start the windows notepad program. You can enter your program here. Be aware that notepad will append.txt to your file which you will have to correct. It is recommended that you use either vi or the Notepad Plus windows program.


Download ppt "AE6382 MinGW l The MinGW (Minimalist GNU for Windows) GNU compilers u C/C++ u Fortran 77 u Fortran 95 l Generate native Windows code l User Windows libraries."

Similar presentations


Ads by Google