Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: Compile within cygwin with -mnocygwin Date: Wed, 1 Dec 2004 16:23:55 +0100 Message-ID: <4DEA5E615F52DD4F9D9C6C2D70FCE63B0120132F@esmexc02.emea.cpqcorp.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "BARTHEL, MATTIAS" To: X-OriginalArrivalTime: 01 Dec 2004 15:24:02.0123 (UTC) FILETIME=[C968D9B0:01C4D7B9] X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id iB1FOPun014639 Hello I am trying to compile a perl swig1.3 wrapper for a C++ lib using cygwin but with the compiler define -mno-cygwin. In perl.h there are lots of includes that cannot be found. Should I put some special define in the Makefile to use another Path for includes? Thanks, Mattias Output: c++ -DHAVE_CONFIG_H -I. -I. -I../config -I../include -I/c/Python22/include -I/us r/lib/perl5/5.8.5/cygwin-thread-multi-64int/CORE -g -O2 -DWINSOCK_2 -mno-cygwin -DSWIG_GLOBAL_MAPPING -D_HOST_LITTLE_ENDIAN -D_BK_LIBRARY=\"/usr/local/lib/vh/li bvhcore.so\" -L//c/SWIG-1.3.19/Lib -lswigpl -Wp,-MD,.deps/vhcore_wrap.pp -c vhco re_wrap.cpp -DDLL_EXPORT -DPIC In file included from vhcore_wrap.cpp:251: /usr/lib/perl5/5.8.5/cygwin-thread-multi-64int/CORE/perl.h:637:27: netinet/in.h: No such file or directory /usr/lib/perl5/5.8.5/cygwin-thread-multi-64int/CORE/perl.h:641:26: arpa/inet.h: No such file or directory /usr/lib/perl5/5.8.5/cygwin-thread-multi-64int/CORE/perl.h:687:27: sys/times.h: No such file or directory /usr/lib/perl5/5.8.5/cygwin-thread-multi-64int/CORE/perl.h:838:30: sys/ioctl.h: No such file or directory /usr/lib/perl5/5.8.5/cygwin-thread-multi-64int/CORE/perl.h:1274:23: ieeefp.h: No such file or directory /usr/lib/perl5/5.8.5/cygwin-thread-multi-64int/CORE/perl.h:2056:31: win32thread. h: No such file or directory /usr/lib/perl5/5.8.5/cygwin-thread-multi-64int/CORE/perl.h:2086:21: win32.h: No such file or directory In file included from /usr/lib/perl5/5.8.5/cygwin-thread-multi-64int/CORE/perl.h :2350, from vhcore_wrap.cpp:251: -- Mattias Barthel, Software Engineer CapGemini at Hewlett Packard Spain Tel. 34 93 582 26 02 E-mail: mattias DOT barthel AT hp DOT 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/