On Wed, 23 Apr 2025, Joe wrote:

On Wed, 23 Apr 2025 10:58:52 +0000
Nils <tuxi...@posteo.de> wrote:

Hey!

I'd like to compile all of DVD-1 myself but using `-Oz` to optimize
for binary size rather than speed. How do I do that? Where do I
start? I could only find infos on how to build DVD-1 yourself using
existing binary packages...


How else can you do it? A working compiler is binary code, as are its
auxiliary packages. To compile anything you must use pre-compiled
binaries.

It's a bootstrap job. You start by using a running system to compile a

That's not how I read it.

Off the top of my head I don't know how to change the compile options, DEB_BUILD_OPTIONS perhaps?

But the OP should start with dpkg-buildpackage to rebuild individual oackages.

Once everything is rebuilt, assemble the DVD as normal

There are some possible complications, I'd be inclined to build each package in a container and only install the build deps fir that package - some configure scripts might otherwise detect things they shouldn't
  which might then mess with install depends.

Hope the op has a lot of computing resources...

Reply via email to