Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <0132D06F0EF0D311A3E6009027BA1EA90F123883@brnyc-exch02.brnycdom.blkint.com> From: "Deno, Emerson" To: "'cygwin AT cygwin DOT com'" Subject: safe to compile gcc-2.95.2 for cygwin with -O3? Date: Fri, 21 Sep 2001 10:35:03 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" hi i am working on a cross compiler from solaris to cygwin. everything worked great and i got my entire project to compile over (including X stuff with xfree86). to speed the speed of the compiler and my programs, i used CFLAGS='-O3' LIBCFLAGS='-g -O3' LIBCXXFLAGS='-g -O3 -fno-implicit-flags' with the make command. nearly all my programs work fine but some give a strange errors when assigning a string to another string. i could give more details but i'd rather just now if the -O3 flag is tested with the gcc 2.95.2 libc and libcstdc++. if it isn't i'd just recompile with -O2 or -O. thanks a lot and keep up the great work, emerson deno -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/