Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

MinGw Compiler

693 views

Published on

Presentation on MinGw Compiler.
This compiler's continuing goal of minimizing extra DLLs, winpthreads has been compiled statically.

It will be statically linked with every program you compile, mechanism used in libgcc and libstdc++ to allow EXEs and DLLs to share state for handling exceptions

MinGW supports dynamic libraries named according to the .lib and .dll conventions, as well as static libraries following the lib<name>.a naming convention common on Unix and Unix-like systems also.

Published in: Engineering
  • Be the first to comment

  • Be the first to like this

MinGw Compiler

  1. 1. MinGW Compiler Prepared by : Avnish Patel
  2. 2. What is MinGW Compiler? MinGW is Minimalist GNU for Windows. formerly mingw32, is a free and open source development environment for native Microsoft Windows applications It consists of command-line tools only . If you want a visual IDE (text editor, compiler interface , visual debugger), Code Blocks integrates with. It was developed by Colin Peters.
  3. 3. Basic Information Original Author --> Colin Peters Developer --> MinGW Project Initial release --> 1 July 1998 Latest version --> 4.8.2 Written in --> C, C++ Operating system --> Microsoft Windows License Public domain --> GNU General Public License Website --> mingw.org
  4. 4. Programming language support MinGW support C, C++ , Objective C, Objective-C++, Fortran ,Ada, java and pascal. It can create 32-bit OR 64-bit binaries, for any version of Windows since Windows 98.
  5. 5. How MinGW work ? MinGW links by default to the Windows OS component library MSVCRT, which is the c library . MSVCRT : Microsoft Visual C/C++ Runtime Library. It includes a port of the GCC, GNU binutils for Windows (assembler, linker, archive manager), a set of freely distributable Windows specific header files and import static libraries which enable the use of the Windows API, a Windows native build of the GNU debugger, and miscellaneous utilities.
  6. 6. (Continue) This compiler's continuing goal of minimizing extra DLLs, winpthreads has been compiled statically. It will be statically linked with every program you compile, mechanism used in libgcc and libstdc++ to allow EXEs and DLLs to share state for handling exceptions. MinGW supports dynamic libraries named according to the .lib and .dll conventions, as well as static libraries following the lib<name>.a naming convention common on Unix and Unix-like systems also.
  7. 7. How to install ?
  8. 8. How to execute ? Prg 1 - ddu.c file
  9. 9. Execution of ddu.c
  10. 10. Prg 2 - sum.c
  11. 11. Execution of sum.c
  12. 12. Advantages Compiler perform Link-Time Optimization. By default, it will continue to create executable and DLLs that use the static libraries and do not require you to redistribute further DLLs.
  13. 13. Disadvantages MinGW does not provide POSIX runtime environment for POSIX application development on Windows.
  14. 14. THANK YOU

×