Pergunta

I need to compile my code for Itanium, but it seems that all of the compilers (ecc, gcc, orc) require an Itanium machine to do so. Any suggestions?

Foi útil?

Solução

You need to set gcc up as a cross compiler. This involves building binutils and gcc yourself.

The IA64wiki at http://www.gelato.unsw.edu.au/IA64wiki/CrossCompilation has a tutorial on how to set this up.

Outras dicas

I can only tell how I did it, perhaps not the best way or best tools.

I developed a very small priority-based Itanium kernel and test tasks long time ago. I started to develop it again (demand paging, fork system call...). The last time I compiled it is a week ago.

What I found is that compiling a cross compiler is a very hard task nowadays for IA64. And to get gcc and binutils to work together is an other problem. I tried many times compile cross compiler and binutils - no success). It seems that Itanium support has been forgotten, at least very much worse than some years again.

However, I found packages for the cross compiler, binutils and ski simulator binary. All starts working immediately (well, ski does not show TLB info).

I have Ubuntu 12, Linux kernel 3.2 AMD64

How to find the tools:

  • Ski:
    • Ubuntu Sotfware Center: Ski/IA-64 instruction set simulator (binary)
  • Cross tools (work together!):
    • gcc-ia64-linux-gnu-4.7.1-0.1.20120606.fc18.1.x86_64.rpm
    • binutils-ia64-linux-gnu-2.22.52.0.3-3.fc18.x86_64.rpm

My web page: http://www.isosika.net/

(Hmm... I compiled the Kernel, I think that application library support can be bad or non existent?)

There's Itanium version of Windows, so of course Visual studio can generate code for Itanium

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top