Subject: RE: C compilation slow on NT
From: Earnie Boyd <[email-masked]>
To: [email-masked]
Cc: cygwin users <[email-masked]>
Date: Sun, 31 Oct 1999 11:20:54 -0800 (PST)

Hi Emmanuel,

You have several problems with your setup.  I've highlighted below.

--- Emmanuel STAPF <[email-masked]> wrote:
> > Please paste in a `cygcheck -s -v -r'.  You've a setup problem
> > that you need to resolve.
> 
> Below is the result of the command as typed on my machine.
> 
> Regards,
> Manu
> 
> 
> Cygnus Win95/NT Configuration Diagnostics
> Current System Time: Sun Oct 31 09:26:11 1999
> 
> WinNT Ver 4.0 build 1381 Service Pack 3
> 
> Path:	/WINNT/system32
> 	/WINNT
> 	/Program Files/Mts
> 	//D/tmp/jacques/BIN
> 	//d/apps/matisse/bin
> 	/APPS/InstallShield/InstallShield 5.5 Professional Edition/Program
> 	/PROGRA~1/Tcl/bin
> 	//D/APPS/MSVC/COMMON/TOOLS/WINNT
> 	//D/APPS/MSVC/COMMON/MSDEV98/BIN
> 	//D/APPS/MSVC/COMMON/TOOLS
> 	//D/APPS/MSVC/VC98/BIN
> 	/BIN
> 	//D/APPS/BORLAND/CBUILD~1/PROJECTS/BPL
> 	//D/APPS/BORLAND/CBUILD~1/BIN
> 	//D/APPS/VIM
> 	//D/APPS/GNU
> 	//d/apps/Cygnus/cygwin-B20/H-I586-CYGWIN32/BIN
> 	//D/APPS/MATISSE/BIN
> 

First of all the //d/apps/Cygnus/cygwin-B20/H-I586-CYGWIN32/BIN should be
listed first in the PATH.  Also, remove the directories that you don't plan to
use while in bash with cygwin.

Second, you have the root directory mounted on C: and the cygwin product on D:.
  This could have been because you installed on C: and then moved it to D:. 
The package will run this way but could be an unconfirmed cause for your slow
down.  If you wish to change this, change to the directory contain the mount
and umount binaries and then do sh -c './umount / && mount d:\\ /'.
 
Third, you should also `mount d:\\ /d' so that you don't end up looking for a
UNC path.

> SysDir: C:\WINNT\System32
> WinDir: C:\WINNT
> 
> GCC_EXEC_PREFIX = `d:\apps\Cygnus\cygwin-B20\H-i586-cygwin32\lib\gcc-lib\'

You shouldn't need the GCC_EXEC_PREFIX variable if you have things setup
correctly.

> TCL_LIBRARY = `d:\apps\Cygnus\cygwin-B20\share\tcl8.0\'
> 
-8<-
> 
> Found: d:\apps\Cygnus\cygwin-B20\H-I586-CYGWIN32\BIN\bash.exe
> Found: d:\apps\Cygnus\cygwin-B20\H-I586-CYGWIN32\BIN\cat.exe
> Found: d:\apps\Cygnus\cygwin-B20\H-I586-CYGWIN32\BIN\cpp.exe
> Found: d:\apps\Cygnus\cygwin-B20\H-I586-CYGWIN32\BIN\find.exe
> Found: d:\apps\Cygnus\cygwin-B20\H-I586-CYGWIN32\BIN\gcc.exe
> Found: d:\apps\Cygnus\cygwin-B20\H-I586-CYGWIN32\BIN\gdb.exe
> Found: d:\apps\Cygnus\cygwin-B20\H-I586-CYGWIN32\BIN\ld.exe
> Found: d:\apps\Cygnus\cygwin-B20\H-I586-CYGWIN32\BIN\ls.exe
> Found: D:\APPS\BORLAND\CBUILD~1\BIN\make.exe
> Found: d:\apps\Cygnus\cygwin-B20\H-I586-CYGWIN32\BIN\make.exe
> Warning: D:\APPS\BORLAND\CBUILD~1\BIN\make.exe hides
> d:\apps\Cygnus\cygwin-B20\H-I586-CYGWIN32\BIN\make.exe

So you wish to use Borland's make instead of the cygwin make?  This is due to
the PATH variable.

> Found: C:\BIN\sh.exe
> Found: d:\apps\Cygnus\cygwin-B20\H-I586-CYGWIN32\BIN\sh.exe
> Warning: C:\BIN\sh.exe hides
> d:\apps\Cygnus\cygwin-B20\H-I586-CYGWIN32\BIN\sh.exe
> 
>   371k 1998/12/01
> d:\apps\Cygnus\cygwin-B20\H-I586-CYGWIN32\BIN\cygtcl80.dll - os=4.0 img=1.0
> sys=4.0
>                   "cygtcl80.dll" v0.0 ts=1998/12/1 0:25
>     5k 1998/12/01
> d:\apps\Cygnus\cygwin-B20\H-I586-CYGWIN32\BIN\cygtclpip80.dll - os=4.0
> img=1.0 sys=4.0
>    10k 1998/12/01
> d:\apps\Cygnus\cygwin-B20\H-I586-CYGWIN32\BIN\cygtclreg80.dll - os=4.0
> img=1.0 sys=4.0
>                   "cygtclreg80.dll" v0.0 ts=1998/12/1 0:25
>   600k 1998/12/01
> d:\apps\Cygnus\cygwin-B20\H-I586-CYGWIN32\BIN\cygtk80.dll - os=4.0 img=1.0
> sys=4.0
>                   "cygtk80.dll" v0.0 ts=1998/12/1 0:28
>   446k 1998/12/04
> d:\apps\Cygnus\cygwin-B20\H-I586-CYGWIN32\BIN\cygwin1.dll - os=4.0 img=1.0
> sys=4.0
>                   "cygwin1.dll" v0.0 ts=1998/12/3 20:39
> Use -h to see help about each section

Please read the information on my pages.

=====
Earnie Boyd <mailto:[email-masked]>
Newbies, please visit
<http://www.freeyellow.com/members5/gw32/index.html>
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

--
Want to unsubscribe from this list?
Send a message to [email-masked]