Search found 245 matches

by Heimdall
Tue Jan 05, 2010 8:08 pm
Forum: PSP Development
Topic: Problem with PSPLink Windows 7
Replies: 17
Views: 15234

In order to get it the usb driver installed you need to install the driver in xp compat mode with admin rights. psplink uses the old libusb which i doesn't work properly with windows 7. There is an ongoing effort from the libusb team to port the new version to win7 but it is not known when it will b...
by Heimdall
Tue Nov 10, 2009 1:20 am
Forum: PSP Development
Topic: any ideas on how to get libgcov.a working?
Replies: 3
Views: 2850

I've managed to build libgcov.a as expected. However I haven't tested it yet. Since we are using newlib as our c lib implementation gcc assumes we are lot using glibc (and that is correct) but gcov takes this assumption further and assumes that if we do not have glibc we cannot write files, to "...
by Heimdall
Fri Nov 06, 2009 6:34 am
Forum: PSP Development
Topic: any ideas on how to get libgcov.a working?
Replies: 3
Views: 2850

any ideas on how to get libgcov.a working?

gcc builds by default builds gcov but although the pc side of gcov works the linking library as empty functions, or so it seems, does anyone got it to work or knows how to?
by Heimdall
Tue Oct 27, 2009 8:29 pm
Forum: PSP Development
Topic: How to compile PSPSDK in windows.
Replies: 13
Views: 8125

I don't like to depend on someone else work but i want to share my builds with the rest of the world. And i can compile my own libs which is sometimes not possible with heimdals SDK. You don't like to depend on others work but expect others to depend on yours? :) kind of funny philosophy... All lib...
by Heimdall
Sun Sep 20, 2009 5:01 am
Forum: PSP Development
Topic: how can I get a pixel from a triImage?
Replies: 3
Views: 1991

yes i just went out for dinner and realized that i should be using image->stride instead of width. stride is the texture width on the triImage structure.

Thanks!
by Heimdall
Sat Sep 19, 2009 10:16 pm
Forum: PSP Development
Topic: how can I get a pixel from a triImage?
Replies: 3
Views: 1991

how can I get a pixel from a triImage?

I'm trying to use the triengine but I'm facing a dump problem when trying to read a simple pixel from the image. I've load a png image, the image format reports it is IMG_FORMAT_8888 and the bits per pixel are 32. Now when i try to read a pixel in order to get it's color using: triImage *collision =...
by Heimdall
Fri Sep 18, 2009 5:49 pm
Forum: PSP Development
Topic: triEngine on MinPSPW
Replies: 1
Views: 1717

Kind of very late reply but i checked out the code with tortoisesvn (on windows) or svn (linux or open solaris) when to the src and test dirs and did a make with my minpspw installations et voilá! I got the samples to compile and run without needing to change anything!

So yes it works!
by Heimdall
Wed Sep 02, 2009 2:57 am
Forum: PSP Development
Topic: need some ASM help with "bitrev"
Replies: 2
Views: 2678

bitrev is required for libstdc++ using the binutils 2.19.1 definition is can compile a working g++ but i haven't tested it.
by Heimdall
Tue Sep 01, 2009 11:56 pm
Forum: PSP Development
Topic: Physics engine for PSP
Replies: 7
Views: 3512

in the SVN you can find ODE i think version 0.5 and a few time ago on this forum there was a post on a port of Box2D.
by Heimdall
Tue Sep 01, 2009 11:39 pm
Forum: PSP Development
Topic: need some ASM help with "bitrev"
Replies: 2
Views: 2678

need some ASM help with "bitrev"

I've been studying the mips_opcode struct from binutils: struct mips_opcode { /* The name of the instruction. */ const char *name; /* A string describing the arguments for this instruction. */ const char *args; /* The basic opcode for the instruction. When assembling, this opcode is modifie...
by Heimdall
Thu Jul 02, 2009 6:17 am
Forum: PSP Development
Topic: [Announce]: MinPSPW on Win32/Ubuntu 9.04/OpenSolaris 2009.06
Replies: 17
Views: 14069

Why a special linux version? The normal toolchain compiles good and fast at my ubuntu 9.04. Why not? This way I make sure that my build scripts work in any environment, you see, I use exactly the same build script on Windows/Ubuntu/OpenSolaris, so all libs are available on all platforms as also the...
by Heimdall
Fri Jun 26, 2009 5:54 pm
Forum: PSP Development
Topic: [Announce]: MinPSPW on Win32/Ubuntu 9.04/OpenSolaris 2009.06
Replies: 17
Views: 14069

[Announce]: MinPSPW on Win32/Ubuntu 9.04/OpenSolaris 2009.06

I've been working on my build scripts for the SDK and am happy to announce that there are now 3 new builds for: *Win32 *Ubuntu 9.04 *OpenSolaris 2009.06 Windows: https://sourceforge.net/project/downloading.php?group_id=223830&filename=pspsdk-setup-0.9.5.exe Ubuntu: https://sourceforge.net/projec...
by Heimdall
Fri Jun 19, 2009 5:02 am
Forum: PSP Development
Topic: [SOLVED] Help Please!! error in Ubuntu 9.04 when compiling!!
Replies: 4
Views: 4086

I've updated the minpspw build script to work also under linux (ubuntu 9.04). I've a binary build in the site also. If everything goes as planned, I'll be releasing a new build now in sync for Windows/Linux/OpenSolaris. So you have all the same stuff SDK + devpaks + pspsh + remotejoy for all platfor...
by Heimdall
Wed Jun 17, 2009 6:07 pm
Forum: PSP Development
Topic: GCC 4.4.0 and PSP Toolchain
Replies: 18
Views: 6839

the current gcc 4.3.3 buils already with MPFR and GMP, can you detail what are the requirements and how easy is to build the remaining CLOOG and PPL on Linux/Windows/Unix? I've tryed long time ago with my windows box but didn't manage to build them (i didn't spent too much time into it) if you have ...
by Heimdall
Wed May 27, 2009 6:47 am
Forum: PSP Development
Topic: PSP toolchain install problems (Buffer Overflow)
Replies: 19
Views: 16367

To avoid the buffer overflow change the build script of binutils to use no optimizations. CFLAGS=-g

That's how I managed to build the full SDK on ubuntu 9.04 with the stock GCC 4.3.3
by Heimdall
Wed May 27, 2009 6:43 am
Forum: PSP Development
Topic: Win32 native Toolchain for PSPSDK
Replies: 261
Views: 178649

I think from the psplink documentation if you use an OE firmware you must use PRX elf's won't work. From the documentation (page 10): Try and build the sprite sample now as a PRX file. Edit the Makefile and add the line BUILD_PRX=1 after the ASFLAGS line and type make clean; make. You should now hav...
by Heimdall
Tue May 19, 2009 6:33 am
Forum: PSP Development
Topic: Win32 native Toolchain for PSPSDK
Replies: 261
Views: 178649

you're not it is my fault i build the sdk with my experimental patches, sorry about that...
by Heimdall
Wed May 06, 2009 5:35 pm
Forum: PSP Development
Topic: GCC 4.4.0 and PSP Toolchain
Replies: 18
Views: 6839

What have the upgrades to gcc & binutils given us other than headaches and more threads on the toolchain not compiling properly? Have there been any advantages? Are there any advantages to further upgrading? There have been some benefits. On the GCC side lots of things have improved you can che...
by Heimdall
Tue May 05, 2009 5:39 pm
Forum: PSP Development
Topic: upload a pspsdk for ppc?
Replies: 12
Views: 4256

Why don't you just try to build it yourself since noone seems to have a development machine like you?

It is quite simple, all you need is a small set of open source applications:

binutils, gcc, make, bash, svn

just checkout the psptoolchain project and try to run the build script.
by Heimdall
Sat May 02, 2009 12:04 am
Forum: PSP Development
Topic: ubuntu 9.04 + pspsdk? Anyone tried?
Replies: 22
Views: 11913

I'm not trying to hijack the topic but I just uploaded my first build for Ubuntu 9.04. https://sourceforge.net/project/downloading.php?group_id=223830&filename=pspsdk-0.9.3-ubuntu-9.04.tar.gz&a=39071053 It packages the sames SDK and libs that my MinPSPW ships with. It worked around the binut...
by Heimdall
Fri May 01, 2009 4:50 am
Forum: PSP Development
Topic: GCC 4.4.0 and PSP Toolchain
Replies: 18
Views: 6839

yes :)

heimdall == jetcube
by Heimdall
Thu Apr 30, 2009 6:03 pm
Forum: PSP Development
Topic: GCC 4.4.0 and PSP Toolchain
Replies: 18
Views: 6839

more important than gcc 4.4 is to update binutils. I'm trying to create packages for linux similar to my windows ones, and managed to build a working sdk but there is a bug with binutils and the host compiler gcc 4.3.3. Upgrading binutils is complicated, I've tryed to manually patch the 1.17 version...
by Heimdall
Thu Apr 09, 2009 3:04 am
Forum: PSP Development
Topic: Win32 native Toolchain for PSPSDK
Replies: 261
Views: 178649

Ok, so I've debugged this and here are my findings: BUILD_PRX = 1 will not give you a gmon.out (profiler doesn't work, don't know why yet) TARGET = gprof OBJS = main.o LIBS = -lpspprof INCDIR = CFLAGS = -G0 -Wall -pg CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti ASFLAGS = $(...
by Heimdall
Wed Apr 08, 2009 5:44 am
Forum: PSP Development
Topic: Win32 native Toolchain for PSPSDK
Replies: 261
Views: 178649

humm... i thought i had patched the SDK to include the gprof stuff but i guess i lost that patch, about the heap i usually always allocate all the heap i never run into that but it is a nice thing for me to add to the tutorial...
by Heimdall
Wed Apr 08, 2009 2:15 am
Forum: PSP Development
Topic: Win32 native Toolchain for PSPSDK
Replies: 261
Views: 178649

Are you compiling and linking everything with -pg ?

It looks like GCC didn't instrument the binary code to add the profilling data.

Check if you have in your CFLAGS = -pg and you did a make clean before...
by Heimdall
Sat Apr 04, 2009 2:24 am
Forum: PSP Development
Topic: Build Error Eclipse Newely Installed
Replies: 7
Views: 3201

on ubuntu mabye its because the workspace was used with minpspw but i removed all the other stuff why doesnt it just use a system command make since that will work well ill try to get it to work by remaking the workspace MinPSPW has nothing to do with it. The workspace keeps track of the files on y...
by Heimdall
Fri Mar 27, 2009 7:04 pm
Forum: PSP Development
Topic: Win32 native Toolchain for PSPSDK
Replies: 261
Views: 178649

Some progress but just some. I need to close FireFox so PSPSH can run properly (displaying a prompt like "host0:>") . And yes debugging is not working properly. When I tried cube.prx (-g -O0), it seemed to work. But with my source (-g O2), I have kind of erratic behavior in the source win...
by Heimdall
Fri Mar 27, 2009 2:04 am
Forum: PSP Development
Topic: Win32 native Toolchain for PSPSDK
Replies: 261
Views: 178649

I've updated the SDK to make alias for the GCC and G++ and the tutorial.

I've rebuilt the pspsh and usbhostfs_pc and will try it at home today and see if it interferes with firefox and can debug several times in a row...
by Heimdall
Wed Mar 25, 2009 5:04 pm
Forum: PSP Development
Topic: Win32 native Toolchain for PSPSDK
Replies: 261
Views: 178649

That is a eclipse CDT 5.0.2 bug. You can only set it up with 5.0.1 or the up coming 6.0 where it has been fixed. For now you can hack it by copying your psp-gcc.exe and psp-g++.exe to respectively gcc.exe and g++.exe
by Heimdall
Wed Mar 25, 2009 1:19 am
Forum: PSP Development
Topic: Win32 native Toolchain for PSPSDK
Replies: 261
Views: 178649

The firefox thing is weird, maybe some cygwin crap, because i build pspsh with cygwin due to some posix stuff I didn't had time to investigate how to migrate to win32 api.