This is the mail archive of the cygwin@cygwin.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]

Problems with path resolution


Ladies and Gentlemen,

I'm experiencing a very odd problem with path resolution on the latest
version of Cygwin, DLL: 1.3.2, installer 2.78.2.3

Basically, the problem is the following: when we run a compiler, -I options
which include cygwin paths aren't resolving, leading to include files being
missed and dying compiles. 

Attached are the mount tables and an example of the problem...

C:\cygwin\bin on /usr/bin type system (textmode)
C:\cygwin\lib on /usr/lib type system (textmode)
\\mn65-bay2\C on /Owen/c type user (textmode)
C:\cygwin on / type system (textmode)
c: on /c type user (binmode)

Compiling thus: 
cd
/c/Data/Boldstroke/OCP/OCP/Infrastructure/PlatformServices/ACE_Wrappers/ace
ccppc -fno-implicit-templates 
 
-B/c/Tornado/host/x86-win32/lib/gcc-lib/powerpc-wrs-vxworks/gcc-2.96/ 
          -DCPU=PPC604 -DVXWORKS -D_REENTRANT -ansi -fno-exceptions 
          -fno-builtin -fno-defer-pop -fvolatile -nostdlib  -W -Wall
-Wno-format
          -fno-rtti
          -DACE_LACKS_RTTI    
          -I/c/Tornado/target/h 
 
-I/c/Data/Boldstroke/OCP/OCP/Infrastructure/PlatformServices/ACE_Wrappers  
           -c  -o .obj/Basic_Types.o Basic_Types.cpp

Fails with missing headers which are present in the
/c/Data/Boldstroke/OCP/OCP/Infrastructure/PlatformServices/ACE_Wrappers
directory.

However, moving to the directory 
/c/Data/Boldstroke/OCP/OCP/Infrastructure/PlatformServices/ACE_Wrappers/ace
in bash and utilizing the following compile line results in a partial
success(until a file needs to be included from another Cygwin directory)

ccppc -fno-implicit-templates 
 
-B/c/Tornado/host/x86-win32/lib/gcc-lib/powerpc-wrs-vxworks/gcc-2.96/ 
          -DCPU=PPC604 -DVXWORKS -D_REENTRANT -ansi -fno-exceptions 
          -fno-builtin -fno-defer-pop -fvolatile -nostdlib  -W -Wall
-Wno-format
          -fno-rtti
          -DACE_LACKS_RTTI    
          -I/c/Tornado/target/h 
 
-I/c/Data/Boldstroke/OCP/OCP/Infrastructure/PlatformServices/ACE_Wrappers
          -I..  #  <----- Note relative path!  
          -c  -o .obj/Basic_Types.o Basic_Types.cpp

Any ideas why this would be happening? It seems to be a problem unique to
this machine --nobody else who uses Cygwin here has seen it before. 

ccppc is a standard GCC 2.96 cross-compiler provided as part of the
WindRiver toolkit for embedded systems.

Sincerely, 
Dan Churchill
Honeywell Labs

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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