Pages

Wednesday, October 3, 2018

gcc for Windows 7

I have been looking for bcc and related tools for Windows 7. Three is something called minGw, but it is anything but min.  Downloading all the components takes at least an hour, and the installer is utterly incomprehensible.  I had hoped that cygwin would include gcc and gdb but no such luck. I can do what I want in the virtual Linux on my Windows PC, but it naturally runs a bit slower than native apps.  Something which is a downloadable executable would be nice.  (I am not really interested in compiling gcc, gdb, and related tools.)  This seems better.  It now looks like I should have been looking for cc, not gcc in cygwin.  Whatever cc is in cygwin, it is not an executable.  There is a gcc there, but no obvious debugger.  There is a reason Linus remains popular.

3 comments:

  1. If you want the Linux toolset under Windows, you might be better off getting Windows 10, and then getting Ubuntu for Windows. It'll pretty much let you run everything more or less as if you were in Linux; you can even get an X server and run X applications.

    ReplyDelete
  2. I haven't used the cygwin toolset for several years, but I think you need to research a little further. IIRC, all of the cygwin packages are compiled using the gnu compilers and tools in a cygwin environment.

    ReplyDelete
  3. I am a long time cygwin user. When you install cygwin, you can choose from a large number of optional packages, including gcc and gdb.

    Evidence:
    $ find /c/cygwin64/bin -name gdb.exe
    /c/cygwin64/bin/gdb.exe

    $ find /c/cygwin64/bin -name gcc.exe
    /c/cygwin64/bin/gcc.exe

    ReplyDelete