Skip to contentSkip to conversation

Building native 32 bit binaries

Linux-ia64 [email protected] 3 participants 3 messages May 31, 2002

lore
Share & tools
lore
#0 lore raw

Hello,

i have a question regarding 32 bit binaries on IA-64 linux. I am using RedHat 7.1 with gcc 2.96 and kernel 2.4.3-12smp.

I have build 32bit binaries on an x86 system and these work just fine however I need to build IA-64 native 32bit binaries. Is this possible and how ?

Thank you in advance,

Gregor

-------------------
http://www.email.si

#1 lore raw

Gregor-

I'm not totally sure what you're asking for but I'll attempt to answer your question anyway.

First some background. The IA64 CPU is capable of executing 2 different instruction sets, IA32 and IA64. Additionally, the IA64 instruction set can deal with multiple data size conventions.

Legacy IA32 applications, typically created on an IA32 machine, run on IA64 Linux.

The only data size convention supported for the IA64 instruction set is LP64 (long's and pointers are 64-bits wide and int's are 32-bits wide).

Although it is technically possible to support ILP32 (int's, long's and pointers are 32-bits wide) IA64 Linux does not support this. The benefits of ILP32 are small and the problems that would arise in library support, kernel support and system managment are just too huge. The IA64 Linux development team has made a conscious decision not to support ILP32.

Quoted 21 lines · On Fri, May 31, 2002 at 12:24:50PM +0200, [email protected] wrote:

Hello,

i have a question regarding 32 bit binaries on IA-64 linux. I am using RedHat 7.1 with gcc 2.96 and kernel 2.4.3-12smp.

I have build 32bit binaries on an x86 system and these work just fine however I need to build IA-64 native 32bit binaries. Is this possible and how ?

Thank you in advance,

Gregor

-------------------
http://www.email.si

_______________________________________________
Linux-IA64 mailing list
[email protected]
http://lists.linuxia64.org/lists/listinfo/linux-ia64

Signature · 4 lines
Don Dugger
"Censeo Toto nos in Kansa esse decisse." - D. Gale
[email protected]
Ph: 303/652-0870x117
#2 lore raw
In reply to [email protected]

No, Linux does not support 32-bit IA64 binaries.

You could install a cross-compiler and build 32-bit IA32 binaries, and run those;
or, you can build 64-bit IA64 binaries.

Kevin

Quoted 19 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Friday, May 31, 2002 4:25 AM
To: [email protected]
Subject: [Linux-ia64] Building native 32 bit binaries

Hello,

i have a question regarding 32 bit binaries on IA-64 linux. I am using RedHat 7.1 with gcc 2.96 and kernel 2.4.3-12smp.

I have build 32bit binaries on an x86 system and these work just fine however I
need to build IA-64 native 32bit binaries. Is this possible and how ?

Thank you in advance,

Gregor