jeff wrote:

Hi dan9er,

We have someon working on updating the support for PPC and testing it for wii. After touching base with them I was able to compile.

[snip]

Any ideas if it's possible to compile the examples and run on 3ds?

If you are able to test on hardware, can you share the results?

Depends:

  • How is testing for devkitPPC handled, if at all?

  • How do the tests express success or failure? If they just print to console, libctru has a console renderer that can be used with some setup.

  • libctru provides BSD style sockets. Will it play nice with wolfSSL?

Also I looked through ./configure's options, and I have some suggestions:

  • --enable-32bit - ARMv6K is 32-bit.

  • --enable-singlethreaded - Like I've stated in OP, in Old3DS userland we only get one 1 thread to ourselves.

  • --disable-filesystem (maybe) - There are 2 filesystem access systems on libctru: romfs (linked with executable) and sdmc (SD card access). If wolfSSL handles file reading/writing itself, then this may be a problem.

I'm making a Gemini client for the Nintendo 3DS. The Gemini protocol requires TLS 1.2 and recommends 1.3, which is why I am seeking to use wolfSSL instead of mbedtls.

What configure flags should I use to build it for static linking in a userland Nintendo 3DS app?

I've noticed wolfSSL supports Wii/Gamecube via devkitPPC:
https://github.com/wolfSSL/wolfssl/blob … 00-1212009
This likely can be modified to work with devkitARM

dkP devs have made a cURL port:
https://github.com/devkitPro/pacman-pac … r/3ds/curl
But cURL has rejected Gemini support.

Example library makefile provided by dkP:
https://github.com/devkitPro/3ds-exampl … y/Makefile

The (New) Nintendo 3DS has:

  • 2 (4) ARM11/ARMv6K threads, one is shared with the system

  • 1 ARM9 thread, system reserved

  • 128 (256) MB of RAM, 32 (64) MB system reserved

Edit: word choice