pro64-support
[Top] [All Lists]

Re: How to compile SGI Pro64 Source code on Itanium

To: Hongbo Yang <hyang@xxxxxxxxxxxxxx>
Subject: Re: How to compile SGI Pro64 Source code on Itanium
From: Chandrasekhar Murthy <murthy@xxxxxxx>
Date: Fri, 17 Aug 2001 11:53:39 -0700
Cc: pro64-support@xxxxxxxxxxx
References: <Pine.GSO.4.33.0108171151220.6373-100000@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-pro64-support@xxxxxxxxxxx
Hongbo Yang wrote:

> Assume I have an Itanium machine, can I compile SGI Pro64 source code on
> the machine and get an executable SGI Pro64 compiler? If so, which targ_*
> directory among targcygnus_ia32_ia64, targ_ia32_ia64_nodebug, targ_ia64
> should I compile?
>
> --------------------------------
> Hongbo Yang
>
> Electrical Engineering
> Univ of Delaware

We were able to do native builds, but you might not be able to do so because

of problems with g++.

You need to build in the targia64 directory.

I used to have the following Makefile.override in the targia64 directory

BUILD_OPTIMIZE = NODEBUG
BUILD_COMPILER = GNU
BUILD_HOST     = IA64

NODEBUG was required especially for the backend as g++ was choking
on several files in CG.

GNU is required to force it to use g++.

There is also the possibility that although we were able to build it
here internally, the oss website might not have been updated.

Some of the files would require modifying the assembler file
in order to compile successfully (there were about 3 or 4 of these),
mainly dealing with operator== (and other variants of these).

For all practical purposes, gdb was practically unuseable on these
compilers, and I had to resort to debugging the old fashioned way
by using printfs.

Murthy


<Prev in Thread] Current Thread [Next in Thread>