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]

Compile within cygwin with -mnocygwin


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.barthel@hp.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]