Google
 
Webnews.only-4-geeks.com
Interesting places
news.only-4-geeks.com Forum Index » C

error with cygwin and gcc

 
Jump to:  
 
Anish Chapagain
PostPosted: 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
PostPosted: 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
 

Page 1 of 1 .:.

Google
 
Webnews.only-4-geeks.com

Windows Update | C++ | C | PHP | JavaScript | Photoshop | Programming | Windows 2000 | Python | Windows XP | Object | Flash | Flash - ActionScript | Paint Shop Pro | Excel | PowerPoint | Access | Word | Windows 98 | Internet Explorer 6.0 | CorelDraw12 | Java | XML | asm x86 | Linux Mandrake | Linux RedHat | Outlook |  | news from newsgroups |_ | s

Web Templates

Awesome Website Templates ©

certyfikat energetyczny Akcesoria do łazienek spadki fotoksiazka hip hop