[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compiling shred on 386
From: |
Sean Young |
Subject: |
Compiling shred on 386 |
Date: |
Fri, 15 Jun 2001 17:22:44 +0200 |
I was trying to compile shred (from fileutils-4.1) on an machine with an
older compiler, which failed because the "rdtsc" intel instruction is only
available on Pentium class processors (quote from Nasm documentation):
A.141 RDTSC: Read Time-Stamp Counter
RDTSC ; 0F 31 [PENT]
RDTSC reads the processor's time-stamp counter into EDX:EAX.
This in struction is used on line 836. As far as I know, there is no
similar instruction on the 386 or 486; the only solution I can think of is
to use the generic (C) version on these machines.
So the patch should be: sed s/__i386__/__i686__/g
Thanks for all the good work,
Sean Young
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Compiling shred on 386,
Sean Young <=