delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2007/06/05/09:30:33

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
NNTP-Posting-Date: Tue, 05 Jun 2007 08:18:30 -0500
From: "Alexei A. Frounze" <alexfru AT chat DOT ru>
Newsgroups: comp.os.msdos.djgpp
References: <c0f385290706050414k43c3cf2cj9c195711d265c816 AT mail DOT gmail DOT com>
Subject: Re: Suddenly really slow start up for djgpp gcc
Date: Tue, 5 Jun 2007 06:17:06 -0700
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
Message-ID: <0J6dnRrMmr87__jbnZ2dnUVZ_sSmnZ2d@comcast.com>
Lines: 240
NNTP-Posting-Host: 67.170.72.236
X-Trace: sv3-fIM1BMBfwkKUbsNcI3Dn9gB5SxG53WJDJY4NBP5NEu8gL6mQF8aY2/HvNFJsCyUwZvQ7RvhcAzwoM4m!eK+fuYq0OEQEB30YRAqOMidyiQ3IcnLMz+VPCO0tsb0Lt65OrZCeJyQJWIbdKKbudhkDTlFDcnjy!9MK1/ZEk/TNFGlZdw2yCq4eRdZzMZQ==
X-Complaints-To: abuse AT comcast DOT net
X-DMCA-Complaints-To: dmca AT comcast DOT net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.34
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

This is a multi-part message in MIME format.

------=_NextPart_000_07A4_01C7A739.24D71B80
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

How much RAM is there?
Are there any utilities like antivirus running at that moment and =
checking files?

Can you reproduce this with the task manager open and applications =
sorted by the CPU time? Can you find from there what application =
consumes most of the CPU time while gcc is trying to start up?

Alex
  "A T" <bvs DOT spam AT gmail DOT com> wrote in message =
news:c0f385290706050414k43c3cf2cj9c195711d265c816 AT mail DOT gmail DOT com...
  hi,

  Im using the djgpp gcc for preprocessing c files before I load them to =
my parser. This usually works great but suddenly it takes along time =
before=20
  something happens after I issue the command.=20
  If I run gcc -E -P file.c from the cmd.exe it takes at least 40 =
seconds before the output from gcc prints to the screen. Last week this =
was instantaneous.
  It only happens for the first file I try to run. Same thing when I try =
to run go32-v2.exe. First time really snow, after that instantaneous.
  Any ideas of what is wrong?

  go32 gives me this output:
  go32/v2 version 2.0 built Dec 24 2001 21:25:02
  Usage: go32 coff-image [args]
  Rename this to go32.exe only if you need a go32 that can run v2 =
binaries as
   well as v1 binaries (old makefiles).  Put ahead of the old go32 in =
your PATH
   but do not delete your old go32 - leave it in the PATH after this =
one.
  Set GO32_V2_DEBUG=3Dy in the environment to get verbose output.

  DPMI memory available: 112219 Kb
  DPMI swap space available: 0 Kb


  and this is my environment settings:

  ALLUSERSPROFILE=3DC:\Documents and Settings\All Users
  APPDATA=3DC:\Documents and Settings\23054161\Application Data
  Classpath=3DC:\home\exjobb\project\externaltools;.
  =
CLEARCASE_GROUPS=3DCORPUSERS\SG-SELD-SEM-CME-G;CORPUSERS\SG-SELD-SEM-CME-=
INT-G
  CME2_JRE=3DC:\PROGRA~1\SONYER~1\CME\JRE15~1.0_0
  CME2_ROOT=3DC:\Program Files\Sony Ericsson\CME
  CommonProgramFiles=3DC:\Program Files\Common Files
  COMPUTERNAME=3DSELDW2541
  ComSpec=3Dc:\cygwin\cygwin.bat
  DEFLOGDIR=3DC:\Documents and Settings\All Users\Application =
Data\McAfee\DesktopProtection
  DJGPP=3Dc:\djgpp\djgpp.env
  FP_NO_HOST_CHECK=3DNO
  HOMEDRIVE=3DC:
  HOMEPATH=3D\Documents and Settings\23054161
  HOMESHARE=3D\\Seldfil04\User27$
  JAVA_HOME=3DC:\Program Files\Java\jdk1.6.0_01
  LOGONSERVER=3D\\SELDDCC02
  NUMBER_OF_PROCESSORS=3D1
  OS=3DWindows_NT
  =
Path=3DC:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program=
 Files\Rational\ClearCase\bin;C:\Program =
Files\Rational\common;C:\PROGRA~1\SONYER~1\sde\bin;C:\PROGRA~1\SONYER~1\s=
de\extra;C:\Program Files\Ant\apache-ant-1.7.0\bin;C:\Program =
Files\Java\jdk1.6.0_01\bin;c:\djgpp\bin;
  PATHEXT=3D.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
  PROCESSOR_ARCHITECTURE=3Dx86
  PROCESSOR_IDENTIFIER=3Dx86 Family 15 Model 2 Stepping 9, GenuineIntel
  PROCESSOR_LEVEL=3D15
  PROCESSOR_REVISION=3D0209
  ProgramFiles=3DC:\Program Files
  PROMPT=3D$P$G
  SESSIONNAME=3DConsole
  SystemDrive=3DC:
  SystemRoot=3DC:\WINDOWS
  TEMP=3DC:\DOCUME~1\23054161\LOCALS~1\Temp
  TMP=3DC:\DOCUME~1\23054161\LOCALS~1\Temp
  USERDNSDOMAIN=3D CORPUSERS.NET
  USERDOMAIN=3DCORPUSERS
  USERNAME=3D23054161
  USERPROFILE=3DC:\Documents and Settings\23054161
  VSEDEFLOGDIR=3DC:\Documents and Settings\All Users\Application =
Data\McAfee\DesktopProtection
  windir=3DC:\WINDOWS


  / Alexander Thurban
------=_NextPart_000_07A4_01C7A739.24D71B80
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.6000.16441" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>How much RAM is there?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Are there any utilities like antivirus =
running at=20
that moment and checking files?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Can you reproduce this with the task =
manager open=20
and applications sorted by the CPU time? Can you find from there what=20
application consumes most of the CPU time while gcc is trying to start=20
up?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Alex</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV>"A T" &lt;<A =
href=3D"mailto:bvs DOT spam AT gmail DOT com">bvs DOT spam AT gmail DOT com</A>&gt;=20
  wrote in message <A=20
  =
href=3D"news:c0f385290706050414k43c3cf2cj9c195711d265c816 AT mail DOT gmail DOT com"=
>news:c0f385290706050414k43c3cf2cj9c195711d265c816 AT mail DOT gmail DOT com</A>...<=
/DIV>
  <DIV><SPAN class=3D069475410-05062007><FONT face=3DArial=20
  size=3D2>hi,</FONT></SPAN></DIV>
  <DIV><SPAN class=3D069475410-05062007></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D069475410-05062007><FONT face=3DArial size=3D2>Im =
using the djgpp=20
  gcc for preprocessing c files before I load them to my parser. This =
usually=20
  works great but suddenly it takes along time before =
</FONT></SPAN></DIV>
  <DIV><SPAN class=3D069475410-05062007><FONT face=3DArial =
size=3D2>something happens=20
  after I issue the command. </FONT></SPAN></DIV>
  <DIV><SPAN class=3D069475410-05062007><FONT face=3DArial size=3D2>If I =
run gcc -E -P=20
  file.c from the cmd.exe it takes at least 40 seconds before the output =
from=20
  gcc prints to the screen. Last week this was=20
instantaneous.</FONT></SPAN></DIV>
  <DIV><SPAN class=3D069475410-05062007><FONT face=3DArial size=3D2>It =
only happens=20
  for the first file I try to run. Same thing when I try to run =
go32-v2.exe.=20
  First time really snow, after that instantaneous.</FONT></SPAN></DIV>
  <DIV><SPAN class=3D069475410-05062007><FONT face=3DArial size=3D2>Any =
ideas of what=20
  is wrong?</FONT></SPAN></DIV>
  <DIV><SPAN class=3D069475410-05062007></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D069475410-05062007><FONT face=3DArial size=3D2>go32 =
gives me this=20
  output:</FONT></SPAN></DIV>
  <DIV><SPAN class=3D069475410-05062007><FONT face=3DArial =
size=3D2>go32/v2 version=20
  2.0 built Dec 24 2001 21:25:02<BR>Usage: go32 coff-image =
[args]<BR>Rename this=20
  to go32.exe only if you need a go32 that can run v2 binaries =
as<BR>&nbsp;well=20
  as v1 binaries (old makefiles).&nbsp; Put ahead of the old go32 in =
your=20
  PATH<BR>&nbsp;but do not delete your old go32 - leave it in the PATH =
after=20
  this one.<BR>Set GO32_V2_DEBUG=3Dy in the environment to get verbose=20
  output.</FONT></SPAN></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><SPAN class=3D069475410-05062007><FONT face=3DArial size=3D2>DPMI =
memory=20
  available: 112219 Kb<BR>DPMI swap space available: 0=20
Kb<BR></FONT></SPAN></DIV>
  <DIV><SPAN class=3D069475410-05062007></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D069475410-05062007><FONT face=3DArial size=3D2>and =
this is my=20
  environment settings:<BR></FONT></SPAN></DIV>
  <DIV><SPAN class=3D069475410-05062007><FONT face=3DArial=20
  size=3D2>ALLUSERSPROFILE=3DC:\Documents and Settings\All=20
  Users<BR>APPDATA=3DC:\Documents and Settings\23054161\Application=20
  =
Data<BR>Classpath=3DC:\home\exjobb\project\externaltools;.<BR>CLEARCASE_G=
ROUPS=3DCORPUSERS\SG-SELD-SEM-CME-G;CORPUSERS\SG-SELD-SEM-CME-INT-G<BR>CM=
E2_JRE=3DC:\PROGRA~1\SONYER~1\CME\JRE15~1.0_0<BR>CME2_ROOT=3DC:\Program=20
  Files\Sony Ericsson\CME<BR>CommonProgramFiles=3DC:\Program =
Files\Common=20
  =
Files<BR>COMPUTERNAME=3DSELDW2541<BR>ComSpec=3Dc:\cygwin\cygwin.bat<BR>DE=
FLOGDIR=3DC:\Documents=20
  and Settings\All Users\Application=20
  =
Data\McAfee\DesktopProtection<BR>DJGPP=3Dc:\djgpp\djgpp.env<BR>FP_NO_HOST=
_CHECK=3DNO<BR>HOMEDRIVE=3DC:<BR>HOMEPATH=3D\Documents=20
  and =
Settings\23054161<BR>HOMESHARE=3D\\Seldfil04\User27$<BR>JAVA_HOME=3DC:\Pr=
ogram=20
  =
Files\Java\jdk1.6.0_01<BR>LOGONSERVER=3D\\SELDDCC02<BR>NUMBER_OF_PROCESSO=
RS=3D1<BR>OS=3DWindows_NT<BR>Path=3DC:\WINDOWS\system32;C:\WINDOWS;C:\WIN=
DOWS\System32\Wbem;C:\Program=20
  Files\Rational\ClearCase\bin;C:\Program=20
  =
Files\Rational\common;C:\PROGRA~1\SONYER~1\sde\bin;C:\PROGRA~1\SONYER~1\s=
de\extra;C:\Program=20
  Files\Ant\apache-ant-1.7.0\bin;C:\Program=20
  =
Files\Java\jdk1.6.0_01\bin;c:\djgpp\bin;<BR>PATHEXT=3D.COM;.EXE;.BAT;.CMD=
;.VBS;.VBE;.JS;.JSE;.WSF;.WSH<BR>PROCESSOR_ARCHITECTURE=3Dx86<BR>PROCESSO=
R_IDENTIFIER=3Dx86=20
  Family 15 Model 2 Stepping 9,=20
  =
GenuineIntel<BR>PROCESSOR_LEVEL=3D15<BR>PROCESSOR_REVISION=3D0209<BR>Prog=
ramFiles=3DC:\Program=20
  =
Files<BR>PROMPT=3D$P$G<BR>SESSIONNAME=3DConsole<BR>SystemDrive=3DC:<BR>Sy=
stemRoot=3DC:\WINDOWS<BR>TEMP=3DC:\DOCUME~1\23054161\LOCALS~1\Temp<BR>TMP=
=3DC:\DOCUME~1\23054161\LOCALS~1\Temp<BR>USERDNSDOMAIN=3D<A=20
  href=3D"http://CORPUSERS.NET">=20
  =
CORPUSERS.NET</A><BR>USERDOMAIN=3DCORPUSERS<BR>USERNAME=3D23054161<BR>USE=
RPROFILE=3DC:\Documents=20
  and Settings\23054161<BR>VSEDEFLOGDIR=3DC:\Documents and Settings\All=20
  Users\Application=20
  =
Data\McAfee\DesktopProtection<BR>windir=3DC:\WINDOWS<BR></FONT></SPAN></D=
IV>
  <DIV><SPAN class=3D069475410-05062007></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D069475410-05062007><FONT face=3DArial size=3D2>/ =
Alexander=20
  Thurban</FONT></SPAN></DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_07A4_01C7A739.24D71B80--

- Raw text -


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