-
Senior Member
registered user
Re: HowTo get the 64 bits compile & Run Time environment for Knoppix 7.6.0 ?
Some time ago you provided a HowTo get the 64 bits compile & run time environment for Knoppix 7.0.2
Hi Gilles!
Under Knoppix 7.6.0 I did the following to run 'Three Million Digits PI Calculation'.
I booted Knoppix 7.6.0 with 64 bit kernel in VirtualBox 5.0.10 on a MS Windows 8.1 host. I used a virtual machine with 2 cores and 3072 MB of RAM.
In an LXTerminal I did some preparing steps.
Code:
sudo apt-get update
sudo apt-get install time
sudo apt-get -t testing install libc6-dev-amd64
mkdir /home/knoppix/src
cd /home/knoppix/src
wget http://h2np.net/pi/pi_quick_start.tar.gz
tar xf pi_quick_start.tar.gz
cd pi_quick_start
export CFLAGS=-m64
I loaded start.sh into a text editor and replaced all occurences of 'cc ' with 'gcc -m64 '. I saved the file and closed the text editor.
I issued and answered all questions with 'y'. I got the following result.
Start and wait for a while...done
Command being timed: "./pi 3000000"
User time (seconds): 2.06
System time (seconds): 0.09
Percent of CPU this job got: 99%
Elapsed (wall clock) time (h:mm:ss or m:ss): 0:02.16
Type any key for finish
The command 'file pi' gave
pi: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, for GNU/Linux 2.6.32, BuildID[sha1]=88fc7ab989da115e5771ec97aefe8d964726a127, not stripped
Btw. I am _not_ the inventor of Knoppix.
Best Regards.
-
Hi Klaus,
It helps to know that the new name for this library is: libc6-dev-amd64.
It works great. Thank you very much.
Best Regards,
Gilles
PS: If not you who is the inventor of Knoppix ?
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

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack
$826.09

TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot
$573.98

1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot
$202.50

Microsoft Office 2021 Pro Plus USB for 1PC Windows 10 & 11
$62.55

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot
$285.90

LOT 7x Hynix 32gb PC4-2400T 2Rx4 DDR4 ECC RDIMM Memory HMA84GR7AFR4N-UH - PARTS
$840.00

(8) Micron 32GB DDR4 ECC RDIMM PC4-2933Y Server Memory MTA36ASF4G72PZ *TESTED*
$1599.00

Samsung 32GB DDR4-2666V-2Rx4-RB2-12 RAM M393A4K40CB2-CTD6Q
$169.00

MICRON MTA36ASF4G72PZ-2G6D1 32GB PC4-21300R DDR4-2666V RDIMM 2RX4 MEMORY DIMM
$139.99

Wholesale 5/10/100PCS 1GB 2GB 4GB 8GB 16GB 32GB USB 2.0 Flash Drive Memory Stick
$289.80