Re: DBI 1.50 - make problems (cc1: Invalid option)



On Thu, Dec 29, 2005 at 11:01:27AM -0000, Rui Sampaio (Whatevernet) wrote:
>
> cc1: Invalid option `-Wdisabled-optimization'
> cc1: Invalid option `-Wno-unused-parameter'

After running 'perl Makefile.PL' edit the generated 'Makefile' and
remove those two options.

> ** Does anyone have an idea about what's happening?

The Makefile.PL only adds the options for GCC versions >= 3, but it
turns out that those options were only added in later versions.

What do
perl -V:gccversion
and
gcc --version
say?

Tim.
.



Relevant Pages