www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/31/09:24:04

Date: Mon, 31 May 1999 16:21:46 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Goodgulf <kahlrhoda AT worldspamnet DOT att DOT net>
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: <Pine.SUN.3.91.990531161637.6693C-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019