[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Revisiting Espresso (Wii U) Support



Hi Kurt,

On Fri, 2025-08-08 at 21:13 +0000, Kurt Stine wrote:
> I'm open to either. Glibc and GCC should be the only source code patches.
> When compiling, "mcpu=espresso" and "mno-altivec" will both need to be
> passed to the make commands, but nothing else in-depth should be needed.

You can patch both glibc and gcc on either build platforms. Additional default
compiler flags can be put into the default spec for gcc, I assume you know
how to do that?

> Does OBS only support running on x86? Unless I'm reading something wrong,
> the documentation seems to suggest it. I have a couple ARM machines that
> could handle cross-compile duties, but my x86 machines are relatively weak.

OBS workers can be on the same machine as the OBS master, but they don't have
to be. If you already have Wii U machines running some sort of Linux, you can
set up a OBS worker on these and have them build the package for the OBS master.

You can, of course, also use QEMU for that. Not sure about cross-compiling which
isn't very mature on Linux, I would say.

FWIW, I am currently working on a custom build of Debian m68k with a default
alignment of 32 bits and I would basically need to go through the same steps
as you provided that you would want to use Debian as well.

However, I have not set up my own instance of wanna-build yet (the Debian job
server for package builds). I have set up plenty of buildds though (those are
the builders or workers which perform the actual package builds).

> As far as userbase, I'd be surprised if the potential userbase for the Wii U
> was any smaller than x32 (would love to be surprised though!).

Well, x32 is far easier to set up and basically has the usecase of verifying
the toolchain on 32-bit x86_64. It helps finding bugs.

For a start, I would suggest looking into the rebootstrap project. This allows
you to patch both gcc and glibc and then run a script to build around 600
initial Debian packages for your specific target configuration.

I suggest you join #debian-bootstrap on OFTC IRC if you have question on the
process. My nickname is "cbmuser" on IRC and you will find me there, too.

The main author behind rebootstrap is Helmut Grohne. His nick is "helmut".

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: