Re: [Arsperl-users] use of gcc instead of cc
Brought to you by:
jeffmurphy
|
From: Thilo S. <thi...@ap...> - 2007-03-13 11:35:41
|
The preference for "cc" probably comes from the settings in the Config.pm file of your perl interpreter (presuambly to be found at /usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE). This means that perl itself was compiled with "cc", and an ARSperl for this perl installation might not be compileable with gcc at all. Nonetheless you might try to edit the generated Makefile after running Makefile.PL (there should be a line "CC = ..." somewhere). If it doesn't work, your options are: - Installing (which means probably purchasing) Sun's native compiler. - Compliling a separate perl interpreter using "gcc". Regards, Thilo Stapff > Dear listers, > > on SunOs 5.9 make gives me the following error > > cc -c -I/opt/remedy/api/include -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -xO3 -xdepend -DVERSION=\"1.84\" > -DXS_VERSION=\"1.84\" -KPIC > -I/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE -g -DARS32 -DARS452 > -DPERL_PATCHLEVEL_IS=6 -DPERL_SUBVERSION_IS=1 -DPERL_BASEREV_IS=50 ARS.c > sh: cc: not found > *** Error code 1 > make: Fatal error: Command failed for target `ARS.o' > > I have gcc installed on my machine. How can I change the use of cc for gcc ? > Thank you. > Serouche > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Arsperl-users mailing list > Ars...@ar... > https://lists.sourceforge.net/lists/listinfo/arsperl-users > |