Folks,
How are you ?.
I have downloaded DBI-1.20.tar.gz from the www.perl.org.
Here is the system info.
SunOS suncore 5.8 Generic_108528-09 sun4u sparc SUNW,Ultra-60
I have updated Makefile for gcc ,as like following;
CC = gcc
LD = gcc
I have got following error mesg,When I run the make cmd.
Here is the error info.
-----------------------------
# /usr/ccs/bin/make
gcc -c -xO3 -xdepend -DVERSION=\"1.20\" -DXS_VERSION=\"1.20\"
-KPIC -I/usr/perl5/5.00503/sun4-solaris/CORE -DDBI_NO_THREADS Perl.c
gcc: unrecognized option `-KPIC'
gcc: language depend not recognized
gcc: Perl.c: linker input file unused because linking not done
/usr/bin/perl -I/usr/perl5/5.00503/sun4-solaris -I/usr/perl5/5.00503
/usr/perl5/5.00503/ExtUtils/xsubpp -typemap
/usr/perl5/5.00503/ExtUtils/typemap DBI.xs >xstmp.c && mv xstmp.c DBI.c
gcc -c -xO3 -xdepend -DVERSION=\"1.20\" -DXS_VERSION=\"1.20\"
-KPIC -I/usr/perl5/5.00503/sun4-solaris/CORE -DDBI_NO_THREADS DBI.c
gcc: unrecognized option `-KPIC'
gcc: language depend not recognized
gcc: DBI.c: linker input file unused because linking not done
LD_RUN_PATH="" gcc -o blib/arch/auto/DBI/DBI.so -G DBI.o
gcc: DBI.o: No such file or directory
gcc: No input files
*** Error code 1
make: Fatal error: Command failed for target `blib/arch/auto/DBI/DBI.so'
-----------------------------------------------------
Please advice me.
Thanks,
Srinivas.