I played a little with the -x options; there are three of them and my version of gcc doesn't seem to like any of them.
If I run
/.cpan/build/DBD-mysql-3.0002> make
gcc -c -I/opt/lib/perl5/site_perl/5.8.7/sun4-solaris/auto/DBI/ -I/usr
+/local/mysql/mysql/include -mt -D_FORTEC_ -DDBD_MYSQL_INSERT_ID_IS_GO
+OD -g -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_
+BITS=64 -O -DVERSION=\"3.0002\" -DXS_VERSION=\"3.0002\" -fPIC "-I
+/opt/lib/perl5/5.8.7/sun4-solaris/CORE" dbdimp.c
cc1: error: invalid option `t'
*** Error code 1
make: Fatal error: Command failed for target `dbdimp.o'
I get this 'cc1' error.. maybe there is something dreadfully wrong with my compiler?