This is the mail archive of the cygwin 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]
Other format: [Raw text]

gcc header file help should be a minor problem


I'm trying to get the CSharp Swig Callback example to work with Cygwin.  
I'm just stuck on an include header problem.  

This works fine : 
gcc -c -fpic example.c example_wrap.c

But I want to include files in a different directory, so just to test, I
moved example_wrap.c to c:\ , i tested
gcc -c -fpic -I/cygdrive/c/ example.c example_wrap.c  //failed (couldn't
find example_wrap.c)
gcc -c -fpic -Ic:\ example.c example_wrap.c     // that failed (couldn't
find example_wrap.c)
gcc -c -fpic -I\c:\ example.c example_wrap.c     // that failed (couldn't
find example_wrap.c)

and a bunch of other combinations, double slashes, etc...  
ultimately i want to include the following: /cygdrive/c/Program\
Files/Microsoft\ Visual\ Studio\ 8/VC/include/ 

thanks
patrick

-- 
View this message in context: http://www.nabble.com/gcc-header-file-help-should-be-a-minor-problem-tf4490680.html#a12807222
Sent from the Cygwin Users mailing list archive at Nabble.com.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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]