This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Wrong / mount => unable to find cpp.exe


Hi.  I'm running cygwin-b20.1 on Windows 98.  I originally installed
cygwin on my c:\ drive under c:\cygnus.  I reformatted that drive and
reinstalled Windows 98.  I installed cygwin to d:\cygnus.  After this, I
tried running g++ only to get this error message:

g++: installation problem, cannot exec `cpp': No such file or directory

I ran mount to find that c:\ was mounted as the root (/) directory.  I
changed the default value of the HKEY_CURRENT_USER\Software\Cygnus
Solutions\CYGWIN.DLL setup\b15.0\mounts\01 key to point at the d: drive,
and it works just fine.

The FAQ, under Programming Questions-> Why is gcc failing? notes a
problem with the GCC_EXEC_PREFIX environment variable being set, but
nothing else.  I don't have GCC_EXEC_PREFIX set.

My apologies if this problem has been noted before.

-Matt LeMay (mlemay@earthlink.net)

Cygnus Win95/NT Configuration Diagnostics
Current System Time: Tue Aug 31 02:21:06 1999

Win9X Ver 4.10 build 67766222  

Path:	//C/PERL/BIN
	/usr/bin
	/PROGRA~1/VIM-5_3
	/PROGRA~1/WINZIP
	//C/WINDOWS
	//C/WINDOWS/COMMAND

SysDir: C:\WINDOWS\SYSTEM
WinDir: C:\WINDOWS


!C: = `C:\WINDOWS'
!D: = `D:\programming\tutorials\concentration'
TMP = `C:\WINDOWS\TEMP'
TEMP = `C:\WINDOWS\TEMP'
PROMPT = `$p$g'
WINBOOTDIR = `C:\WINDOWS'
COMSPEC = `C:\WINDOWS\COMMAND.COM'
WINDIR = `C:\WINDOWS'
BLASTER = `A220 I5 D1 T4'
CMDLINE = `cygcheck -s -v -r '
TERM = `cygwin'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00
  (default) = `d:\cygnus\cygwin~1\h-i586~1\bin'
  unix = `/usr/bin'
  fbinary = 0x00000000
  fsilent = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\01
  (default) = `D:'
  unix = `/'
  fbinary = 0x00000000
  fsilent = 0x00000000
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\Cygnus Cygwin B20
  (default) = `d:\WINDOWS\IsUninst.exe -fd:\cygnus\cygwin-b20\Uninst.isu'
  DisplayName = `Cygwin B20'
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\01
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\02
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\03
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\04
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\05
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\06
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\07
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\08
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\09
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0A
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0B
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0C
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0D
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0E
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0F
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\10
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\11
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\12
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\13
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\14
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\15
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\16
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\17
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\18
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\19
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1A
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1B
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1C
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1D
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin B20
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin B20\B20.1
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\GNUPro
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\GNUPro\i586-cygwin32
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\GNUPro\i586-cygwin32\i586-cygwin32
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\GNUPro\i586-cygwin32\i586-cygwin32\cygwin-B20.1
  (default) = `d:\cygnus\cygwin-b20'

a:\ fd           N/A    N/A                    
c:\ hd  FAT32   8008Mb  17% CP    UN           WINDOWSPAIN
d:\ hd  FAT32  16464Mb  24% CP    UN           TOOMUCHROOM
e:\ cd  UDF     4286Mb 100%       UN           UNDEFINED

D:                               /         native  text!=binary
d:\cygnus\cygwin~1\h-i586~1\bin  /usr/bin  native  text!=binary

Found: d:\cygnus\cygwin~1\h-i586~1\bin\bash.exe
Found: d:\cygnus\cygwin~1\h-i586~1\bin\cat.exe
Not Found: cpp (good!)
Found: d:\cygnus\cygwin~1\h-i586~1\bin\find.exe
Found: C:\WINDOWS\COMMAND\find.exe
Warning: d:\cygnus\cygwin~1\h-i586~1\bin\find.exe hides C:\WINDOWS\COMMAND\find.exe
Found: d:\cygnus\cygwin~1\h-i586~1\bin\gcc.exe
Found: d:\cygnus\cygwin~1\h-i586~1\bin\gdb.exe
Found: d:\cygnus\cygwin~1\h-i586~1\bin\ld.exe
Found: d:\cygnus\cygwin~1\h-i586~1\bin\ls.exe
Found: d:\cygnus\cygwin~1\h-i586~1\bin\make.exe
Found: d:\cygnus\cygwin~1\h-i586~1\bin\sh.exe

  371k 1998/12/01 d:\cygnus\cygwin~1\h-i586~1\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtcl80.dll" v0.0 ts=1998/12/1 1:25
    5k 1998/12/01 d:\cygnus\cygwin~1\h-i586~1\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0
   10k 1998/12/01 d:\cygnus\cygwin~1\h-i586~1\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtclreg80.dll" v0.0 ts=1998/12/1 1:25
  600k 1998/12/01 d:\cygnus\cygwin~1\h-i586~1\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtk80.dll" v0.0 ts=1998/12/1 1:28
  446k 1998/12/04 d:\cygnus\cygwin~1\h-i586~1\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=1998/12/3 21:39
Use -h to see help about each section

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]