Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8975339
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T18:51:12+00:00 2026-06-15T18:51:12+00:00

On Windows 7, when trying to compile pygraphviz, I run python setup.py build -c

  • 0

On Windows 7, when trying to compile pygraphviz, I run

    python setup.py build -c mingw32

I get

C:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall “-IC:\Program Files (x86)\Graphv
iz 2.28\include\graphviz” -Ic:\Python27\include -Ic:\Python27\PC -c pygraphviz/g
raphviz_wrap.c -o build\temp.win-amd64-2.7\Release\pygraphviz\graphviz_wrap.o
cc1.exe: error: unrecognized command line option ‘-mno-cygwin’
error: command ‘gcc’ failed with exit status 1

Where is that ‘-mno-cygwin’ coming from? Greping through the pygraphviz-1.1 directory shows no occurences of “no-cygwin”.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T18:51:13+00:00Added an answer on June 15, 2026 at 6:51 pm

    See this answer: https://stackoverflow.com/a/6035864/1516291

    In short, you may need to modify distutils\cygwinccompiler.py in your python installation dir to remove traces of -mno-cygwin.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to compile SDL_Image 1.2.10 with MinGW + MSys (gcc 4.5.0) on Windows,
I'm trying to compile/run my program (which is working fine on Windows/MSVC) on Fedora/gcc.
I am trying to compile this .c code in windows using MinGW (gcc file.c
I'm trying to compile and run XROTOR on my Windows 7 laptop. I have
Using Qt Creator 2.4.1 (Windows/mingw), I'm trying to compile my project dynamically linking with
I am trying to compile libyaml under Windows 7 with MingW. I have tried
I am trying to compile Botan on Windows with MinGW, and am receiving the
Trying to compile hello world on windows 8, using Sublime Text 2, get the
I am trying to compile Qt (Windows 7, mingw32-g++ 32-bit under msys) and ld
I've making a shared library (cross-platform), but when trying to compile the Windows build

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.