Search found 1923 matches

by ooPo
Fri Jun 13, 2008 4:00 am
Forum: General Discussion
Topic: ATTN: All Canadians (URGENT)
Replies: 4
Views: 4222

It looks like it was finally introduced today. As expected, the Canadian DMCA is big, complicated, and a close model of the U.S. Digital Millennium Copyright Act (Industry Canada provides a large number of fact sheets here). I'll have much more to say once I've had a careful read, but these are my f...
by ooPo
Sun Jun 08, 2008 2:01 am
Forum: PSP Development
Topic: why are u32/uint32_t/SceUInt32 defined as longs?
Replies: 18
Views: 4356

hlide wrote:I see you insert a 0 to uint8, so I guess you like to have types of same length as possible. :)
It pleases my eye when I see things line up nicely. :)
by ooPo
Sat Jun 07, 2008 10:38 am
Forum: PSP Development
Topic: why are u32/uint32_t/SceUInt32 defined as longs?
Replies: 18
Views: 4356

When it comes to C, if it isn't defined specifically in the standard then you should be very careful. That's what we call 'undefined behavior' and there's no reason to count on it being the same on every system, or even on every execution. Usually I create a types.h file, with defines for things lik...
by ooPo
Sat Jun 07, 2008 12:06 am
Forum: PSP Development
Topic: why are u32/uint32_t/SceUInt32 defined as longs?
Replies: 18
Views: 4356

http://en.wikipedia.org/wiki/C_variable_types_and_declarations There is some confusion in novice C programmers as to how big these types are. The standard is specifically vague in this area: * A short int must not be larger than an int. * An int must not be larger than a long int. * A short int must...
by ooPo
Fri Jun 06, 2008 10:52 pm
Forum: PSP Development
Topic: problems with latest toolchain / psplibraries builds
Replies: 41
Views: 12966

In the meantime, I've committed the 'make -r' and heap size changes.
by ooPo
Wed Jun 04, 2008 9:31 am
Forum: General Discussion
Topic: ATTN: All Canadians (URGENT)
Replies: 4
Views: 4222

Perhaps not, if only one person was sending it. The problem is that when thousands of people send the same piece of text with no more effort used than clicking a button. That kind of response can be easily discounted and ignored. By all means, write your own response and send it to your appropriate ...
by ooPo
Wed Jun 04, 2008 6:32 am
Forum: General Discussion
Topic: ATTN: All Canadians (URGENT)
Replies: 4
Views: 4222

If it was being passed tomorrow, it would be far too late to change things now. Yes, they're possibly introducing new legislation tomorrow. This is the first step in a long process before passing. If it is anything close to what the rumors say it will be, there's very little chance it would make it ...
by ooPo
Wed Jun 04, 2008 2:44 am
Forum: PSP Development
Topic: problems with latest toolchain / psplibraries builds
Replies: 41
Views: 12966

Isn't this the kind of stuff autoconf and automake are supposed to deal with anyway?
by ooPo
Wed Jun 04, 2008 1:34 am
Forum: PS2 Development
Topic: Building the toolchain on Ubuntu - missing files?
Replies: 8
Views: 5590

## Install the required packages.
sudo apt-get install build-essential autoconf automake bison flex \
libncurses5-dev libreadline-dev libusb-dev texinfo
That's from the readme-ubuntu.txt in psptoolchain, and should be fairly applicable to ps2toolchain too.
by ooPo
Tue Jun 03, 2008 6:07 am
Forum: PSP Development
Topic: problems with latest toolchain / psplibraries builds
Replies: 41
Views: 12966

Easy enough to add that change, the only problem I can see is if someone uses the old method (-1), it'll give them 1K less than before the change.

If that's acceptable, I have the patch made and can commit it anytime.
by ooPo
Tue Jun 03, 2008 3:00 am
Forum: PSP Development
Topic: problems with latest toolchain / psplibraries builds
Replies: 41
Views: 12966

So if its working fine under OSX and Linux, are there any complaints before I submit it to the repository?
by ooPo
Tue Jun 03, 2008 2:15 am
Forum: PSP Development
Topic: problems with latest toolchain / psplibraries builds
Replies: 41
Views: 12966

Ok, good. Thanks. :)
by ooPo
Tue Jun 03, 2008 12:23 am
Forum: PSP Development
Topic: problems with latest toolchain / psplibraries builds
Replies: 41
Views: 12966

So it compiles, but does it run? :) -r, --no-builtin-rules Eliminate use of the built-in implicit rules. Also clear out the default list of suffixes for suffix rules. If that doesn't break anything then we can add it to all builds, otherwise a check would be fine. Can someone test building it on a n...
by ooPo
Mon Jun 02, 2008 10:44 am
Forum: PSP Development
Topic: problems with latest toolchain / psplibraries builds
Replies: 41
Views: 12966

Uh, so what was the problem and what was the fix? :)
by ooPo
Wed May 28, 2008 11:09 pm
Forum: PS3 Development
Topic: The first working ps3toolchain release!
Replies: 177
Views: 283997

Is there a way to strip out the unused parts of the archive after it has been linked in?
by ooPo
Wed May 28, 2008 4:50 am
Forum: PSP Development
Topic: Adventures with PSPSDK and psplink on MacOS X
Replies: 5
Views: 3428

Thanks for doing the hard work, I had been meaning to get around to it for a long time now. :)
by ooPo
Wed May 28, 2008 4:45 am
Forum: PSP Development
Topic: Adventures with PSPSDK and psplink on MacOS X
Replies: 5
Views: 3428

Seems to build and work fine under Ubuntu, so I've committed the changes to psptoolchain and psplinkusb.
by ooPo
Sat May 24, 2008 6:49 am
Forum: PS3 Development
Topic: The first working ps3toolchain release!
Replies: 177
Views: 283997

...and that would be why the whole-archive option isn't used. :)

Good to know.
by ooPo
Sat May 24, 2008 1:37 am
Forum: PS3 Development
Topic: The first working ps3toolchain release!
Replies: 177
Views: 283997

Code: Select all

--whole-archive             Include all objects from following archives
This should work too, but be sure to strip the binary afterwards if you want to get rid of unused code.
by ooPo
Fri May 23, 2008 11:46 pm
Forum: PS3 Development
Topic: The first working ps3toolchain release!
Replies: 177
Views: 283997

You need to put the libraries at the end of the line. The linker parses the command line and makes a list of what functions it needs as it adds each object file. When it reaches a library it will link only the functions it knows it needs. If you add more object files after the library it doesn't go ...
by ooPo
Mon May 19, 2008 1:49 pm
Forum: PS3 Development
Topic: The first working ps3toolchain release!
Replies: 177
Views: 283997

Can you post the actual error message? It is usually a lot easier to help out when we can see that.

It sounds like you may be linking in libraries in the wrong order.
by ooPo
Tue Apr 15, 2008 1:06 pm
Forum: PS2 Development
Topic: How to use the SDL port?
Replies: 6
Views: 3399

Try:

fopen("host:someFile","r");
by ooPo
Tue Apr 08, 2008 11:04 am
Forum: General Discussion
Topic: ps3dev.org splitting from ps2dev.org.
Replies: 18
Views: 57849

Is there anything to split off? Where's that ps3sdk anyway? :)
by ooPo
Mon Apr 07, 2008 12:51 pm
Forum: General Discussion
Topic: Happy 7th Birthday!
Replies: 19
Views: 58459

I was worried about Oobles when there wasn't an April fools joke on the site.

Glad to see you're still alive. :)
by ooPo
Sat Mar 29, 2008 5:10 am
Forum: PSP Development
Topic: What happened to PSP-Insight in the new toolchain script?
Replies: 8
Views: 4675

That wouldn't work. Building the toolchain is a process that has to happen in a particular order. You wouldn't be able to build gcc if you haven't already built and installed binutils. I'll take a look at adding libx-dev to the depends check and see if it helps any. I didn't look into why insight ha...
by ooPo
Fri Mar 07, 2008 3:19 am
Forum: PSP Development
Topic: toolchain DESTDIR parameter
Replies: 6
Views: 2413

You can use the environment variable $PSPDEV to set the destination directory:

Code: Select all

 ## Configure the build.
 ../configure --prefix="$PSPDEV" --target="psp" --enable-install-libbfd || { exit 1; }
Is that what you need?
by ooPo
Wed Feb 27, 2008 12:21 am
Forum: PS3 Linux Development
Topic: Have problem with the toolchain
Replies: 11
Views: 7618

The ps3toolchain, which is used for otheros development, has support for newlib but it doesn't have an OS added yet. This means there's no startup code, which is why it can't find crt*.o. You can find some startup code in the otheros demo. As for Ubuntu: danpeori@yggdrasil:~$ apt-cache search ppu- p...
by ooPo
Wed Feb 27, 2008 12:15 am
Forum: PS3 Development
Topic: Cold Boot Attacks on Disk Encryption
Replies: 9
Views: 11842

As long as it is a legal method of information gathering and isn't used for piracy, I have no problems. Other moderators may have stricter guidelines but that's the basic test I use.
by ooPo
Sun Feb 10, 2008 5:11 pm
Forum: PS2 Development
Topic: could cygwin both handle pspsdk & ps2sdk?
Replies: 1
Views: 1722

They shouldn't conflict, they install into different directories.
by ooPo
Sat Feb 09, 2008 5:10 am
Forum: PS2 Development
Topic: I finnaly got that mod chip installed
Replies: 13
Views: 7594

Backups = bad.

Why not burn a copy of ps2link and see if it will boot? Then you'll be all set up for development:

http://ps2dev.org/ps2/Loaders/PS2_side_boot_loaders/

Grabbing the one with the iso may be easiest for you.