Search results

  1. slygamer

    GP2X Open2x Toolchain On Windows

    I want to checkout the source code using SVN for Win32 on Windows without MSYS or any other pseudo Linux environment. I do not want any pseudo Linux environment on my machine. That is why I currently use devkitPro. I was wanting to check out open2x, but obviously that's not possible in a...
  2. slygamer

    GP2X Anyone Got A Backtrace Working In Code?

    This is what I was reading in the glibc documentation: Also, you may need to pass additional flags to the linker to make the function names available to the program. (For example, on systems using GNU ld, you must pass (-rdynamic.) Still doesn't work for me (using -g and/or -rdynamic with gcc...
  3. slygamer

    GP2X Open2x Toolchain On Windows

    It has nothing to do with MSYS, which I do not have installed. This is just during the SVN checkout of the source. The two filenames differ only in case and Windows does not allow that.
  4. slygamer

    GP2X Open2x Toolchain On Windows

    I don't know, because the SVN checkout always fails when trying to grab the second file. I'll try looking it up in the web-based repository browser on sourceforge. Edit: They are different, and simply declare a single struct each. It also looks like ipt_tcpmss.h used to be called...
  5. slygamer

    GP2X Anyone Got A Backtrace Working In Code?

    According to the documentation, it should be as simple as compiling with debug information (-g) and not stripping the debug information out during the link.
  6. slygamer

    Gp2x Squeals

    Some are. I've noticed several machines here at work that have the keyboard and mouse lights still shining brightly even when the PC is turned off.
  7. slygamer

    Gp2x Squeals

    I had left my GP2X off, but still plugged in to the power adaptor (powered on) and USB connected to the PC (also off). It had been like this from midnight through till 6:30pm, so about 18 and a half hours. After this time, the GP2X was squealing softly, like a mosquito, even though it was...
  8. slygamer

    GP2X Open2x Toolchain On Windows

    Has anyone successfully downloaded the open2x toolchain source code to Windows? It fails because there are two files in toolchain\linux-headers-2.6.12.0\include\linux\netfilter_ipv4 that only differ in case (ipt_TCPMSS.h and ipt_tcpmss.h). This may be legal and possible on a case-sensitive...
  9. slygamer

    GP2X Anyone Got A Backtrace Working In Code?

    Ok. I'll give that a try when I get home. Edit: Unfortunately, it did not work. I still only get the function addresses from backtrace_symbols(). Oh well, I guess that backtrace_symbols() just cannot do it, even though gdb can do it with the same executable.
  10. slygamer

    Gp2x Australia Community

    Once you sort out the wheat from the chaff on this site, you're left with not a lot of interesting threads, especially for developers who have no interest in the whole pirate-centric emulation business ("we won't tell you where to get ROMs from, because that's illegal, but we love discussing the...
  11. slygamer

    GP2X Anyone Got A Backtrace Working In Code?

    Yes, using -g for the compiler and -rdynamic for the linker. -rdynamic is recommended by the GNU documentation, but I don't know if devkitGP2X supports it because it is not listed by "arm-linux-gcc -v --help".
  12. slygamer

    Template --> Headache!

    The compiler needs to know the complete template at the time the template is used. If you split the template declaration over a .h and a .cpp, then the compiler only sees half the template and it cannot generate the code for the template instantiation.
  13. slygamer

    GP2X Anyone Got A Backtrace Working In Code?

    I'm trying to output the callstack, or backtrace, in my programs if an assert fails. I'm using the following code which seems to be the proper way to call the backtrace functions. void *stack[32]; unsigned long stackSize = backtrace(stack, 32); char **strings = backtrace_symbols(stack...
  14. slygamer

    GP2X Static Library Creation

    Excellent.
  15. slygamer

    Using The Hardware Blitter To Blit 12bit To The 16bit Screen?

    The blitter only knows how to handle 8bit and 16bit pixel formats. On loading the 12-bit format, you would have to use a function to expand it to 16-bit before being able to use the blitter with it.
  16. slygamer

    GP2X Static Library Creation

    Sorry. I got snowed under by meeting a deadline at work. I'm just re-installing VC++ 2005 Express on my machine now, but I thought I would take a look at the history on the wiki page, and sure enough there were a couple of lines that had been deleted previously (as part of a mass deletion by...
  17. slygamer

    Setting Up A Dev Environment With Visual Studio 2005

    http://wiki.gp2x.org/wiki/Using_Visual_C_2...Express_Edition
  18. slygamer

    GP2X Static Library Creation

    Hmm... ok. Looks like I left out a step there. I will work it out when I get home tonight because I am in the process of setting up a new PC to build GP2X applications, so I will be going through the steps anyway.
  19. slygamer

    Ubuntu Development Ide

    So why is it trying to create a directory called open2x in the root of the filesystem? One thing I've learnt many times from trying to build things from source is that it is never as easy as just typing 'make'.
  20. slygamer

    GP2X Static Library Creation

    Did you follow each step exactly as in the wiki? Most importantly, the step in bold.
Back
Top