Search found 23 matches

by IronAvatar
Thu Mar 06, 2008 9:10 pm
Forum: PS3 Development
Topic: PS3SDK release date
Replies: 15
Views: 16519

I find it kinda stupid that linux is "blocking out 3d" whats the point in even wanting to waste my time when i feel i am restricted on my own system. Most people who bought the PS3 for prgramming did so because the cell processor is the unqiue thing that makes it fun to develop for. If yo...
by IronAvatar
Thu Mar 06, 2008 7:07 pm
Forum: PS3 Development
Topic: PS3SDK release date
Replies: 15
Views: 16519

I find it kinda stupid that linux is "blocking out 3d" whats the point in even wanting to waste my time when i feel i am restricted on my own system. I think i am just gunna wait around for the new update, or sdk, could the reason for them blocking out 3d be because they want us to use th...
by IronAvatar
Fri Feb 29, 2008 5:43 pm
Forum: PS3 Linux Development
Topic: can't find spu_mfcio.h
Replies: 5
Views: 4650

.so is a really bad idea as it's used for "shared objects" (i.e. libraries). gcc will probably assume a while bunch of options if you use .so. doh. I hadn't thought about that. Still being a bit new to Linux, I had forgotten all about the extension for shared libraries. Thanks for the hea...
by IronAvatar
Fri Feb 29, 2008 2:32 am
Forum: PS3 Linux Development
Topic: can't find spu_mfcio.h
Replies: 5
Views: 4650

Is your makefile definitely using spu-gcc? The default would be to compile with gcc unless you define a rule specifically. An example from my Makefile: SPUCC = spu-gcc -std=gnu99 -fpic SPUCCFLAGS = -O6 -I. %.s&#58; %.c $&#40;SPUCC&#41; $&#40;SPUCCFLAGS&#41; -c -S $< -o $*.s %.0&...
by IronAvatar
Thu Feb 28, 2008 6:45 am
Forum: PS3 Linux Development
Topic: can't find spu_mfcio.h
Replies: 5
Views: 4650

Ok, after a bit of investigation this seems to be something that's going wrong when invoking spu-gcc from make. It works just fine when compiling from the command-line.

Now I'm completely stumped.
by IronAvatar
Wed Feb 27, 2008 7:56 am
Forum: PS3 Linux Development
Topic: can't find spu_mfcio.h
Replies: 5
Views: 4650

can't find spu_mfcio.h

Can anybody share some light on this issue?

I'm trying to write my first spu prog and for some reason, spu-g++ can't find this header file, even if I add the include path as part of the compiler invocation.

Very odd indeed.
by IronAvatar
Wed Feb 27, 2008 1:13 am
Forum: PS3 Linux Development
Topic: HD Resolution on my SDL project
Replies: 5
Views: 4861

The OtherOS framebuffer is limited to 3.5MB? I didn't know that. Still, if Xorg can get HD res, there must be a way to get it for SDL. No, I wouldn't put it that way. After all, I've successfully gotten X to run in 1080p. It's not an otheros limit, but perhaps it's a limit on user apps trying to al...
by IronAvatar
Wed Feb 27, 2008 1:03 am
Forum: PS3 Linux Development
Topic: Have problem with the toolchain
Replies: 11
Views: 7561

Yeah, not many people know about it. I just happened to come accross it when looking for some advice on installing the IDM sdk on non RH/Fedora. ooPo...sort of wondering where you got the inspiration for your hostname. Was it; 1) Norse Mythology 2) First Linux distro on CD 3) Name of a character fro...
by IronAvatar
Wed Feb 27, 2008 12:07 am
Forum: PS3 Linux Development
Topic: HD Resolution on my SDL project
Replies: 5
Views: 4861

Have you guy had a look at the SDL sources at all? Maybe looking to see if the mode is supported or not will give more info. Perhaps the mode is supported, but the kernel won't allow your app to allocate the 3.5MB needed for the main-ram copy of the frame buffer. This might because of an allocation ...
by IronAvatar
Mon Feb 25, 2008 8:43 pm
Forum: PS3 Linux Development
Topic: Have problem with the toolchain
Replies: 11
Views: 7561

I've finaly gotten my PS3 running Linux and setup with the IBM cell sdk. If you're using Ubuntu, you should be able to install the compiler from the BSCC by doing something like; sudo apt-get install ppu-g++ spu-g++ ppu-gdp spu-gdb cell-programming-primer And be able to cross compile without any pro...
by IronAvatar
Thu Feb 07, 2008 6:28 pm
Forum: PS3 Development
Topic: The first working ps3toolchain release!
Replies: 177
Views: 266953

It needs to be changed in the config.sub file after patching each of binutils, gcc and newlib. You'll have to manually unpack, patch, modify and build each package. Oh, right. Bollocks, I guess I'm going to be busy learning how to do all this tonight then by looking at the scripts (still a bit of a...
by IronAvatar
Thu Feb 07, 2008 8:00 am
Forum: PS3 Development
Topic: The first working ps3toolchain release!
Replies: 177
Views: 266953

ooPo wrote: You could edit the ppu entry in config.sub and change it to powerpc64-unknown-linux if you want to build linux binaries.
Sorry to seem dumb, but does this need to be changed in the build scripts for the toolchain or somewhere else?
by IronAvatar
Thu Feb 07, 2008 7:29 am
Forum: PS3 Development
Topic: Newbie PS3 development, all kinds of questions
Replies: 11
Views: 10396

Re: Newbie PS3 development, all kinds of questions

Video output... 7. I have a Linux PS2 development kit, and I got a PS2 video output -> VGA contact included. Can I use this with my PS3? I want to connect my PS3 to my computer TFT monitor(which has VGA input) If yes, what ps3videomode-mode? I've just installed ydl on my ps3, and I use the VGA adap...
by IronAvatar
Wed Jan 16, 2008 8:13 pm
Forum: PSP Development
Topic: Is PSPSDK/libs getting slower?
Replies: 4
Views: 2657

Well, the beauty of using frameworks like SDL or lua is that you don't have to worry too much about caching patterns and other low level stuff of this sort.. perhaps, there is a need for a benchmark program, which is bundled with the toolchain or particular libraries... Actually. with something lik...
by IronAvatar
Sat Dec 29, 2007 7:32 am
Forum: PSP Development
Topic: Problems with linking to own static libs
Replies: 3
Views: 1675

Hah. I almost had a snipy reply, but youre perfectly correct. The link errors that I'm getting are ../../../Magma/obj/psp/release/Core/MgObject.o&#58;&#40;.rodata._ZTIN6MgCore6IClassINS_7CObjectENS_11CNullObjectEEE&#91;typeinfo for MgCore&#58;&#58;IClass<MgCore&#58;&#58;C...
by IronAvatar
Sat Dec 29, 2007 5:25 am
Forum: PSP Development
Topic: c++ with on psp?
Replies: 7
Views: 2890

Have you tried using the sdk libc? And if so, do you still get the link errors? If you still get this error, then yes, the only real way to change the link order is to edit the build.mak file. It doesn't have to be a big change though. I would create a new variable called something like LIB_ALTERNAT...
by IronAvatar
Sat Dec 29, 2007 4:58 am
Forum: PSP Development
Topic: c++ with on psp?
Replies: 7
Views: 2890

Have you tried adding the following line before including the sdk make file?

Code: Select all

USE_PSPSDK_LIBC=1
Or is it reccomended that you use the new libc with the sdl port? It could also be a link order problem which can be a bit of a pain to sort out.
by IronAvatar
Fri Dec 28, 2007 8:20 am
Forum: PSP Development
Topic: Problems with linking to own static libs
Replies: 3
Views: 1675

I've resolved most of the link issues by munging all of the cpp files used to generate the libs into the exe. I guess the majority of those were due to link order (the one thig I hate about gcc based tool-chains). But the problem remains that I'm getting a link error with the vtables of a few classe...
by IronAvatar
Fri Dec 28, 2007 6:47 am
Forum: PSP Development
Topic: Problems with linking to own static libs
Replies: 3
Views: 1675

Problems with linking to own static libs

I've had some errors thrown up by some of my own static libs during linking. At first, I thought it was something screwy with my use of rtti and templates, but it appears that my own static libs have problems linking to the sdk static libs.

Does anybody have any idea as to why this would be?
by IronAvatar
Sat Nov 25, 2006 10:01 pm
Forum: PSP Development
Topic: Setting Up Code::Blocks + Psp Toolchain
Replies: 1
Views: 1460

Setting Up Code::Blocks + Psp Toolchain

Setting up Code::Blocks to work with PSPDEV is a bit of a breeze really. But there are one or two gotchas that sort of had me scratching my head in frustration, so I thought I might write a small tutorial. I am using the Win32 build of the PSP toolchain from http://www.pspprogramming.com as it saves...
by IronAvatar
Sat Nov 25, 2006 6:09 pm
Forum: PSP Development
Topic: Code::Blocks + PSPDEV
Replies: 3
Views: 1930

dot_blank wrote:why
D:\sdk\psp\pspdev\psp\lib\libg.a
twice?
Because it was quite late at night when I finaly got the program to link, and I accidentaly added it twice :)
by IronAvatar
Sat Nov 25, 2006 7:41 am
Forum: PSP Development
Topic: Code::Blocks + PSPDEV
Replies: 3
Views: 1930

I've actually solved this myself by playing around with the link order. Incase anybody is interested in using Code::Blocks instead of Dev-C++, then it's important to get the link order correct for the most basic of apps that use the VFPU, GU and GE. The order of my libs is currently like this (if th...
by IronAvatar
Sat Nov 25, 2006 6:04 am
Forum: PSP Development
Topic: Code::Blocks + PSPDEV
Replies: 3
Views: 1930

Code::Blocks + PSPDEV

Hey guys, I've been setting up Code::Blocks for use with the PSPDEV sdk. I've setup the compilers, linkers and even managed to fix a niggling problem with the static library archiver. But now I'm running into issuse when linking an elf. I can't for the life of me figure out which of the libraries MU...