I guess the command line switches supported by "cc" is not supported by "gcc"
Your guess is correct. See also Installing Modules using CPAN.
Generally, modules that have an XS component will need a compiler to build (no way around it, except if you can find a pre-built binary (.so file) for your platform and perl version). And you save yourself a lot of trouble by installing the same compiler that your perl binary has been built with.
In reply to Re: CPAN Module Installation
by almut
in thread CPAN Module Installation
by ajeet@perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |