Message-Id: <199602221542.KAA21721@delorie.com> From: Emmanuel Bigler Subject: problems using -O optimizing level with djgpp v2 To: djgpp AT delorie DOT com Date: Thu, 22 Feb 1996 16:46:17 +0100 (MET) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1491 This is a short note about bugs compiling with -O in DJGPP version 2 This came from a discussion with W.D. Kirby wdkirby AT ix16 DOT ix DOT netcom DOT com about compiling GNUPLOT with DJGPP V 2. I tried to re-compile HP2XX, a HPGL-to-other format translator and much smaller than gnuplot, using djgpp v2. Previously I had succeeded in compiling HP2XX with djgpp v1.12 without trouble. Under djgpp v2 the program does not work if compiled with -O. With no optimization, the executable works but hangs sometimes (not able to input multiple files and view them successively on screen). However I know things have changed in the GRX driver... and I did not update the code for all Grx varibles and routines. But even with postcript paper output, the program hangs when multiple input files have to be converted. An annoying thing is that the CNTRL-BREAK key cannot kill the program, unlike with the previous 1.12 compiler. What feature did I miss in the compilation options etc..., if I want to be able to stop the program with control-C or control-break like in the previous release of DJGPP ? -- Emmanuel BIGLER courrier electronique bigler AT alpha DOT univ-fcomte DOT fr e-mail telephone E.B. +33 81 66 69 54 E.B. phone secretariat LPMO +33 81 66 69 99 LPMO secretary telecopie +33 81 66 69 98 fax Laboratoire de Physique et Metrologie des Oscillateurs LPMO/CNRS, 32, avenue de l'observatoire 25044 Besancon Cedex, FRANCE