[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

/emul /lib32 /lib64



Hi all,

In office i have a box dual xeon 64 bits (linux-image-2.6.17-1-em64t-p4-smp) and another box pentium 4 D 64 bits (linux-image-2.6.17-1-em64t-p4). The dual xeon is a base Debian Sid system with sendmail and the p4d have x, gnome, kde, etc (Debian Sid).
In both i use the amd64 net-inst etch cd, and then upgrade to Sid.
Why in the p4d i have /emul /lib32 and /lib64?
I think with the /emul and /lib32 i can run 32bits software, so i try this:

#include <iostream>
using namespace std;
int main() {
       cout << "32 bits cout test\n";
       return 0;
}

But the binary created in one 32bits box don't run in both 64bits boxes.

Some ligth here please.
Thanks in advance.

Jonas



Reply to: