[prev in list] [next in list] [prev in thread] [next in thread]
List: dng
Subject: Re: [DNG] /usr merge
From: Alessandro Vesely via Dng <dng () lists ! dyne ! org>
Date: 2023-01-30 11:14:13
Message-ID: dd05ce23-b3ef-2783-9983-37e7792972b5 () tana ! it
[Download RAW message or body]
On Sun 29/Jan/2023 15:12:44 +0100 tito wrote:
> On Sun, 29 Jan 2023 14:59:39 +0100
> Harald Arnesen via Dng <dng@lists.dyne.org> wrote:
>
> > tito via Dng [29/01/2023 14.45]:
> >
> > > > However, just the kernel is well over the size of a floppy.
> > > Not the kernel you need to boot a floppy...
> > >
> > > http://www.cs.cornell.edu/courses/cs414/2004su/homework/bootableLinux/bootable_linux.html
> > >
> >
> > Linux 2.4.25...
>
> https://hackaday.com/2021/05/24/running-modern-linux-from-a-single-floppy-disk/
Also look at a 2018 message showing a short version of sleep compiled with nolibc:
$ echo "int main() { return sleep(3);}" | gcc -Os -nostdlib -include \
../nolibc/nolibc.h -s -fno-exceptions -fno-asynchronous-unwind-tables \
-fno-unwind-tables -lgcc -o sleep -xc - $ ls -l sleep
-rwxr-xr-x 1 willy users 664 Aug 23 20:37 sleep
https://lwn.net/ml/linux-kernel/20180823190657.GA12057%401wt.eu/
At mine, for comparison, there's a 66-fold bloat:
ale@pcale:~/tmp$ ls -l `which sleep`
-rwxr-xr-x 1 root root 43808 Sep 24 2020 /bin/sleep
Best
Ale
--
_______________________________________________
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic