delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/15/17:05:52

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <BF35D9C143BCCC4EB63181B67C9320C804DCDC@serv-075.icon-germany.local>
From: Heribert Dahms <heribert_dahms AT icon-gmbh DOT de>
To: "'Earnie Boyd'" <cygwin AT cygwin DOT com>, gerrit DOT haase AT t-online DOT de
Cc: Stephen Patterson <fileysurgery AT techie DOT com>,
perl win32 list
<perl-win32-users AT listserv1 DOT ActiveState DOT com>
Subject: RE: Compiling perl scripts
Date: Mon, 15 Jan 2001 23:05:11 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)

Hi Earnie,

I would be careful, this could confuse ./configure
for a lot of applications other than perl!

Bye, Heribert (heribert_dahms AT icon-gmbh DOT de)

> -----Original Message-----
> From:	Earnie Boyd [SMTP:earnie_boyd AT yahoo DOT com]
> Sent:	Monday, January 15, 2001 22:51
> To:	gerrit DOT haase AT t-online DOT de
> Cc:	Stephen Patterson; perl win32 list; cygwin AT cygwin DOT com
> Subject:	Re: Compiling perl scripts
> 
> Gerrit Peter Haase wrote:
> > 
> > Stephen Patterson schrieb:
> > >
> > > How can I specify a compiler for perlcc to use?
> > >
> > > I have the cygnus linux(ish) toolkit, with gcc, g++ cc1 and make, does
> > > anyone know how to tell perlcc to use any of these?
> > >
> > 
> > >From perlcc, line 272-282 (for my perl):
> > 
> > sub cc_harness {
> >         my ($cfile,$stash)=@_;
> >         use ExtUtils::Embed ();
> >         my $command = ExtUtils::Embed::ccopts." -o $Output $cfile ";
> >         $command .= " -I".$_ for split /\s+/, opt(I);
> >         $command .= " -L".$_ for split /\s+/, opt(L);
> >         my @mods = split /-?u /, $stash;
> >         $command .= " ".ExtUtils::Embed::ldopts("-std", \@mods);
> >         vprint 3, "running cc $command";
> >         system("cc $command");
> > }
> >               ^^^^^^^^
> > 
> > here is hardcoded 'cc' were your compiler needs to be called (gcc).
> > 
> > In Erics perl5.6.1-1 for cygwin, there is a patch aplied that fixes
> this.
> > 
> 
> A simple `ln -s /bin/gcc /bin/cc' would work.
> 
> Chris, should setup or gcc-2.95.2-7 do this?
> 
> Cheers,
> Earnie.
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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