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
|