Are you sure the environment variables are actually getting set? The top of the script should set them correctly even if you don't have them set up in the shell yet which makes this very odd.
I assume you're running bash? Are you running the script by making it executable first, or by typing 'sh ./toolchain.sh'?
so i take the previous mips.h and it'works fine....
I think we can't use a variable in static allocation of an array. i'm right ? or is it a problem of my gcc ?
Errr... of course we can't. I wonder how cody could compile that :P
Okay, I'll work around that otherwise.
Thanks for the clear report.
pixel: A mischievous magical spirit associated with screen displays. The computer industry has frequently borrowed from mythology. Witness the sprites in computer graphics, the demons in artificial intelligence and the trolls in the marketing department.
Perhaps cygwin and its ?older (3.3.3-3)? version compiler is more tolerant of errors than the latest Linux that nippy is using?
I chmod a+x the script as per directions, and the env vars are set in bash.bashrc (like lukasz' install script does). Im going to try again ATM with just ps2sdk (it was the only part of the install that seemed to have failed for me at any rate)
addendum:
OK, it worked fine now, and upon updating my local copy of PS2SDK from yesterday I see:
cory1492 wrote:now to see if the "oldiop" install works out ok... Im assuming of course that the build irx has not been completely repaired as of yet.
To be honest, there's nothing to repair at all in the compiler I think. Well, I've been explaining that a little in the other thread talking about "broken IOP compiler": http://forums.ps2dev.org/viewtopic.php?t=736
If you find other issues between the old 2.x iop-gcc and the new 3.2.2 iop-gcc, please report. But I guess this was the main issue, and that it is solved now.
pixel: A mischievous magical spirit associated with screen displays. The computer industry has frequently borrowed from mythology. Witness the sprites in computer graphics, the demons in artificial intelligence and the trolls in the marketing department.
If you find other issues between the old 2.x iop-gcc and the new 3.2.2 iop-gcc, please report. But I guess this was the main issue, and that it is solved now.
Well that saves some compiling time for sure, thanks again pixel, I will attempt to see if what Im compiling will work out
so i take the previous mips.h and it'works fine....
I think we can't use a variable in static allocation of an array. i'm right ? or is it a problem of my gcc ?
Have fun ;)
I'm having this same error, how exactly did you fix it? ... not sure what you mean by "so i take the previous mips.h and it'works fine"