public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* #includes not being processed across network
@ 2000-12-13  5:57 M4um
  2000-12-13  7:19 ` Larry Hall (RFK Partners, Inc)
  0 siblings, 1 reply; 5+ messages in thread
From: M4um @ 2000-12-13  5:57 UTC (permalink / raw)
  To: cygwin

Dear Cygwin:

I am compiling C (not c++) programs with gcc under Cygwin/Win98.  The source 
code and headers (#includes) are partially on the Windows-box and partially 
on a UNIX box connected via a TCP/IP network.  The UNIX file/printer server 
is VisionFS, basically an upgrade to SCO's Advanced File and Print Server 
("AFPS"). 

The location of the source file seems to be irrelevant, but whenever a header 
file is #included that lives on the UNIX side, the cpp output (.i) shows 
that, while the filename is correctly mapped, the file itself is not being 
processed.  I proved this using compiler switches "-save-temps -H and -dD" 
and #error.

An example of the resulting .i line is: # 1 
"/cygdrive/h/usr/include/CXlinkspec.h" 1 3
followed immediately by:                  # 41 "/usr/include/CXisam.h" 2 3
even though the first line of CXlinkspec.h contained a #error message, which 
should have halted execution. 

I am able to access and edit any of these "remote" header files from Windows, 
and under bash using the same path names, so the network seems to be working 
and permissions are in order.

Any ideas?

John McDonald
m4um@aol.com

Cygcheck output is: 

Cygnus Win95/NT Configuration Diagnostics
Current System Time: Wed Dec 13 08:42:29 2000

Win9X Ver 4.10 build 67766222  

Path:   /cygdrive/c/WINDOWS
    /cygdrive/c/WINDOWS/COMMAND
    /BIN
    /CYGWIN/BIN
    /contrib/BIN
    /usr/bin

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

MAKEFLAGS = `--unix'

!C: = `C:\My Documents'
!D: = `D:\usr\disam'
BLASTER = `A220 I5 D1 T4'
CC = `xcc lib'
CLASSPATH = `C:\Program Files\PhotoDeluxe 2.0\AdobeConnectables'
CMDLINE = `D:\BIN\SH.EXE D:\USR\BIN\XMAKE "lib"'
COMSPEC = `C:\WINDOWS\COMMAND.COM'
CX_CC_TYPE = `win9x'
CX_DYN_EXT = `dll'
CX_DYN_PATH = `/usr/crc/libs_win9x'
CX_STAT_PATH = `/usr/lib'
MAKELEVEL = `1'
MFLAGS = `--unix'
PP = `../progs/'
PROMPT = `$p$g'
SHELL = `sh.exe'
TEMP = `C:\Windows\TEMP'
TERM = `cygwin'
TMP = `C:\Windows\TEMP'
TMPDIR = `D:\CYGWIN\TMP'
UNIXPATH = `/cygdrive/h'
VPATH = `/cygdrive/h/usr/disam'
WINBOOTDIR = `C:\WINDOWS'
WINDIR = `C:\WINDOWS'
XMAKE = `xmake'
TZ = `EST5EDT4,M4.1.0/2,M10.5.0/2'

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder

\Start Menu\&Programs\Cygnus Solutions
  (default) = (unsupported type)
HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x00000020
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/contrib
  (default) = `D:/Cygwin/contrib'
  flags = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
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
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\01
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\02
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\03
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\04
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\05
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\06
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\07
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\08
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\09
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0A
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0B
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0C
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0D
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0E
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0F
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\10
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\11
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\12
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\13
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\14
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\15
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\16
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\17
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\18
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\19
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1A
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1B
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1C
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1D
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/usr
  (default) = `D:/usr'
  flags = 0x00000008
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `D:/usr/bin'
  flags = 0x00000008
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `D:/'
  flags = 0x00000008
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\1.00.000
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\Program Options
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

a:  fd           N/A    N/A                    
c:  hd  FAT32   6850Mb  37% CP    UN           WINDOWS98
d:  hd  FAT32   6169Mb  37% CP    UN           CRC DRIVE
e:  cd           N/A    N/A                    
f:  fd           N/A    N/A                    
g:  cd  CDUDF    657Mb  22% CP    UN           INSTALLSHEI
h:  net VFSU    3869Mb  40% CP    UN           root

D:\Cygwin\contrib  /contrib  user    textmode
D:\usr\bin  /usr/bin  system  textmode
D:\usr  /usr     system  textmode
D:    /        system  textmode

Found: D:\CYGWIN\BIN\bash.exe
Found: D:\CYGWIN\BIN\cat.exe
Found: D:\BIN\cpp.exe
Found: \bin\cpp.exe
Warning: D:\BIN\cpp.exe hides \bin\cpp.exe
Found: c:\WINDOWS\COMMAND\find.exe
Found: D:\CYGWIN\BIN\find.exe
Warning: c:\WINDOWS\COMMAND\find.exe hides D:\CYGWIN\BIN\find.exe
Found: D:\CYGWIN\BIN\gcc.exe
Found: D:\CYGWIN\BIN\gdb.exe
Found: D:\CYGWIN\BIN\ld.exe
Found: D:\CYGWIN\BIN\ls.exe
Found: D:\CYGWIN\BIN\make.exe
Found: D:\BIN\sh.exe
Found: D:\CYGWIN\BIN\sh.exe
Warning: D:\BIN\sh.exe hides D:\CYGWIN\BIN\sh.exe
Found: \bin\sh.exe
Warning: D:\BIN\sh.exe hides \bin\sh.exe

  115k 1999/09/14 D:\CYGWIN\BIN\cygitcl30.dll - os=4.0 img=1.0 sys=4.0
                  "cygitcl30.dll" v0.0 ts=1999/9/13 22:46
   63k 1999/09/14 D:\CYGWIN\BIN\cygitk30.dll - os=4.0 img=1.0 sys=4.0
                  "cygitk30.dll" v0.0 ts=1999/9/13 22:47
  474k 1999/09/14 D:\CYGWIN\BIN\cygtcl80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtcl80.dll" v0.0 ts=1999/9/13 22:31
   19k 1999/09/14 D:\CYGWIN\BIN\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0
   24k 1999/09/14 D:\CYGWIN\BIN\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtclreg80.dll" v0.0 ts=1999/9/13 22:31
  768k 1999/09/14 D:\CYGWIN\BIN\cygtk80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtk80.dll" v0.0 ts=1999/9/13 22:36
  786k 1999/09/14 D:\CYGWIN\BIN\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=1999/9/13 23:44
Use -h to see help about each section

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

^ permalink raw reply	[flat|nested] 5+ messages in thread
[parent not found: <99.e1396ac.276c0ff7@aol.com>]
* Re: #includes not being processed across network
@ 2000-12-18  9:11 M4um
  2000-12-18  9:18 ` Larry Hall (RFK Partners, Inc)
  0 siblings, 1 reply; 5+ messages in thread
From: M4um @ 2000-12-18  9:11 UTC (permalink / raw)
  To: cygwin; +Cc: lhall

Dear Sir: 

In response to:

>>Found: D:\Cygwin\bin\sh.exe
>>Warning: d:\BIN\sh.exe hides D:\Cygwin\bin\sh.exe
>>Found: \bin\sh.exe
>>Warning: d:\BIN\sh.exe hides \bin\sh.exe

>Its not at all obvious that d:\bin\sh.exe is equivalent to 
>d:\Cygwin\bin\sh.exe.  Is it?  If so, for maintainability reasons,
>I'd recommend either using a mount or symbolic link or something to 
>get a sh.exe into /bin.

The two copies of sh.exe are identical.  You'll note my comment in the stream 
immediately after your comment which says: "(***NOTE: The two copies of 
sh.exe above are identical.)"

Until I get the compiler working across the net, I am avoiding the use of 
links just to make sure that they don't complicate the problem.

Thanks,
John McDonald

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2000-12-18  9:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-13  5:57 #includes not being processed across network M4um
2000-12-13  7:19 ` Larry Hall (RFK Partners, Inc)
     [not found] <99.e1396ac.276c0ff7@aol.com>
2000-12-16  9:58 ` Larry Hall (RFK Partners, Inc)
2000-12-18  9:11 M4um
2000-12-18  9:18 ` Larry Hall (RFK Partners, Inc)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).