PSP开发--[1]安装cygwin

 http://www.psp-programming.com/forums/index.php?action=globalAnnouncements;id=1

 
提示:

-如果你是linux系统,直接看第5步。可能只需要安装一些库就行了,如果是基于debian的系统:

 

  
  
sudo apt-get install autoconf autogen automake1 . 9 libtool build-essential flex bison subversion libncurses5-dev libgmp3-dev libmpfr-dev libreadline5-dev texinfo libusb-dev

 

-如果你是windows系统,且用户中含有空格的话,可能安完cygwin后会遇到问题。遇到这种情况的时候,把文件夹"/cygwin/home/[your username]"重命名为新的名字。然后重启cygwin再处理第5步。

 

第一步:下载cygwin的安装文件
http://www.cygwin.com/setup.exe

第二步:运行 setup.exe

第三步:选择下载镜象

第四步:选择需要安装的包
  1,默认(所有)

  2,自定义(最小所需如下述,约50M)

    

代码
   
   
autoconf
automake
binutils
bison
flex
gcc
gcc-core
gcc-g++
libusb
libtool
make
ncurses
patch
patchutils
readline
subversion
texinfo
wget
libgmp-devel
libgmp3
libmpfr-devel
libmpfr0
libmpfr1

第五步:

  打开cygwin,输入下述

 

  
  
echo " export PSPDEV=/usr/local/pspdev " >> ~ /. bashrc
echo " export PATH=\$PATH:\$PSPDEV/bin " >> ~ /. bashrc

 

关掉 cygwin.

第六步:(有点漫长)

运行

  
  
svn co svn: // svn . ps2dev . org / psp / trunk / psptoolchain

 再运行

  
  
cd ./ psptoolchain
./ toolchain . sh

This might take up to several hours. Take the time and do something useful with it.
At the end, an error message that ../scripts/003-psplinkusb.sh has failed may occur. Ignore that and
just type the following (if you want to use PSPLINK - see below):

最后可能会报错:"../scripts/003-psplinkusb.sh"
无视,然后运行

 

  
  
cd build / psplinkusb /
make && make release

 

第七步:

开始写代码

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值