www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/02/02:03:05

From: j DOT aldrich6 AT genie DOT com
Message-Id: <199604020636.AA169157002@relay1.geis.com>
Date: Tue, 2 Apr 96 06:07:00 UTC 0000
To: djgpp AT delorie DOT com
Mime-Version: 1.0
Subject: Re: Compilation Timing

Reply to message 0576145    from GMONTEM AT SFSU. on 04/01/96 11:19AM


>Does djgpp have a switch that will tell me how long it took to compile
>source code?  That way I can fiddle with my cache settings/RAM disk
>settings until I can find the 'best' optimial configuration for djgpp.

DJGPP comes with a program called 'redir' that allows you to redirect
stdin, stdout, and stderr as if you were working with Unix (it allows you
to overcome DOS's deficiency in that area).  If you use 'redir' with the
-t option, it displays the run time of whatever program you ran with it
when said program executes.  So, if you use 'gcc' to compile, just type

redir -t gcc ...

If you use make, type

redir -t make ...

and so on.

>thanks,
>-george

John

- Raw text -


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