|  | error with cygwin and gcc |  | |
| | | Anish Chapagain |  |
| Posted: Mon Aug 18, 2008 8:21 pm Post subject: error with cygwin and gcc |  |
//Info: resolving _optind by linking to __imp__optind (auto-import) //Info: resolving _optarg by linking to __imp__optarg (auto-import) //collect2: ld returned 1 exit status //error: command 'gcc' failed with exit status 1
this is installed with winXP , cygwin and came as running python module..i think need to do something with library files bu not sure using gcc compiler.
thank's |
| |
| | | Malcolm McLean |  |
| Posted: Mon Aug 18, 2008 8:21 pm Post subject: Re: error with cygwin and gcc |  |
"Anish Chapagain" <anishchapagain@gmail.com> wrote in message news:
| Quote: | //Info: resolving _optind by linking to __imp__optind (auto-import) //Info: resolving _optarg by linking to __imp__optarg (auto-import) //collect2: ld returned 1 exit status //error: command 'gcc' failed with exit status 1
this is installed with winXP , cygwin and came as running python module..i think need to do something with library files bu not sure using gcc compiler.
Probably you've got to tell gcc to link the correct library. Your Python |
documentation ought to tell you how to do this. Typically it is just -lLibraryName.
-- Free games and programming goodies. LINK |
| |
|
|