delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/28/02:53:53

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
To: cygwin AT cygwin DOT com
From: "Pinhas Krengel" <bknpk AT hotmail DOT com>
Subject: Re: perlcc does not work on my cygwin-please help
Date: Wed, 28 Jan 2004 09:52:05 +0200
Lines: 64
Message-ID: <bv7ppl$nrc$1@sea.gmane.org>
References: <bv661h$f2k$1 AT sea DOT gmane DOT org> <LAW9-OE38WEW4hSGEZm00023310 AT hotmail DOT com>
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158

Thanks Rafael
Well it is not acutally perlcc that I am after. I try to compile a CPAN
module and the compiler does not find the path to some important files like
perl.h and XSUB.h etc... From what you say I understand that it is wrong to
use ming but ratjer use the cygwin gcc and g++.
I got the former right  from the setup installation. But I don't have g++.
Is it posiibble to download and cleanly install it on my current cygwin.

"Rafael Kitover" <caelum AT debian DOT org> wrote in message
news:LAW9-OE38WEW4hSGEZm00023310 AT hotmail DOT com...
> >-----Original Message-----
> >From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf
Of
> >Pinhas Krengel
> >Sent: Tuesday, January 27, 2004 9:09 AM
> >To: cygwin AT cygwin DOT com
> >Subject: perlcc does not work on my cygwin-please help
> >
> >perlcc does not work on my cygwin (win XP). I have tried to re-install
> >cygwin, read the assorted documents but can not figure out what is wrong.
> >It seems to be a very basic problem as it reports error of not finding
some
> >file that are installed in my perl package. For example perl.h is not
found.
> >The file is on my system at
> >/lib/perl5/5.8.2/cygwin-thread-multi-64int/CORE/perl.h. A place where
cygwin
> >selected to install it.
> >I use mingw as the gcc compiler. It was recommended to install it not
under
>
> The normal Cygwin perlcc works just fine.
>
> perlcc creates a binary that is linked to the Perl DLL. The Perl DLL is
linked
> to Cygwin. What you are trying to do, that is making a non-cygwin binary
that
> links to a Cygwin dll, makes no sense. And of course, the mingw gcc will
not
> understand Cygwin paths.
>
> Also, when you have Cygwin installed there's no real need to install
mingw, you
> can use gcc -mno-cygwin instead with the w32api package, which is pretty
much
> the same thing.
>
> If you want to use perlcc to create binaries that don't depend on Cygwin,
you
> will have to compile a copy of Perl with mingw then use its perlcc.
>
> You might be able to get away with using ExtUtils::FakeConfig with
activeperl
> and mingw if you don't want to use ActivePerl's perlcc which requires
visual
> studio.
>
> This is all completely offtopic by the way.
>
> -- 
> Rafael
>




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