Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: mahaju on March 07, 2012, 02:36:39 am

Title: Difference between gcc and Mingw32-gcc
Post by: mahaju on March 07, 2012, 02:36:39 am
Hello
This is not exactly related to codeblocks but I'm sure people here will know about this or at least be able to point me towards where I can find more detailed information
What is the difference between gcc and mingw32-gcc
When I build programs from codeblocks I see that it uses mingw32-gcc instead of gcc, but it seems the command line options invoked by codeblocks are still same as gcc
and I have already read
Quote
What's the difference between gcc and mingw32-gcc?

    * The mingw32-gcc, mingw32-g++, etc. binaries exist as an aid to cross development. They are created in a typical build of gcc. They are therefore distributed as the maintainers of GCC meant them to be. The gcc.exe indicates that the binary produces binaries for a target equal to the build, while the mingw32-gcc binary produces binaries to be executed on the mingw32 target.
from http://www.mingw.org/wiki/FAQ (http://www.mingw.org/wiki/FAQ) and I don't understand what that means
Could you kindly explain it to me?
Thank you very much

Title: Re: Difference between gcc and Mingw32-gcc
Post by: ollydbg on March 07, 2012, 06:28:28 am
GCC originally comes from the Linux world, and mingw-gcc is a GCC porting to Windows, and running under Windows. That's ALL I can say. :)
Title: Re: Difference between gcc and Mingw32-gcc
Post by: MortenMacFly on March 07, 2012, 06:49:56 am
Quote
What's the difference between gcc and mingw32-gcc?
    * The mingw32-gcc, mingw32-g++, etc. binaries exist as an aid to cross development. They are created in a typical build of gcc. They are therefore distributed as the maintainers of GCC meant them to be. The gcc.exe indicates that the binary produces binaries for a target equal to the build, while the mingw32-gcc binary produces binaries to be executed on the mingw32 target.
from http://www.mingw.org/wiki/FAQ (http://www.mingw.org/wiki/FAQ) and I don't understand what that means
Why don't you ask at http://www.mingw.org/wiki/FAQ?

This is a Code::Forum. You agreed to this when registering with the forum:
3. Is your problem library, framework specific? There are appropriate forums for it, not the Code::Blocks forum.
Topic locked.