This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
gcc 2.95.2
- To: "'gcc at gcc dot gnu dot org'" <gcc at gcc dot gnu dot org>
- Subject: gcc 2.95.2
- From: "EXT-MOORE, JERRY" <Jerry dot Moore at SW dot Boeing dot com>
- Date: Tue, 30 Jan 2001 12:14:55 -0600
I downloaded your precompiled version of gcc on HP-UX 11.0 clean install.
I get the following error messages when trying to compile a simple 18 line
source which
is a test.
# gcc -o rand rand.c
as: "/var/tmp/ccfeGsvc.s", line 25: error 1052: Directive name not
recognized -NSUBSPA
as: "/var/tmp/ccfeGsvc.s", line 61: warning 36: Use of %fr22L is incorrect
for the current LEVEL of 1.0
as: "/var/tmp/ccfeGsvc.s", line 63: warning 36: Use of %fr24L is incorrect
for the current LEVEL of 1.0
as: "/var/tmp/ccfeGsvc.s", line 64: warning 36: Use of %fr24L is incorrect
for the current LEVEL of 1.0
as: "/var/tmp/ccfeGsvc.s", line 64: warning 36: Use of %fr22L is incorrect
for the current LEVEL of 1.0
as: "/var/tmp/ccfeGsvc.s", line 64: warning 36: Use of %fr23 is incorrect
for the current LEVEL of 1.0
as: "/var/tmp/ccfeGsvc.s", line 64: warning 36: Use of XMPYU is incorrect
for the current LEVEL of 1.0
as: "/var/tmp/ccfeGsvc.s", line 65: warning 36: Use of %fr23L is incorrect
for the current LEVEL of 1.0
Source:
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
main()
{
int i,y;
int rand();
int k;
double x;
srand(time(NULL));
for (i = 1; i<7; i++)
{
printf("\nThe number is %d\n", rand()%55);
}
}