CYGWIN psp-gcc: command not found

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
reefbarman
Posts: 87
Joined: Mon Jan 08, 2007 12:16 pm
Location: Australia

CYGWIN psp-gcc: command not found

Post by reefbarman »

Hi,

im getting the below error when im trying to compile my app, i have had cygwin going before but now it wont work

Code: Select all

make: psp-gcc: Command not found
any help would be great thanks
reefbarman
Posts: 87
Joined: Mon Jan 08, 2007 12:16 pm
Location: Australia

Post by reefbarman »

and i followed the information in the post linked below and on the wiki and it still hasn't solved my problem

http://forums.ps2dev.org/viewtopic.php? ... 8a11c3b905
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

You don't have the paths for pspsdk set in the environment variables. Pay close attention to that part of the setup instructions. It's been covered many times, so now you know what to search for.
reefbarman
Posts: 87
Joined: Mon Jan 08, 2007 12:16 pm
Location: Australia

Post by reefbarman »

i have placed the paths in the enviroment variables, but there is both user variables and system variables and i have added them to the user ones, when it asks you to enter them i have added them as CYGWIN for variable name then the paths separated by ; as the paths is that correct?
orphean
Posts: 8
Joined: Sun Apr 20, 2008 2:27 pm

Post by orphean »

Have you tried restarting? I know at least with Vista new envvars don't 'pickup' until restart.
reefbarman
Posts: 87
Joined: Mon Jan 08, 2007 12:16 pm
Location: Australia

Post by reefbarman »

i tried restarting my computer but that didnt work i really dont want to have to reinstall anyone else have any ideas?
orphean
Posts: 8
Joined: Sun Apr 20, 2008 2:27 pm

Post by orphean »

reefbarman wrote:i have added them as CYGWIN for variable name then the paths separated by ; as the paths is that correct?
I could be offbase here since I am unclear as to precisely what you did in this procedure. But, it sounds like you created an environment variable named CYGWIN and assigned the path information for cygwin to it.

This would be incorrect. Paths should go into the PATH environment variable, appended with a semicolon between entries for windows.

It should work for either User or System with the (hopefully obvious) caveat that a User environment variable will only work for the user you're logged in with while you set it.

If it helps, on my windows installation of pspsdk I have it installed at C:\pspsdk and I created a User environment variable named PATH with C:\pspsdk\bin in it and it works as expected.

Replace C:\pspsdk\bin with your path to your pspsdk installation bin directory and it should work.
reefbarman
Posts: 87
Joined: Mon Jan 08, 2007 12:16 pm
Location: Australia

Post by reefbarman »

thanks for that, that made more sense, didnt help but definetaly got me thinking, i actually looked in my bin folder and i have no psp-gcc file there i dont suppose there is a way i can download just this? or someone can email me the file or provide a link?
User avatar
Jim
Posts: 476
Joined: Sat Jul 02, 2005 10:06 pm
Location: Sydney
Contact:

Post by Jim »

Either you're using Cygwin, in which case modifying the Windows environment variables is retarded - you need to add the paths to your Cygwin environment - or you've installed a Windows based PSP SDK in which case you're reading the wrong faqs.
Your sig is retarded too.

Jim
Post Reply