SUMMARY: gcc compile on sol8

From: Francis, Rick <Rick.Francis_at_Transora.com>
Date: Fri Jun 08 2001 - 10:42:15 EDT
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C0F029.3614C4B0
Content-Type: text/plain;
	charset="iso-8859-1"

-----summary-----
thanks everyone.
-KPIC is the setting for Position Independent Code (PIC). Check the gcc man
page for its equivalent and adjust.<?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" />

 "-KPIC" is for Sun cc. For gcc it's "-fPIC". You probably compiled perl
with Sun cc, which means that you should compile CPAN modules with the same
compiler to save you trouble. "perl Makefile.PL" should pick cc by itself.

which in fact is the case. hence, i installed perl v5.6.1 and compiled with
gcc v2.95.3 and everything is happy.

rf

-----Original Message-----


hi, 

on every perl module i try to compile with gcc v2.95.3 i get this: 

gcc: unrecognized option `-KPIC' 
gcc: language depend not recognized 

consequently, the linkage fails during the make. 

-KPIC in Makefile is valued to CCCLDFLAGS 

is this the correct value for sol8 or is something else? 

rf 



The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.  If you received
this in error, please contact the sender and delete the material from any
computer.




The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.  If you received
this in error, please contact the sender and delete the material from any
computer.

------_=_NextPart_001_01C0F029.3614C4B0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<TITLE>gcc compile on sol8</TITLE>

<META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3D"Lucida Console" color=3D#0000ff size=3D2><SPAN=20
class=3D209463914-08062001>-----summary-----</SPAN></FONT></DIV>
<DIV><FONT face=3D"Lucida Console" color=3D#0000ff size=3D2><SPAN=20
class=3D209463914-08062001>thanks everyone.</SPAN></FONT></DIV>
<DIV><FONT face=3D"Lucida Console" color=3D#0000ff size=3D2><SPAN=20
class=3D209463914-08062001>-KPIC </SPAN></FONT><FONT face=3D"Lucida =
Console"><SPAN=20
class=3D209463914-08062001><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Lucida Bright'"><FONT =
color=3D#0000ff>is the=20
setting for Position Independent Code (PIC). Check the gcc man page for =
its=20
equivalent and adjust.<?xml:namespace prefix =3D o ns =3D=20
"urn:schemas-microsoft-com:office:office" =
/><o:p></o:p></FONT></SPAN></DIV>
<DIV>
<P class=3DMsoNormal style=3D"mso-layout-grid-align: none"><FONT =
color=3D#0000ff><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Lucida =
Bright'">&nbsp;</SPAN><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Lucida Bright'; =
mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: =
'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: =
EN-US; mso-bidi-language: AR-SA">"-KPIC"=20
is for Sun cc. For gcc it's "-fPIC". You probably compiled perl with =
Sun cc,=20
which means that you should compile CPAN modules with the same compiler =
to save=20
you trouble. "perl Makefile.PL" should pick cc by =
itself.</SPAN></FONT></P>
<P class=3DMsoNormal style=3D"mso-layout-grid-align: none"><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Lucida Bright'; =
mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: =
'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: =
EN-US; mso-bidi-language: AR-SA"><SPAN=20
class=3D209463914-08062001><FONT color=3D#0000ff>which in fact is the =
case. hence, i=20
installed perl v5.6.1 and compiled with gcc v2.95.3 and everything is=20
happy.</FONT></SPAN></SPAN></P>
<P class=3DMsoNormal style=3D"mso-layout-grid-align: none"><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Lucida Bright'; =
mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: =
'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: =
EN-US; mso-bidi-language: AR-SA"><SPAN=20
class=3D209463914-08062001><FONT=20
color=3D#0000ff>rf</FONT></SPAN></SPAN></SPAN></FONT></P></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR></FONT></DIV>
  <P><FONT size=3D2>hi,</FONT> </P>
  <P><FONT size=3D2>on every perl module i try to compile with gcc =
v2.95.3 i get=20
  this:</FONT> </P>
  <P><FONT size=3D2>gcc: unrecognized option `-KPIC'</FONT> <BR><FONT =
size=3D2>gcc:=20
  language depend not recognized</FONT> </P>
  <P><FONT size=3D2>consequently, the linkage fails during the =
make.</FONT> </P>
  <P><FONT size=3D2>-KPIC in Makefile is valued to CCCLDFLAGS</FONT> =
</P>
  <P><FONT size=3D2>is this the correct value for sol8 or is something=20
  else?</FONT> </P>
  <P><FONT size=3D2>rf</FONT> </P><BR><BR>
  <P><FONT size=3D2>The information transmitted is intended only for =
the person or=20
  entity to which it is addressed and may contain confidential and/or =
privileged=20
  material.&nbsp; Any review, retransmission, dissemination or other =
use of, or=20
  taking of any action in reliance upon, this information by persons or =
entities=20
  other than the intended recipient is prohibited.&nbsp; If you =
received this in=20
  error, please contact the sender and delete the material from any=20
  computer.</FONT></P></BLOCKQUOTE></BODY></HTML>
<BR>
<BR>
<BR>

<P><FONT SIZE=3D2 FACE=3D"Arial">The information transmitted is =
intended only for the person or entity to which it is addressed and may =
contain confidential and/or privileged material.  Any review, =
retransmission, dissemination or other use of, or taking of any action =
in reliance upon, this information by persons or entities other than =
the intended recipient is prohibited.  If you received this in error, =
please contact the sender and delete the material from any =
computer.</FONT></P>

------_=_NextPart_001_01C0F029.3614C4B0--
Received on Fri Jun 8 15:42:15 2001

This archive was generated by hypermail 2.1.8 : Wed Mar 23 2016 - 16:24:56 EDT