error with cygwin and gcc

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Anish Chapagain

    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

    #2
    Re: error with cygwin and gcc


    "Anish Chapagain" <anishchapagain @gmail.comwrote in message news:
    //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.


    Comment

    Working...