looking for a faster compiler for compiling c++ code under a Cygwin into .exe used run under Windows
-
I have written c/c++ code under Cygwin shell of Unix, but the code is required to compiled into a .exe, which will be used under Windows operating system, I found the speed is a bout ten times slower run in Windows than run in Unix. someone say this is mainly due to compiler problem, anyone can suggest one good compiler can do this but with faster speed? thanks.
-
I have written c/c++ code under Cygwin shell of Unix, but the code is required to compiled into a .exe, which will be used under Windows operating system, I found the speed is a bout ten times slower run in Windows than run in Unix. someone say this is mainly due to compiler problem, anyone can suggest one good compiler can do this but with faster speed? thanks.
-
Cygwin is *not* an emulator. What Cygwin is is a library that gets linked in agaisnt a big UNIX<->Win32 interface.
---- Morgan Gangwere Lead programmer, Unknown Software "Pinky, are you thinking what im thinking?" "I Dunno brain, how many licks DOES it take to get to the tootsie roll center of a tootsie pop?" "You want me to calculate that? or should we take over the world?" "ooh! OooooOOOooH! lets find out!"
-
I have written c/c++ code under Cygwin shell of Unix, but the code is required to compiled into a .exe, which will be used under Windows operating system, I found the speed is a bout ten times slower run in Windows than run in Unix. someone say this is mainly due to compiler problem, anyone can suggest one good compiler can do this but with faster speed? thanks.
Try compiling either using -w0 or some of of the other G++ optimization fixes :)
---- Morgan Gangwere Lead programmer, Unknown Software "Pinky, are you thinking what im thinking?" "I Dunno brain, how many licks DOES it take to get to the tootsie roll center of a tootsie pop?" "You want me to calculate that? or should we take over the world?" "ooh! OooooOOOooH! lets find out!"