X-Originating-Host: 202.137.2.145 Organization: http://www.remarq.com: The World's Usenet/Discussions Start Here Subject: Re: preprpcessor for overiding gcc optimation switch Lines: 18 From: batchex Newsgroups: comp.os.msdos.djgpp Message-ID: <25c58271.fc969396@usw-ex0104-033.remarq.com> References: <83zop3o170 DOT fsf AT mercury DOT bitbucket> Bytes: 656 X-Wren-Trace: eEBlTUxVElgTFFxNQQFTQgNzQE1XQQFdQF4BTUxAGVIfFE4QHVcbHAIQEBA= Date: Sun, 18 Jun 2000 13:09:49 -0700 NNTP-Posting-Host: 10.0.2.33 X-Complaints-To: wrenabuse AT remarq DOT com X-Trace: WReNphoon4 961359116 10.0.2.33 (Sun, 18 Jun 2000 13:11:56 PDT) NNTP-Posting-Date: Sun, 18 Jun 2000 13:11:56 PDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi, The reason I'm asking this cause in one of my project, one (only one) of the source file, when compiled with optimation, then try to debug a function contained in that file in gdb, it will give errorneous results. I forgot if gdb crashed while debugging it or not, but I remember peculiar flow of my program. It is solved if that particular source file is compiled without optimation. I have tried it with gcc 2.8.1 & 2.9.5, also with pgcc 2.90.23. Hmm, looks like I have to add a new rule in the makefile after all. Thanks guys. Got questions? Get answers over the phone at Keen.com. Up to 100 minutes free! http://www.keen.com