Search found 1344 matches

by WinterMute
Sat Mar 09, 2019 1:51 am
Forum: 3DS Development
Topic: dynamic loading without dlopen?
Replies: 1
Views: 95

Re: dynamic loading without dlopen?

The short answer to this is you don't and you shouldn't dynamically load executable code at runtime in this environment. Everything is statically compiled so there's no easy way to make it work and you just end up with brittle code that tends to fail when the tools are updated. A plugin architecture...
by WinterMute
Sat Mar 09, 2019 1:03 am
Forum: GBA Development
Topic: Yet another compiling issue thread
Replies: 4
Views: 166

Re: Yet another compiling issue thread

Ah. I feel stupid, it turns out the order in which source files and library linking arguments are passed to gcc is important. :P Putting the $(STEP1ARGS) and $(STEP2ARGS) variables at the end of the compilation commands (after the source files) fixed the errors I was getting. Sorry to anyone readin...
by WinterMute
Sat Mar 09, 2019 12:50 am
Forum: GBA Development
Topic: Yet another compiling issue thread
Replies: 4
Views: 166

Re: Yet another compiling issue thread

installed devkitpro You installed devkitARM. devkitPro is the organisation that provides the tools & libraries. Here is the simple makefile I'm using (I'm not very good at writing makefiles, so I might have done some things wrong): This is one of the reasons I want to redo the tonc Makefiles as sta...
by WinterMute
Wed Mar 06, 2019 6:24 pm
Forum: Switch Development
Topic: How to use svcSetThreadCoreMask
Replies: 2
Views: 162

Re: How to use svcSetThreadCoreMask

Don't try to use svc functions at all. The easiest thing for you is probably C11 threads right now, see https://en.cppreference.com/w/c/thread
by WinterMute
Thu Feb 28, 2019 12:44 pm
Forum: Gamecube/Wii Development
Topic: Network functions on GameCube
Replies: 3
Views: 209

Re: Network functions on GameCube

People mostly didn't do much with gamecube network code - the BBA became quite hard to get hold of at a reasonable price thanks to scalpers. I'm not sure how much better it is now, they still seem to be attracting prices far in excess of what I paid for mine new. FWIW I always meant to look at addin...
by WinterMute
Thu Feb 28, 2019 11:34 am
Forum: 3DS Development
Topic: ./configure for cross compilation
Replies: 3
Views: 194

Re: ./configure for cross compilation

Check what you're trying to compile isn't already supplied via pacman, you can see what we have at https://github.com/devkitPro/pacman-packages/tree/master/3ds or by listing using pacman -Ss 3ds- If it's not already available then install pkg-config & devkitpro-pkgbuild-helpers so you can source /op...
by WinterMute
Thu Feb 28, 2019 1:01 am
Forum: Switch Development
Topic: Compiled ftpd crashes
Replies: 3
Views: 191

Re: Compiled ftpd crashes

libnx updates for improved console rendering broke the old code.
by WinterMute
Thu Feb 28, 2019 12:48 am
Forum: Gamecube/Wii Development
Topic: Network functions on GameCube
Replies: 3
Views: 209

Re: Network functions on GameCube

These functions are provided by libbba on gamecube. See https://github.com/devkitPro/gamecube-e ... kefile#L36
by WinterMute
Wed Feb 27, 2019 11:58 pm
Forum: Switch Development
Topic: Compiled ftpd crashes
Replies: 3
Views: 191

Re: Compiled ftpd crashes

That repository isn't up to date I should probably delete it. you'll find the latest release at https://github.com/mtheall/ftpd/releases
by WinterMute
Mon Feb 25, 2019 10:41 am
Forum: devkitPPC
Topic: Can't find solution for "Please set DEVKITPPC in your environment. export DEVKITPPC=<path to>devkitPPC"
Replies: 5
Views: 339

Re: Can't find solution for "Please set DEVKITPPC in your environment. export DEVKITPPC=<path to>devkitPPC"

I found a solution actually, I have to run make while signed in to the root account or while using "sudo bash", it doesn't work if I use sudo make though which is interesting. I wonder why this is. Copy the template, don't try to compile it in place. I've edited the poor instructions you finally de...