delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/12/01/11:38:52

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <41ADF388.5050104@familiehaase.de>
Date: Wed, 01 Dec 2004 17:38:32 +0100
From: "Gerrit P. Haase" <gerrit AT familiehaase DOT de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.3) Gecko/20040910
MIME-Version: 1.0
To: "BARTHEL, MATTIAS" <mattias DOT barthel AT hp DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: Compile within cygwin with -mnocygwin
References: <4DEA5E615F52DD4F9D9C6C2D70FCE63B0120132F AT esmexc02 DOT emea DOT cpqcorp DOT net>
In-Reply-To: <4DEA5E615F52DD4F9D9C6C2D70FCE63B0120132F@esmexc02.emea.cpqcorp.net>
X-IsSubscribed: yes

BARTHEL, MATTIAS wrote:

> 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.

Yes, Cygwin Perl is compiled without this flag and so WIN32 is
not defined for Cygwin Perl.


> Should I put some special define in the Makefile to use another
> Path for includes?

You will need to use a MinGW compiled Perl.  I saw some links to
mingw-perl at the MinGW website recently where you should look to
get it.

Gerrit
-- 
=^..^=

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019