[OpenIndiana-discuss] Switch ARCH to 64-bit

Stephan Althaus Stephan.Althaus at Duedinghausen.eu
Fri Oct 26 15:50:28 UTC 2018


Hello!


While i am experimenting with pkgsrc
i stumbled over the fact, that my machine is only 32bit,
whereas the ELF header of some brogs shows 64bt

i'm confused

while bmake in net/nmap

pkg_add: SunOS/x86_64 5.11 (pkg) vs. SunOS/i386 5.11 (this host)


BUT programs are 64bit


root at oi:/tank/pkgsrc/pkgsrc/net/nmap# elfdump -e `which mc`
ELF Header
   ei_magic:   { 0x7f, E, L, F }
   ei_class:   ELFCLASS64          ei_data:       ELFDATA2LSB
   ei_osabi:   ELFOSABI_SOLARIS    ei_abiversion: EAV_SUNW_CURRENT
   e_machine:  EM_AMD64            e_version:     EV_CURRENT
   e_type:     ET_EXEC
   e_flags:                     0
   e_entry:              0x440230  e_ehsize:     64  e_shstrndx: 33
   e_shoff:              0x1436c0  e_shentsize:  64  e_shnum: 34
   e_phoff:                  0x40  e_phentsize:  56  e_phnum:     7
root at oi:/tank/pkgsrc/pkgsrc/net/nmap#


Finally, i would like to switch to 64bit - if theres something to swittch..


Thanks for any hints,
Stephan





More information about the openindiana-discuss mailing list