This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
g++ + mad fails t/run/mad.t
authorFather Chrysostomos <sprout@cpan.org>
Sun, 16 Sep 2012 14:13:41 +0000 (07:13 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Tue, 18 Sep 2012 03:41:00 +0000 (20:41 -0700)
commit53cf29abd51a29b2de6000dd437ff6ce6e638a50
treef4947577518fb520f1b1b2bd92aa68191ada1968
parent45f11e9ca40e7c288751ad2b4f3922e3fd05c0f7
g++ + mad fails t/run/mad.t

For some reason, g++ causes $^X to have a relative path when called
with one, whereas gcc causes it to have an absolute path:

g++:

$ ./perl -le 'print $^X'
./perl

gcc:

$ ./perl -le 'print $^X'
/Users/sprout/Perl/perl.git-copy/perl

(This is on 32-bit darwin.)

This affects mad.t’s ability to find the current perl interpreter
after a chdir.
t/run/mad.t