[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Linux V Dos linking [was: Re: assembler [was: Re: cheers for gogo]]
On Tue, 14 Mar 2000, 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.
That'll be because the Linux version can handle dynamic linking to the
main library (libc.so,) but DOS can't, so it has to statically link in
the system library to every executable (libc.a). That's DOS for ya...
Bob
--
Bob Ham: bob [at] timecity.org http://flux.mentaltempt.org/~node/
IRC: 'node' on SlashNET (devnull.slashnet.org:6667): #Slashdot #TimeCity
ICQ: 4396425 'The Tek' & 27699423 'The Tek.'
Time City Level Designer
Time City: http://www.timecity.org/
My work: http://flux.mentaltempt.org/~node/tc/
This email is Copyright (C) 2000 Robert Ham. Copyright is protected in law
in the UK and by treaty in other countries. Permission to reproduce is
strictly forbidden. If you wish to reproduce this email's content, please
apply by email to bob [at] timecity.org.
---------------------------------------------------------------------
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.