Thanks for your response.
I am confused by the error messages encountered these days.
I use "make build -fMake.cross" and "INSTALL" to generate the
sgicc. Should I run sgicc under "nue"? Now that it is a cross compiler,
I had thought I can run sgicc directly without nue but run the generated
code under NUE.
Let's look at the problem in my sgicc under NUE.
following is the error message:
sgicc test.c sgicc: /usr/ia32-pc-linux/lib/libc.so.6: version
`GLIBC_2.1.3' not found (required by sgicc)
Thanks.
Peng
On Sat, 3 Mar 2001, Michael Murphy wrote:
Jacques-Olivier Haenni <Jacques-Olivier.Haenni@xxxxxxx>
platforms but they produce IA-64 code.>
>
> 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."
>
Peng
--
Peng Zhao pengzhao@xxxxxxxxxxxxxx
http://www.cs.ualberta.ca/~pengzhao
TEL (Lab): (780)492-3725 Lab: CSC251
|