delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <12807222.post@talk.nabble.com> |
Date: | Thu, 20 Sep 2007 15:25:50 -0700 (PDT) |
From: | patrickinminneapolis <patrickinminneapolis AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | gcc header file help should be a minor problem |
MIME-Version: | 1.0 |
X-Nabble-From: | patrickinminneapolis AT gmail DOT com |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |