This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gcc 2.95.2


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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]