Skip to contentSkip to conversation

ELDK 3.1.1 support for x86_64 host architecture

DISCUSSION Michael Carey 4 participants 5 messages Aug 4, 2006 – Aug 5, 2006

lore
Share & tools
lore
#0 lore raw

I found the subject "ELDK 3.1.1 support for x86_64 host architecture" in = the archives (Apr 15 2005) which describes my problem, however there was = never any posting of a resolution.

When I attempt to run: "./install -d /opt/eldk" I get the following = output:

Do you really want to install into /opt/eldk directory[y/n]?: y

Creating directories
Done
Installing cross RPMs

Preparing... ########################################### =
[100%]

        package rpm-4.1.1-1.8xa_10 is intended for a i386 architecture

can't change dir: No such file or directory

The details on my system are:

mcarey@mmtdev:~> cat /etc/issue

Welcome to SUSE LINUX 10.1 (X86-64) - Kernel \r (\l).

mcarey@mmtdev:~> uname -a
Linux mmtdev 2.6.16.13-4-default #1 Wed May 3 04:53:23 UTC 2006 x86_64 = x86_64 x86_64 GNU/Linux
mcarey@mmtdev:~> cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Pentium(R) 4 CPU 3.06GHz
stepping : 1
cpu MHz : 3065.612
cache size : 1024 KB
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca =
cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm = constant_tsc pni monitor ds_cpl tm2 cid cx16 xtpr
bogomips : 6140.72
clflush size : 64
cache_alignment : 128
address sizes : 36 bits physical, 48 bits virtual
power management:

//
Thanks for any help you could provide,
Michael Carey

#1 lore raw
Quoted 1 line · In message <[email protected]> you wrote:

I found the subject "ELDK 3.1.1 support for x86_64 host architecture" in the archives (Apr 15 2005) which describes my problem, however there was never any posting of a resolution.

There was none, as there is no problem. ELDK 3.1.1 (and later versions) runs fine on x86_64 hosts, assuming you're using any sane Linux distribution. For example:

-> ppc_8xx-gcc -v
Reading specs from /opt/eldk-3.1.1/usr/bin/../lib/gcc-lib/ppc-linux/3.3.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --with-newlib --enable-languages=c,c++ --disable-libgcj --host=i386-redhat-linux --target=ppc-linux Thread model: posix
gcc version 3.3.3 (DENX ELDK 3.1.1 3.3.3-9)
------------------------^^^^^^^^^^
-> uname -a
Linux pollux.denx.de 2.6.10-1.771_FC2smp #1 SMP Mon Mar 28 01:05:47 EST 2005 x86_64 x86_64 x86_64 GNU/Linux
-----------------------------------------------------------------------------^^^^^^
-> cat /etc/issue
Fedora Core release 2 (Tettnang)
...

Quoted 1 line
        package rpm-4.1.1-1.8xa_10 is intended for a i386 architecture

Your Linux distro is kind of broken.

Quoted 1 line

The details on my system are:

...

Quoted 1 line

Welcome to SUSE LINUX 10.1 (X86-64) - Kernel \r (\l).

Yes, SuSE has always found interesting ways to break compatibility. That's why I avoid it. IIRC, SuSE provides a special tool "linux32" which has to be used to run 32-bit applications on a x86_64 system.

Don't ask me why they need it. Other distros run the 32-bit applications just fine without such intricacy.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected]
There are very few personal problems that cannot be solved through  a
suitable application of high explosives.
#2 lore raw
Quoted 12 lines · --- Wolfgang Denk

In message <[email protected]>

Quoted 1 line · you

I found the subject "ELDK 3.1.1 support for x86_64 host

architecture" in the archives (Apr 15 2005) which describes my problem, however there was never any posting of a resolution.

There was none, as there is no problem. ELDK 3.1.1 (and
later
versions) runs fine on x86_64 hosts, assuming you're using any sane
Linux distribution. For example:

Quoted 12 lines

-> ppc_8xx-gcc -v
Reading specs from /opt/eldk-3.1.1/usr/bin/../lib/gcc-lib/ppc-linux/3.3.3/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --with-newlib --enable-languages=c,c++ --disable-libgcj --host=i386-redhat-linux --target=ppc-linux
Thread model: posix
gcc version 3.3.3 (DENX ELDK 3.1.1 3.3.3-9) ------------------------^^^^^^^^^^

There is something wrong with your Suse installation. I have been using ELDK with Suse(9.2 and 10.1) since 2004 without any problems...

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

#3 lore raw
Quoted 3 lines · In message <[email protected]> you wrote:

There is something wrong with your Suse installation. I have been using ELDK with Suse(9.2 and 10.1) since 2004 without any problems...

Good to hear. But I heard similar reports before. Eventually they are just missing some compatibility packages. I have no idea. I keep my fingers off SuSE.

Best regards,

Wolfgang Denk

Signature · 3 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected]
Were there fewer fools, knaves would starve.              - Anonymous
#4 lore raw
In reply to Wolfgang Denk
Quoted 8 lines · Wolfgang Denk

Yes, SuSE has always found interesting ways to break compatibility. That's why I avoid it. IIRC, SuSE provides a special tool "linux32" which has to be used to run 32-bit applications on a x86_64 system.

Don't ask me why they need it. Other distros run the 32-bit applications just fine without such intricacy.

I don't know about SUSE, but to get ELDK 4.0 running on my Debian x86_64 server I had to install a package called 'ia32_libs'.

regards,
Ben