[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: assembler [was: Re: cheers for gogo]
On Tue, Mar 14, 2000 at 09:38:14AM -0000, Foz wrote:
> The Linux compile only brings in 12 - 15 k of library code, whereas
> the dos equivalent (DJGPP) brings in 100k - yup HelloWorld.exe in
> C is 100k, asm HelloWorld.com is 18 bytes. I like.
By the way, has anyone seen ELFkickers? It produces the following
tiny binaries:
-rwx--x--x 1 128 Mar 14 09:54 cat
-rwx--x--x 1 1000 Mar 14 09:54 factor
-rwx--x--x 1 59 Mar 14 09:54 hello
-rwx--x--x 1 192 Mar 14 09:54 hexdump
-rwx--x--x 1 45 Mar 14 09:54 true
These are in fact written in assembler and assembled using nasm.
The best I can do with a 'normal' assembler program for
hello world is 448 bytes...
-- Owen
LeBlanc [at] mcc.ac.uk
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word
"unsubscribe" in the body of the message.
GNU the choice of a complete generation.