-
Senior Member
registered user
Hi Gilles,
I was able to compile and run the pi benchmark program on Knoppix 6.7.1 DVD after I had installed gcc-4.6-multilib and some other packages of the Debian unstable branch (sid).
Here is a short overview of my approach.
0. apt-get update
1. download new libc6, libc6-dev (unstable): apt-get -d -t sid install libc6 libc6-dev
2. switch to runlevel 2 to avoid complications with running applications: init 2
3. upgrade libc6:
chroot /UNIONFS/
apt-get -t sid install libc6 libc6-dev
exit
4. switch back to runlevel 5: init 5
5. apt-get -t sid --reinstall install libc6-dev-amd64 gcc-4.6-multilib lib64gcc1
6. download and extract pi_quick_start.tar.gz
7. change to the new directory pi_quick_start
8. edit the file start.sh: find the two lines beginning with "cc" and replace "cc" with "gcc -m64"
9. set environment variable CFLAGS: export CFLAGS=-m64
10. run the script: ./start.sh
Best Regards
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Dell 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray
$39.99

Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5" 512e HDD NetApp X375A
$64.00

HGST Ultrastar HUS726040AL5210 4TB 7200RPM SAS 12Gb/s Enterprise HDD
$41.00

Tested WD Ultrastar DC HC520 12TB 7.2K RPM SATA 6Gb/s 3.5" HDD HUH721212ALN600
$239.99

Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE
$68.99

Seagate Barracuda ST1000DM003 1 TB SATA III 3.5 in Desktop Hard Drive
$23.99

Seagate ST3000NM0005 HDD 3TB SATA 6Gb/s 7.2K 3.5" 512 b/s
$59.00

Toshiba 14TB MG07 MG07ACA14TEY 7.2K RPM SATA 6Gb/s 512e 3.5" Enterprise HDD
$339.00

Seagate ST8000NM0075 Enterprise Capacity 3.5 HDD 8TB SAS Hard Drive 8TB EXOS
$184.99

Lot of 3 1TB Samsung WD Toshiba SATA 2.5" HDD Hard Drives - Wiped and Tested
$79.99