X-Authentication-Warning: ieva01.lanet.lv: pavenis owned process doing -bs Date: Fri, 20 Aug 1999 21:47:46 +0300 (WET) From: Andris Pavenis To: Johan Venter cc: djgpp AT delorie DOT com Subject: Re: gcc-2.95 and binutils-2.9 In-Reply-To: <7L9v3.2513$ei1.5216@newsfeeds.bigpond.com> 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 Fri, 20 Aug 1999, Johan Venter wrote: > Eli Zaretskii wrote in message > news:Pine DOT SUN DOT 3 DOT 91 DOT 990818144146 DOT 10490I-100000 AT is... > > > > On Mon, 16 Aug 1999, Johan Venter wrote: > > > > > I don't want to have to take so long to compile a project while it's in > > > test stages. > > > > This is a mistake, IMHO. If you test the program compiled with a > > different set of optimization switches than the binary you will ship/use > > in production, your entire testing might be invalid, because you tested a > > different program. Optimizations can rearrange the code a great deal. > > > > Therefore, I suggest to use the same optimization level in testing as in > > production. Luckily, GDB and RHIDE can debug optimized programs, so you > > don't need to compromize. > > Well, Eli I don't normally develop like that. I like to develop with the > exact options I'm going to use to compile the release version, but I was > willing to compromise to cut down on compile time. I just learned from > Andris what was wrong. Collect2 has a bug which looks for ld in root > directories on dos drives if they're in the path! So, all I had to do was > get rid of c:\ in my path variable and it shaved 20 seconds off the compile > time! > Really small bug in collect2 (fixed in port of GCC-2.95.1 which is not uploaded yet) triggers annoying delay in Win95 or Win98 Here is how to prove it 1) start notepad (or something similar, but not DJGPP related) 2) try to open C:\/foo (I know the name is bad, but Windows likes to say it cannot create file only after about 5 seconds) Andris