- 博客(9)
- 收藏
- 关注
原创 龙芯LS1B Ubuntu交叉编译环境的建立,mipsel
源码包位置:Loongson_1B/Tools/toolchain/gcc-3.4.6-2f.tgz(1)在Windows上把gcc-3.4.6-2f.tgz 复制到共享目录“E:\Ubuntu-10.04\share”, 在Ubuntu上再到“/mnt/hgfs/share/”中把交叉编译工具链gcc-3.4.6-2f.tgz 复制到“/tmp”或自己创建管理的目录。然后进到该目录,解压。
2014-05-16 12:58:02 3036
原创 通过tftp在ubuntu和LS1B开发板之间传输文件
1、配置虚拟机(Ubuntu)ip地址信息ifconfig eth0 192.168.1.10 netmask 255.255.255.0 //配置Ubuntu IP地址route add default gw 192.168.1.1 //配置Ubuntu默认网关 配置后查看Ubuntu的ip、路由等信息 2、配置龙芯LS1B开发版的ip和路
2014-05-16 12:55:05 953
原创 Ubuntu10.04下的TFTP配置
ubuntu 下可以使用的tftp服务器有三种:前面是客户端,后面是服务器端(1)tftp和tftpd(2)atftp和atftpd(3)tftp-hpa和tftpd-hpa我所使用的是第三种1、安装tftp客户端和服务器端apt-get install tftp-hpa tftpd-hpa xinetd
2014-05-16 12:51:31 642
原创 北大POJ解题报告-1004 Financial Management
DescriptionLarry graduated this year and finally has a job. He's making a lot of money, but somehow never seems to have enough. Larry has decided that he needs to grab hold of his financial portfo
2014-05-15 20:50:17 674
原创 Ubuntu root用户自动登录系统
Ubuntu为了系统安全,root帐号的密码是随机的,如果临时需要提升至root权限以执行一些命令,需要使用sudo命令。如果需要一开机就自动登录到root账户。查阅了相关资料后,可以通过以下两步来实现这个目的:1. 为root账户修改一个密码;在终端下输入”sudo passwd root”命令,终端会提示输入当前账户密码,正确输入后,再输入两次你想要为root账户赋予的
2014-05-15 19:52:12 2266 1
原创 北大POJ解题报告-1003 Hangover
DescriptionHow far can you make a stack of cards overhang a table? If you have one card, you can create a maximum overhang of half a card length. (We're assuming that the cards must be perpendicul
2014-05-15 15:16:28 718
原创 C++中结构体的声明和定义的用法
1 //定义一个结构体,类型为struct Student2 struct Student 3 {4 string name;5 double eng;6 double ch;7 }; 8 9 //定义了一个结构体,类型为struct Student;且定义了一个结构体实例,名叫Stu10 struct Student
2014-05-10 21:40:43 3547
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人