georgeb at linuxfromscratch.org
Thu May 24 19:19:31 PDT 2007
Robert Connolly wrote:
> On Wednesday May 23 2007 06:16:14 pm George Boudreau wrote:
>> Robert Connolly wrote:
>>> Do any of you know assembly well enough to convert this:
>> It has been a few years.
>>> to something gcc can compile?
>> Are you looking to convert this to 'C' or just strip the unnecessary code
>> And remove all the options, making bs=1 the
> To convert to at&t/gnu dialect assembly, with the options removed.
Now I remember why I gave up assembler for 'C'. But I have a stripped
down version of your dd that compiles with
gcc -c dd.s
ld -o dd dd.o
strip dd give 884 bytes.
The comments are sparse and I will add to them shortly. With a 1-byte
block size copy large files is not recommended.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2477 bytes
Desc: not available
More information about the hlfs-dev