Date: Mon, 31 May 1999 16:21:46 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Goodgulf cc: djgpp AT delorie DOT com Subject: Re: Sorta new to C, but really new to RHIDE. A question please?? In-Reply-To: <7it18o$df7$1@bgtnsc01.worldnet.att.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sun, 30 May 1999, Goodgulf wrote: > 1. Compiling so I can debug with viewing code and assembly at once. (I > think I need an object file and have to link it. Can > someone help me here?? Compile and link your program with the -g switch, and then both GDB and RHIDE will be able to show the source and assembly. I don't know what do you mean by ``at once'', but if that means in the same display, then FSDB (part of djdev202.zip) can do that; not sure about RHIDE. > 2. What compiler options should I use for Pentium + systems?? I found a > menu in RHIDE that had optimizations -- so I clicked them all. The -O2 option is the best general-purpose optimization switch. Others require elaborate procedure of finding the best combination for the given program; see section 14.2 of the DJGPP FAQ list for more about this. > 3. I could probably put more questions here, but I have not thought of > them yet :) If you have any tips though, they would be greatly > appreciated. Try the FAQ before asking here, many questions are already annswered there.