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.

--Boundary_(ID_5Q8Hh15EagO/F7bi4APRIg)
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: quoted-printable

Thanks to Kevin Partin, Allan E Johannesen, WScates@amc.jccbi.gov
<mailto:WScates@amc.jccbi.gov> , Chris Bryant, Paul A Sand.
=20
try ./a.out. you are executing an a.out that is in your path, not your
current directory.
=20
try:

which a.out

then try:

./a.out

i.e. it's your path.

=20

Hi, try

./a.out

to make sure you're running the a.out in the current

directory.

=20

=20

-----Original Message-----
From: Kirkland, Mike # IHTUL=20
Sent: Friday, July 06, 2001 1:55 PM
To: 'tru64-unix-managers@ornl.gov'
Subject: gcc compilation problems


Hi everyone,
=20
I just installed gcc-2.95.3 on my server running tru64 v4.0f.
=20
When i try to compile a c program I get some strange output. I compile =
a
program like this:
/usr/local/bin/gcc new2.c
=20
new2.c contains this code
=20
#include <stdio.h>

main()
{
        printf("This is a C program\n");
}
=20
=20
it does not return any errors and returns an a.out, but a.out executed =
(or
any other c code)returns output like this.
=20
ratbert> a.out
sin(0.200000) =3D 0.198669, cos(0.200000) =3D 0.980067
sin(0.201000) =3D 0.199649, cos(0.201000) =3D 0.979867
sin(0.202000) =3D 0.200629, cos(0.202000) =3D 0.979667
sin(0.203000) =3D 0.201609, cos(0.203000) =3D 0.979466
sin(0.204000) =3D 0.202588, cos(0.204000) =3D 0.979264
sin(0.205000) =3D 0.203567, cos(0.205000) =3D 0.979061
sin(0.206000) =3D 0.204546, cos(0.206000) =3D 0.978857
sin(0.207000) =3D 0.205525, cos(0.207000) =3D 0.978652
sin(0.208000) =3D 0.206503, cos(0.208000) =3D 0.978446
sin(0.209000) =3D 0.207482, cos(0.209000) =3D 0.978239
sin(0.210000) =3D 0.208460, cos(0.210000) =3D 0.978031
sin(0.211000) =3D 0.209438, cos(0.211000) =3D 0.977822
sin(0.212000) =3D 0.210416, cos(0.212000) =3D 0.977612
.
.
.=20
sin(2.195000) =3D 0.811429, cos(2.195000) =3D -0.584451
sin(2.196000) =3D 0.810844, cos(2.196000) =3D -0.585262
sin(2.197000) =3D 0.810258, cos(2.197000) =3D -0.586073
sin(2.198000) =3D 0.809672, cos(2.198000) =3D -0.586883
sin(2.199000) =3D 0.809085, cos(2.199000) =3D -0.587692

=20
any ideas on how to resolve this?
=20
Thanks in advance
=20
Mike Kirkland
Unix System Administrator
National Data Corporation
Phone:  (918) 481-2817
Fax:      (918) 481-4275
mike.kirkland@ndchealth.com <mailto:mike.kirkland@ndchealth.com>=20
NDC=AE| HEALTH
6100 South Yale Avenue
Suite 1900
Tulsa, OK 74136
=20

--Boundary_(ID_5Q8Hh15EagO/F7bi4APRIg)
Content-type: text/html; charset=iso-8859-1
Content-transfer-encoding: 8BIT

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 5.00.2614.3500" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=240571319-06072001>Thanks 
to Kevin Partin, Allan E Johannesen, <A 
href="mailto:WScates@amc.jccbi.gov">WScates@amc.jccbi.gov</A>, Chris Bryant, 
Paul A Sand.</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN 
class=240571319-06072001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=240571319-06072001>
<DIV><SPAN class=036570219-06072001><FONT color=#0000ff face=Arial size=2>try 
./a.out. you are executing an a.out that is in your path, not your current 
directory.</FONT></SPAN></DIV>
<DIV><SPAN class=036570219-06072001></SPAN>&nbsp;</DIV>
<DIV><SPAN class=036570219-06072001><FONT size=2>
<P>try:</P>
<P>which a.out</P>
<P>then try:</P>
<P>./a.out</P>
<P>i.e. it's your path.</P>
<P>&nbsp;</P><FONT size=2>
<P>Hi, try</P>
<P>./a.out</P>
<P>to make sure you're running the a.out in the current</P>
<P>directory.</P></FONT>
<P>&nbsp;</P>
<P>&nbsp;</P></FONT></SPAN></DIV></SPAN></FONT></DIV>
<DIV align=left class=OutlookMessageHeader dir=ltr><FONT face=Tahoma 
size=2>-----Original Message-----<BR><B>From:</B> Kirkland, Mike # IHTUL 
<BR><B>Sent:</B> Friday, July 06, 2001 1:55 PM<BR><B>To:</B> 
'tru64-unix-managers@ornl.gov'<BR><B>Subject:</B> gcc compilation 
problems<BR><BR></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=200575718-06072001>Hi 
everyone,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=200575718-06072001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=200575718-06072001>I just installed 
gcc-2.95.3 on my server running tru64 v4.0f.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=200575718-06072001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=200575718-06072001>When i try to 
compile a c program I get some strange output. I compile a program like 
this:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=200575718-06072001>/usr/local/bin/gcc 
new2.c</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=200575718-06072001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=200575718-06072001>new2.c contains this 
code</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>#include 
&lt;stdio.h&gt;<BR><BR>main()<BR>{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
printf("This is a C program\n");<BR>}</FONT></DIV>
<DIV><FONT size=2>
<DIV><FONT size=2>
<DIV><FONT color=#0000ff face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><SPAN class=200575718-06072001>it does not return any 
errors and returns an a.out, but&nbsp;a.out executed (or any other c 
code)returns output like this.</SPAN></FONT></DIV>
<DIV><FONT face=Arial><SPAN class=200575718-06072001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><SPAN class=200575718-06072001>ratbert&gt; 
a.out<BR>sin(0.200000) = 0.198669, cos(0.200000) = 0.980067<BR>sin(0.201000) = 
0.199649, cos(0.201000) = 0.979867<BR>sin(0.202000) = 0.200629, cos(0.202000) = 
0.979667<BR>sin(0.203000) = 0.201609, cos(0.203000) = 0.979466<BR>sin(0.204000) 
= 0.202588, cos(0.204000) = 0.979264<BR>sin(0.205000) = 0.203567, cos(0.205000) 
= 0.979061<BR>sin(0.206000) = 0.204546, cos(0.206000) = 
0.978857<BR>sin(0.207000) = 0.205525, cos(0.207000) = 0.978652<BR>sin(0.208000) 
= 0.206503, cos(0.208000) = 0.978446<BR>sin(0.209000) = 0.207482, cos(0.209000) 
= 0.978239<BR>sin(0.210000) = 0.208460, cos(0.210000) = 
0.978031<BR>sin(0.211000) = 0.209438, cos(0.211000) = 0.977822<BR>sin(0.212000) 
= 0.210416, cos(0.212000) = 0.977612<BR>.</SPAN></FONT></DIV>
<DIV><FONT face=Arial><SPAN class=200575718-06072001>.</SPAN></FONT></DIV>
<DIV><FONT face=Arial><SPAN class=200575718-06072001>.&nbsp;</SPAN></FONT></DIV>
<DIV><FONT color=#000000 face=Arial>sin(2.195000) = 0.811429, cos(2.195000) = 
-0.584451<BR>sin(2.196000) = 0.810844, cos(2.196000) = 
-0.585262<BR>sin(2.197000) = 0.810258, cos(2.197000) = 
-0.586073<BR>sin(2.198000) = 0.809672, cos(2.198000) = 
-0.586883<BR>sin(2.199000) = 0.809085, cos(2.199000) = 
-0.587692<BR></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><SPAN class=200575718-06072001>any ideas on how to resolve 
this?</SPAN></FONT></DIV>
<DIV><FONT face=Arial><SPAN class=200575718-06072001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><SPAN class=200575718-06072001>Thanks in 
advance</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff face=Arial>Mike Kirkland</FONT></DIV>
<DIV><FONT color=#0000ff face=Arial>Unix System Administrator</FONT></DIV>
<DIV><FONT color=#0000ff face=Arial>National Data Corporation</FONT></DIV>
<DIV><STRONG><FONT color=#0000ff face=Arial size=1>Phone:&nbsp; (918) 
481-2817</FONT></STRONG></DIV>
<DIV><FONT color=#0000ff face=Arial 
size=1><STRONG>Fax:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (918) 
481-4275</STRONG></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=1><STRONG><A 
href="mailto:mike.kirkland@ndchealth.com">mike.kirkland@ndchealth.com</A></STRONG></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#808080 
size=1><STRONG>NDC</STRONG></FONT><FONT size=1>�</FONT><FONT color=#808080 
size=1>|</FONT><FONT size=1> </FONT><B><FONT color=#ff0000 
size=1>HEALTH</FONT></B></FONT></DIV>
<DIV><B><FONT color=#ff0000 face=Arial size=1>6100&nbsp;South Yale 
Avenue</FONT></B></DIV>
<DIV><B><FONT color=#ff0000 face=Arial size=1>Suite 1900</FONT></B></DIV>
<DIV><B><FONT color=#ff0000 size=1><FONT face=Arial>Tulsa, OK 
74136</FONT></B></FONT></DIV></FONT></DIV></FONT></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

--Boundary_(ID_5Q8Hh15EagO/F7bi4APRIg)--
