pro64-support
[Top] [All Lists]

Re: Some error messages and questions

To: Peng Zhao <pengzhao@xxxxxxxxxxxxxx>, Jacques-Olivier Haenni <Jacques-Olivier.Haenni@xxxxxxx>
Subject: Re: Some error messages and questions
From: mpm@xxxxxxxxxxxxxxxxx (Michael Murphy)
Date: Sat, 3 Mar 2001 23:17:26 -0800 (PST)
Cc: sgi <pro64-support@xxxxxxxxxxx>
References: <Pine.LNX.4.21.0103022340340.17081-100000@xxxxxxxxxxxxxxxxxxxx>
Sender: owner-pro64-support@xxxxxxxxxxx
        From: Jacques-Olivier Haenni <Jacques-Olivier.Haenni@xxxxxxx>
        
        
        What I do now is to compile sgicc on my IA-32 linux machine.  Then, I 
use it to
        generate assembly files (sgicc -S toto.c); next, I copy the assembly 
files on
        an Itanium machine (some are available on the web) where I assemble and 
link
        them.  Has somebody a better solution ?
        
You can build a cross gas by doing something like:
        configure --host=i586-linux-gnu --target=ia64-sgi-linux
and then using -Ya to use this gas from sgicc.
This is basically what we do in our cross environment, except
we put everything into a cross toolroot so that the -Y isn't needed.
You can do the same for ld too, except you'll also need proper libraries,
which gets more difficult.
        
        > 3.      How to check the result of function inlining? If I switch on 
the
        > "-S" or "-keep" option, the IPA will not be applied, am I right?
        
        IPA is never applied (yet), isn't it ?
        
-S and -keep do not prevent IPA, but IPA is not released yet.
With -O you will get inlining within a file, just no cross-file inlining.

-- Mike Murphy
-- mpm@xxxxxxx
-- quote of the day:
--  "You can choose your choices, but you can't choose the consequences
--   of your choices."

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