texinfo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using Perl's cc


From: Eli Zaretskii
Subject: Re: Using Perl's cc
Date: Sat, 04 Jul 2015 21:48:24 +0300

> Date: Sat, 04 Jul 2015 21:19:51 +0300
> From: Eli Zaretskii <address@hidden>
> Cc: address@hidden
> 
> Meanwhile I looked around, and it sounds like all that's needed is
> something like --with-perl-dir=/path/to/perl/installation/directory,
> and perhaps a small change to how fetch_conf.pl is invoked (it should
> no longer run "/usr/bin/env perl", but the one in the specified
> directory's bin/ subdirectory).  Moreover, it sounds like ActiveState
> Perl, which is what I have here, already supports MinGW automagically
> (it returned the correct file name for 'cc' config option, and I
> cannot see how it could do that without examining my system's PATH).

Hmm... one slight complication:

  $ /d/usr/Perl/bin/perl ./fetch_conf.pl archlibexp
  D:\usr\Perl\lib

It outputs the directory with backslashes.  This cannot be put
verbatim into a Makefile, because Bash needs each backslash doubled.

So I guess we will need a separate fetch_conf.pl for Windows, which
will replace backslashes with forward slashes, or a Sed script in
configure to do that.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]