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" Newsgroups: comp.os.msdos.djgpp References: Subject: Re: Suddenly really slow start up for djgpp gcc Date: Tue, 5 Jun 2007 06:17:06 -0700 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_07A4_01C7A739.24D71B80" 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" 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
How much RAM is there?
Are there any utilities like antivirus = running at=20 that moment and checking files?
 
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?
 
Alex
"A T" <bvs DOT spam AT gmail DOT com>=20 wrote in message news:c0f385290706050414k43c3cf2cj9c195711d265c816 AT mail DOT gmail DOT com...<= /DIV>
hi,
 
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 =
something happens=20 after I issue the command.
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.
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.
Any = ideas of what=20 is wrong?
 
go32 = gives me this=20 output:
go32/v2 version=20 2.0 built Dec 24 2001 21:25:02
Usage: go32 coff-image = [args]
Rename this=20 to go32.exe only if you need a go32 that can run v2 binaries = as
 well=20 as v1 binaries (old makefiles).  Put ahead of the old go32 in = your=20 PATH
 but do not delete your old go32 - leave it in the PATH = after=20 this one.
Set GO32_V2_DEBUG=3Dy in the environment to get verbose=20 output.
 
DPMI = memory=20 available: 112219 Kb
DPMI swap space available: 0=20 Kb
 
and = this is my=20 environment settings:
ALLUSERSPROFILE=3DC:\Documents and Settings\All=20 Users
APPDATA=3DC:\Documents and Settings\23054161\Application=20 = Data
Classpath=3DC:\home\exjobb\project\externaltools;.
CLEARCASE_G= ROUPS=3DCORPUSERS\SG-SELD-SEM-CME-G;CORPUSERS\SG-SELD-SEM-CME-INT-G
CM= E2_JRE=3DC:\PROGRA~1\SONYER~1\CME\JRE15~1.0_0
CME2_ROOT=3DC:\Program=20 Files\Sony Ericsson\CME
CommonProgramFiles=3DC:\Program = Files\Common=20 = Files
COMPUTERNAME=3DSELDW2541
ComSpec=3Dc:\cygwin\cygwin.bat
DE= FLOGDIR=3DC:\Documents=20 and Settings\All Users\Application=20 = Data\McAfee\DesktopProtection
DJGPP=3Dc:\djgpp\djgpp.env
FP_NO_HOST= _CHECK=3DNO
HOMEDRIVE=3DC:
HOMEPATH=3D\Documents=20 and = Settings\23054161
HOMESHARE=3D\\Seldfil04\User27$
JAVA_HOME=3DC:\Pr= ogram=20 = Files\Java\jdk1.6.0_01
LOGONSERVER=3D\\SELDDCC02
NUMBER_OF_PROCESSO= RS=3D1
OS=3DWindows_NT
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;
PATHEXT=3D.COM;.EXE;.BAT;.CMD= ;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=3Dx86
PROCESSO= R_IDENTIFIER=3Dx86=20 Family 15 Model 2 Stepping 9,=20 = GenuineIntel
PROCESSOR_LEVEL=3D15
PROCESSOR_REVISION=3D0209
Prog= ramFiles=3DC:\Program=20 = Files
PROMPT=3D$P$G
SESSIONNAME=3DConsole
SystemDrive=3DC:
Sy= stemRoot=3DC:\WINDOWS
TEMP=3DC:\DOCUME~1\23054161\LOCALS~1\Temp
TMP= =3DC:\DOCUME~1\23054161\LOCALS~1\Temp
USERDNSDOMAIN=3D=20 = CORPUSERS.NET
USERDOMAIN=3DCORPUSERS
USERNAME=3D23054161
USE= RPROFILE=3DC:\Documents=20 and Settings\23054161
VSEDEFLOGDIR=3DC:\Documents and Settings\All=20 Users\Application=20 = Data\McAfee\DesktopProtection
windir=3DC:\WINDOWS
 
/ = Alexander=20 Thurban
------=_NextPart_000_07A4_01C7A739.24D71B80--