sysklogd

George Boudreau 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.
>>
>>> http://www.linuxfromscratch.org/~robert/new/dd.asm
>>> 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.

> 
> robert
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: dd.s.bz2
Type: application/octet-stream
Size: 2477 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/hlfs-dev/attachments/20070524/320751c6/attachment.obj>


More information about the hlfs-dev mailing list