SliTaz SliTaz Forum

You are not logged in.

#1 2016-07-12 11:29:45

AnhHuynh
Member
Registered: 2016-07-08
Posts: 23

A question about 64-bit version (cooking)

Hi,

I'm using SliTaX 64-bit version (cooking). The [c]uname -a[/c] displays correctly the system architecture, but the command [c]file /bin/bash[/c] shows that [c]/bin/bash[/c] is still a 32-bit exectuable file.

My questions

1/ How can these 32-bit applications run on 64-bit system? (On Ubuntu, a 32-bit version of [c]glibc[/c] is required)

2/ Is there a status page for 64-bit process? I can see a few packages at http://f.archlinuxvn.org/slitaz/packages/cooking/. Is there any problem behind the scene?

As long as I know what is in progress I would give my hands to help the project!

Thanks a lot,

Offline

#2 2016-07-13 20:33:28

oui
Member
Registered: 2012-09-05
Posts: 297

Re: A question about 64-bit version (cooking)

old and actual SliTaz are 32 bit. The 64 ISO has only a 64 bit kernel. This is important to manage your memory... The app's are all 32 bit!

Offline

#3 2016-07-21 22:28:26

AnhHuynh
Member
Registered: 2016-07-08
Posts: 23

Re: A question about 64-bit version (cooking)

What if a java program wants to allocate more than 4GB in memory?

Offline

#4 2016-07-25 20:12:00

alanyih
Administrator
Registered: 2011-04-02
Posts: 532

Re: A question about 64-bit version (cooking)

1. slitaz-rolling-base64.iso

http://forum.slitaz.org/topic/64-bit-version/page/2#post-35725

It is a live cd (based on base flavor) with a 64 bits kernel and a fully featured 64 bits environment (no desktop). You can download it on https://googledrive.com/host/0B7R739rLD0ezWFJyOTFEM1pGa0U/iso/slitaz-rolling-base64.iso.

2. slitaz-toolchain-x86_64

http://forum.slitaz.org/topic/64-bit-version/page/2#post-35764

2.

    root@slitaz:~# gcc -v

    Using built-in specs.

    COLLECT_GCC=gcc

    COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-slitaz-linux/4.7.0/lto-wrapper

    Target: x86_64-slitaz-linux

    Configured with: /home/slitaz/wok/gcc/source/gcc-4.7.0/configure --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-nls --enable-languages=c,c++ --enable-shared --with-system-zlib --enable-clocale=gnu --enable-objc-gc --enable-__cxa_atexit --enable-lto --enable-threads=posix --disable-bootstrap --disable-multilib --with-pkgversion='SliTaz x86_64' --build=x86_64-slitaz-linux --host=x86_64-slitaz-linux

    Thread model: posix

    gcc version 4.7.0 (SliTaz x86_64)

    3.

    root@slitaz:~# grep -e gcc -e glibc -e binutil /var/lib/tazpkg/installed.md5

    ed7e640faa25b649a1982e15a5b50e0a  glibc-base-2.14.1-x86_64.tazpkg

    3fd4cd98098c520228de91634a00ebed  gcc-lib-base-4.7.0-x86_64.tazpkg

    244eb9492ea14927dd702c8c14765136  binutils-2.23.1-x86_64.tazpkg

    312a13d0e6f76db4bdc8e60b6fa4e65f  glibc-2.14.1-x86_64.tazpkg

    1bafe2146ae7df8af010c76209dee697  glibc-locale-2.14.1-x86_64.tazpkg

    3f3e451a423191d147d0275653c487f9  glibc-extra-samba-2.14.1-x86_64.tazpkg

    e0c9b45a48ce73d3dcc69e5d5ca0d726  glibc-dev-2.14.1-x86_64.tazpkg

    c615bb41bd59991d2317743f804e1a98  gcc-4.7.0-x86_64.tazpkg

3. cook package

5.

    root@slitaz:~# cook zlib

    Setup aufs chroot...

    Cook: zlib 1.2.8

    ================================================================================

    QA: checking package receipt...

    Connecting to switch.dl.sourceforge.net (130.59.112.131:80)

    [..]

    Package: zlib-1.2.8-x86_64.tazpkg

    Summary for: zlib 1.2.8

    ================================================================================

    Source dir : 4.1M

    Src file : zlib-1.2.8.tar.xz

    Src size : 444.0K

    Produced : 384.0K

    Packed : 124.0K

    Compressed : 40.0K

    Files : 3

    Cook time : 7s

    Cook date : 2015-01-23 12:52

    Host arch : x86_64

    ================================================================================

4. docker slitaz/slitaz-base image

Pull this repository: docker pull slitaz/slitaz-base

http://forum.slitaz.org/topic/slitaz-docker-support/page/2#post-35186

slitaz/rolling-base image

Pull this repository : docker pull slitaz/rolling-base

http://forum.slitaz.org/topic/slitaz-docker-support/page/2#post-37030

Offline

#5 2016-07-26 07:41:49

AnhHuynh
Member
Registered: 2016-07-08
Posts: 23

Re: A question about 64-bit version (cooking)

Thanks a lot, alanyih.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]