This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: gcc: error: unrecognized command line option ‘-mcygwin’
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: - - <stadtpirat11 at ymail dot com>, cygwin at cygwin dot com
- Date: Thu, 20 Mar 2014 20:05:43 +0400
- Subject: Re: gcc: error: unrecognized command line option ‘-mcygwin’
- Authentication-results: sourceware.org; auth=none
- References: <1395315243 dot 91405 dot YahooMailNeo at web125302 dot mail dot ne1 dot yahoo dot com> <1395318683 dot 94189 dot YahooMailNeo at web125304 dot mail dot ne1 dot yahoo dot com> <1395325680 dot 88252 dot YahooMailNeo at web125303 dot mail dot ne1 dot yahoo dot com> <1395326496 dot 46224 dot YahooMailNeo at web125306 dot mail dot ne1 dot yahoo dot com>
- Reply-to: cygwin at cygwin dot com
Greetings, - -!
> I use PyCharm for Python programming and installing packages. PyCharm uses
> the pip command to install any package. I recently needed to install a
> package that needs to be build. I learned that I needed to install cygwin in
> that case.
Not only Cygwin, then, but also Python provided by Cygwin.
> Here is the deal:
> I try to install a package that needs to be build
> and end up with this error message (64 and 32 bit)
> ---
> D:\Programme\cygwin64\bin\gcc.exe -mcygwin -mdll -O -Wall -IC:\Users\...
> gcc: error: unrecognized command line option ‘-mcygwin’
That's a LONG time ago abandoned option. Years long.
> ---
> D:\Programme\cygwin\bin\gcc.exe -mcygwin -mdll -O -Wall -IC:\Users\...
> gcc: error: unrecognized command line option ‘-mcygwin’
> Please help, Google returns nothing regarding that error! I feel like I am
> the only person in the world with that error :(
That's quite possible. Because, see above.
If you have a Linux guide to compile the extension, try following that one.
--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 20.03.2014, <20:03>
Sorry for my terrible english...