From: "Rylan" Newsgroups: comp.os.msdos.djgpp Subject: Re: -O3 and -O2 breaks my NASM code Date: Sat, 19 Sep 1998 19:31:01 +0200 Organization: The South African Internet Exchange Lines: 27 Message-ID: <6u0q63$afj$1@news2.saix.net> References: <6ttip0$ng8$1 AT news2 DOT saix DOT net> Reply-To: "Rylan" NNTP-Posting-Host: pc25-03-p02.saix.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Elliott Oti wrote in message ... >On Fri, 18 Sep 1998, Rylan wrote: > >> Hi, >> >> I've ran into a situation where attempting to use -O3 and even -O2 with ANY >> Any ideas why, and how I can get NASM code to coexist with optimised DJGPP >> code? > >Do you save all registers before calling the NASM functions? Does it still >crash even if you pop all registers? Nope - George Foot already pointed this fact out in private mail. Must have been my mistake. Banghead stupid! Thanks for all the help - this should do it - I'll go give it a whirl. Fanx! Spawned By Rylan Is truth beauty or beauty truth?