Search found 9 matches

by DrTwox
Thu Sep 20, 2012 8:22 am
Forum: Suggestions and Feedback
Topic: gcc-4.7.x for devkitPPC?
Replies: 1
Views: 28876

gcc-4.7.x for devkitPPC?

Just wondering if a devkitPPC release with gcc-4.7.x is in the pipeline? I'm keen to start using more C++11 features in my Wii code!
by DrTwox
Sat Oct 09, 2010 9:52 am
Forum: devkitPPC
Topic: Is gdb support broken for Wii apps?
Replies: 2
Views: 6724

Re: Is gdb support broken for Wii apps?

Cheers! Works again. Keep up the excellent work guys.
by DrTwox
Fri Oct 08, 2010 12:22 pm
Forum: devkitPPC
Topic: Is gdb support broken for Wii apps?
Replies: 2
Views: 6724

Is gdb support broken for Wii apps?

I had to use the debugger for the first time in a while today, but the _break() call crashes the app!

Add to template.c in the Wii examples:

#include <debug.h>

int main( int argc, char **argv ) {
DEBUG_Init(GDBSTUB_DEVICE_USB, 1);
_break();
...
}
Compiled and linked with -ldb
I get "Exception ...
by DrTwox
Sat Dec 05, 2009 4:59 am
Forum: devkitPPC
Topic: Speed or size when compiling newlib to devkitPPC?
Replies: 1
Views: 3606

Speed or size when compiling newlib to devkitPPC?

Digging around in the newlib code I see a lot of functions can be compiled with either code size OR speed in mind; which does devkitPPC use?
by DrTwox
Thu Jul 02, 2009 6:15 am
Forum: Bug Reports
Topic: [libogc] network.h - change name of structure
Replies: 0
Views: 3837

[libogc] network.h - change name of structure

In network.h struct pollsd should be renamed struct pollfd to preserve compatibility/portability between ogc's socket net_poll() code and posix poll() code.

I could be even more wrong in saying this, but the struct should look like this...

struct pollfd {
s32 fd; /* Rename from 'socket' to 'fd ...
by DrTwox
Tue Mar 03, 2009 11:05 am
Forum: devkitPPC
Topic: wcscasecmp and wcsncasecmp not available?
Replies: 0
Views: 3689

wcscasecmp and wcsncasecmp not available?

http://www.opengroup.org/onlinepubs/969 ... secmp.html

I presume these two functions are not in devkitPPC/newlib as they don't appear to be in wchar.h. Is this a limitation of devkitPPC/newlib locale support or are they GNU only extensions, not standard?
by DrTwox
Wed Aug 27, 2008 2:04 am
Forum: Bug Reports
Topic: libtinysmb unstable/unusable
Replies: 2
Views: 6037

Re: libtinysmb unstable/unusable

Nevermind points 1 and 3, the CVS build fixes it... but I still find point 2 (large readsizes) causes problems.
by DrTwox
Sat Aug 23, 2008 3:12 am
Forum: Bug Reports
Topic: libtinysmb unstable/unusable
Replies: 2
Views: 6037

libtinysmb unstable/unusable

Hi all.

I've made a small app (with source) that demonstates some problems with libtinysmb.

You will need to create a smb.conf file on your SD card (an example is included in the zip file) and have a file of suitable size on your smb share to test with.
There are two #defines in the source to ...
by DrTwox
Fri Aug 22, 2008 10:47 am
Forum: Gamecube/Wii Development
Topic: libtinysmb example?
Replies: 1
Views: 5477

Re: libtinysmb example?

I see your post is almost a month old - but just in case you're still here, or haven't got it working yet....

If you're having link errors make sure your LIBS line in your Makefile includes -ltinysmb. Mine looks like this:
LIBS := -lwiiuse -lbte -lfat -logc -ltinysmb -lm -lz

As for example code ...