http://forum.slitaz.org/topic/64-bit-version/page/2#post-35764
1.
root@slitaz:~# spk info
Spk info ================================================================================ Architecture : x86_64 Database : /var/lib/tazpkg/installed Cache info : 0 /var/cache/tazpkg Mirror URL : https://googledrive.com/host/0B7R739rLD0ezWFJyOTFEM1pGa0U/packages/ Extra mirrors : 0 Installed : 118 Mirrored : 379 ================================================================================ 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 root@slitaz:~# 4. root@slitaz:~# cook test Setup aufs chroot... Cook: cooktest 1.0 ================================================================================ QA: checking package receipt... Executing: compile_rules CFLAGS : ./configure && make && make install ----------------------------------- * Log file : /home/slitaz/log/cooktest.log * Package : make is installed ================================================================================ Pack: cooktest 1.0-x86_64 ================================================================================ Executing: genpkg_rules cp -a $install/usr/bin $fs/usr ------------------------------ * $fs : /home/slitaz/wok/cooktest/taz/cooktest-1.0/fs" * $stuff : /home/slitaz/wok/cooktest/stuff" * $install : /home/slitaz/wok/cooktest/install" * $src : /home/slitaz/wok/cooktest/source/cooktest-1.0" NOTE: Create, copy files from $install or $stuff End of receipt: press ENTER to continue Copying receipt... [ Done ] Creating the list of files... [ Done ] Executing strip on all files... [ Done ] Creating md5sum of files... [ Done ] Compressing the fs... [ Done ] Updating receipt sizes... [ Done ] Creating full cpio archive... [ Done ] Restoring original package tree... [ Done ] QA: checking for empty package... [ Done ] ================================================================================ Package: cooktest-1.0-x86_64.tazpkg Summary for: cooktest 1.0 ================================================================================ Produced : 0 Packed : 16.0K Compressed : 4.0K Files : 1 Cook time : 2s Cook date : 2015-01-23 12:48 Host arch : x86_64 ================================================================================ Leaving aufs chroot... root@slitaz:~# 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) [..] Running testsuite ================================================================================ ELF Header: Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 Class: ELF64 Data: 2's complement, little endian Version: 1 (current) OS/ABI: UNIX - System V ABI Version: 0 Type: DYN (Shared object file) Machine: Advanced Micro Devices X86-64 Version: 0x1 Entry point address: 0x20c0 Start of program headers: 64 (bytes into file) Start of section headers: 112136 (bytes into file) Flags: 0x0 Size of this header: 64 (bytes) Size of program headers: 56 (bytes) Number of program headers: 5 Size of section headers: 64 (bytes) Number of section headers: 29 Section header string table index: 26 ================================================================================ Pack: zlib 1.2.8-x86_64 ================================================================================ Executing: genpkg_rules Copying receipt... [ Done ] Creating the list of files... [ Done ] Executing strip on all files... [ Done ] Creating md5sum of files... [ Done ] Compressing the fs... [ Done ] Updating receipt sizes... [ Done ] Creating full cpio archive... [ Done ] Restoring original package tree... [ Done ] QA: checking for empty package... [ Done ] ================================================================================ 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 ================================================================================ Leaving aufs chroot... Updating x86_64 chroot environment... Installation of: zlib ================================================================================ Copying zlib... [ Done ] Extracting zlib... [ Done ] Installing zlib... [ Done ] Removing all tmp files... [ Done ] ================================================================================ zlib (1.2.8) is installed. root@slitaz:~#