Setting CC=mgcc isn't enough. Run perlbrew install until it fails, go to the build directory then:
Amend the Configure script adding 'cc=mgcc' after
rp="Use which C compiler?"
. ./myread
cc="$ans"
Then run
bash
./Configure -Duseithreads -Dusemultiplicity
-Dinstallprefix=/home/njh/perl5/perlbrew/perls/perl-5.19.9
-Dprefix=/home/njh/perl5/perlbrew/perls/perl-5.19.9 -de
-Accflags="$CFLAGS" -Acc=mgcc -Aldflags="-lpthread -lm"
make
make test
make install
Friday, September 11, 2015
Subscribe to:
Comments (Atom)
