From: "Thomas Harte" Newsgroups: comp.os.msdos.djgpp Subject: Allegro & optimisations Date: 26 Apr 1997 23:27:23 GMT Organization: SoftySoft Lines: 24 Message-ID: <01bc51df$2cdbf220$943863c3@default> NNTP-Posting-Host: host5-99-56-148.btinternet.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Are there any known optimisations with which Allegro does not work? I am using 2.2, and I installed the latest wip, but when I went to make it, it stopped with some error before doing anything, so I don't think that's applicable. Anyway, the code compiles and runs fine with the command line : gcc -o %1.exe %1.c -lalleg . . . but the command line: gcc -O3 -m486 -ffast-math -fomit-frame-pointer -funroll-loops -fstrength-reduce -fforce-addr -o %1.exe %1.c -lalleg for example compiles a version of the .exe which just doesn't work correctly. I am planning on trying each of the command line switches one by one to see which is/are the offender(s), but I was just wondering if anyone knows of any I should specifically not use, just before I start. As for source code that displays this problem, my lines source code (on my web page, see some other posting named 'source code', or indeed underneath my name if you only want the URL) is one which seems to display this fault. -Thomas http://www.softysoft.home.ml.org