View Single Post
  #24 (permalink)  
Old 07-21-2008, 12:54 PM
marwex89's Avatar   
marwex89 marwex89 is offline
Guru
 
Join Date: Jul 2008
Location: Viking-land!
Posts: 3,995
Credits: 0
Rep Power: 30
marwex89 is a jewel in the roughmarwex89 is a jewel in the roughmarwex89 is a jewel in the rough
Send a message via AIM to marwex89
Default Re: C++ system() not working!!?!? (Cygwin bash shell?)

Well, you mentioned it was a "port of the GNU compiler collection". What does that mean?

Not that I really need to know, probably, but whatever...

EDIT:
This is something I found after some googling (I didn't understand it before you guys explained to me what Cygwin actually was....):
"The "-mno-cygwin" flag to gcc makes gcc link against standard Microsoft DLLs instead of Cygwin.
This is desirable for native Windows programs that don't need a UNIX emulation layer."


It worked for me (adding -mno-cygwin (no space between) to the linker cmd line options), what do you think?

Here's a link -mno-cygwin -- Building Mingw executables using Cygwin
__________________

Last edited by marwex89; 07-21-2008 at 01:09 PM..
Reply With Quote