gcc 2.95.2

EXT-MOORE, JERRY Jerry.Moore@SW.Boeing.com
Tue Jan 30 10:15:00 GMT 2001


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);
        }
}





More information about the Gcc mailing list