Search found 12 matches

by stinos
Tue Oct 02, 2007 3:19 am
Forum: PSP Development
Topic: [ solved ] more toolchain problems under OsX
Replies: 6
Views: 2015

content of that file was ok;
the problem was in my PATH..
I set PATH=./:$PATH:$PSPATH, setting it to PATH=$PATH:$PSPPATH did the trick somehow.
now I get other errors later on though, so I probably have to reconfigure etc..
by stinos
Sun Sep 30, 2007 8:48 pm
Forum: PSP Development
Topic: [ solved ] more toolchain problems under OsX
Replies: 6
Views: 2015

that's what i'm doing already.. I even manually entered each step from the script apart..
atm I'm trying the same under cygwin and that works fine ;-[
by stinos
Sun Sep 30, 2007 8:06 pm
Forum: PSP Development
Topic: [ solved ] more toolchain problems under OsX
Replies: 6
Views: 2015

paraita wrote:hi, it's weird, i don't have all that stuff when i type gcc --version or g++ --version
try gcc -v instead
how did you install gcc ? via latest Xcode ? i used Xcode 2.4.1.
via latest XCode
by stinos
Sun Sep 30, 2007 1:55 am
Forum: PSP Development
Topic: [ solved ] more toolchain problems under OsX
Replies: 6
Views: 2015

[ solved ] more toolchain problems under OsX

I did a quick search but it seems nobody had this problem before: binutils compiles fine (after putting make -r in script), but then compiling gcc fails with gcc -c -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadi...
by stinos
Mon Aug 28, 2006 2:12 am
Forum: PSP Development
Topic: Writing for multiple platforms?
Replies: 6
Views: 3987

atm i'm writing code simultaneously for windows, mac, linux, psp and the ti c6xx platforms. basically i use a global platfrom definition file for general stuff, which contains things like this: #ifdef WIN32 #define S_WIN32 1 #elif defined LINUX #define S_LINUX 1 #elif defined MAC #define S_MAC 1 #el...
by stinos
Sun Jul 23, 2006 11:45 pm
Forum: PSP Development
Topic: does each thread has it's own memory space??
Replies: 1
Views: 1222

does each thread has it's own memory space??

Hi I'm having this rather annoying problem with allocating memory, I suspect it has something to do with memory space (or whatever it's called). here's some code: decl: class TcpClientThread : public IThread { public: /** * Constructor. */ TcpClientThread( co...
by stinos
Tue Oct 25, 2005 5:18 pm
Forum: PSP Development
Topic: bind failed
Replies: 10
Views: 3732

^ this seems to be working to, thanks for the info!
by stinos
Sun Oct 23, 2005 4:10 am
Forum: PSP Development
Topic: bind failed
Replies: 10
Views: 3732

ok I finally found it.. Appearentely I was calling nlhTerm() to quickly after sceInetClose( socket ) resulting in a lost [FIN,ACK] packet. Putting a delay between the two didn't help, probabely because a deley just freezes the thread. So I made a seperate 'disconnect command', first call it from the...
by stinos
Thu Oct 20, 2005 7:24 am
Forum: PSP Development
Topic: bind failed
Replies: 10
Views: 3732

the shutdown trick didn't do it.. pretty clueless now ;-]
by stinos
Tue Oct 18, 2005 10:56 pm
Forum: PSP Development
Topic: bind failed
Replies: 10
Views: 3732

I tried calling rcv in a while loop until it returns 0 or < 0, but it returns immedeately wihtout receiving anything and the problem remains :-[
Maybe someone can post a bit of source code displaying how they use the tcp communication so I can see how it differs from what I'm doing??
by stinos
Mon Oct 17, 2005 5:55 pm
Forum: PSP Development
Topic: bind failed
Replies: 10
Views: 3732

@liquid8d: I forgot to tell but I'm also calling sceNetInetClose and sceInetApctlDisconnect
@Cyberbill: I'll try the approach of calling recv a number of times although tonight, sounds like a good idea!
by stinos
Mon Oct 17, 2005 7:56 am
Forum: PSP Development
Topic: bind failed
Replies: 10
Views: 3732

bind failed

Hi I don't know whether this is problem is PSP or network related but it here it goes: I have a domotica system which is controlled by a dsp over a tcp/ip network. The dsp is always listening for a connection, a host (my pc mostly) connects to it, and after disconnecting the host the dsp starts list...