Wim De Hul wrote:
> I tried to use the gcc -compiler (it is installed on my Sun and the dir
> is in my $PATH) but after the CC=gcc perl Makefile.PL,
I might be wrong. But if you use Solaris and your shell is (t)csh
(and not bash or ksh), then "CC=gcc perl Makefile.PL" won't work.
Try "perl Makefile.PL" and then "env CC=/full/path/to/bin/gcc make"
And also are you sure, that your perl is built with the same gcc?
> the make still refers to the old c-compiler (/usr/ucb/cc). Why doesn't
> the makefile contains the gcc-compiler? Is there a way to compile it
> anyway with the gcc-compiler?