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."
|