摘要: 背景:从主机 192.168.2.14 IP,下载bin文件hello到ecos。redboot>load -v -h 192.168.2.14 helloUsing default protocol (TFTP)Entry point : 0x00108000,adress range :0x00108000-0x00136500以上提示表示需要输入存放hello的起始地址redboot>load -v -h 192.168.2.14 -b 0x00108000 helloUsing default protocol (TFTP)Entry point : 0x00108000, 阅读全文
posted @ 2013-11-25 11:52 galoishelley 阅读(526) 评论(0) 推荐(0) 编辑
摘要: 背景:远程服务器Ubuntu生成软盘镜像,通过Mac下wmware运行.1- 环境及版本:uname -a2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 i686 i386 GNU/LinuxVMware Fusion 5.0.3 (1040386)// for mac2- 下载:wget --passive-ftp ftp://ecos.sourceware.org/pub/ecos/ecos-install.tcl3- 安装:sh ecos-install.tcleCos installer v2.0.1 阅读全文
posted @ 2013-11-15 19:54 galoishelley 阅读(701) 评论(0) 推荐(0) 编辑
摘要: 背景:基于microwindows nano-X上面运行fltk demo,是nano-X API 预留的fltk接口.运行环境及程序版本:microwindows-0.89pre8(源文件必须下载,编译通过.编译过程请参考以下网址内容中的[如何编译源文件]部分,版本不同,但是类似的操作)http://www.cnblogs.com/galoishelley/p/3413964.htmlflnx-0.16(编译过程比较复杂,之后贴链接)Linux debian7编写及运行:1- 编写login_main.cxx,文件保存到~/flnx-0.16/test/源代码:https://github. 阅读全文
posted @ 2013-11-14 16:31 galoishelley 阅读(630) 评论(0) 推荐(0) 编辑
摘要: 其中之一解决方案为:./xinit 阅读全文
posted @ 2013-11-13 10:31 galoishelley 阅读(207) 评论(0) 推荐(0) 编辑
摘要: D 不可中断 Uninterruptible sleep (usually IO)R 正在运行,或在队列中的进程S 处于休眠状态T 停止或被追踪Z 僵尸进程W 进入内存交换(从内核2.6开始无效)X 死掉的进程< 高优先级N 低优先级L 有些页被锁进内存s 包含子进程+ 位于后台的进程组;l 多线程,克隆线程multi-threaded (using CLONE_THREAD, like NPTL pthreads do)xin@xinU1004:~$ ps aux | grep hello.shxin 10998 0.0 0.0 3568 856 pts/0... 阅读全文
posted @ 2013-11-09 10:57 galoishelley 阅读(284) 评论(0) 推荐(0) 编辑
摘要: 我们用gcc编译程序时,可能会用到“-I”(大写i),“-L”(大写l),“-l”(小写l)等参数,下面做个记录:例:gcc -o hello hello.c -I /home/hello/include -L /home/hello/lib -lworld上面这句表示在编译hello.c时:-I ... 阅读全文
posted @ 2013-11-09 10:53 galoishelley 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 环境说明:IOS: mac 10.9wx: wxWidgets-2.9.5 (http://www.wxwidgets.org/downloads/)gcc:$gcci686-apple-darwin11-llvm-gcc-4.2编译源码:a. 使用终端,进入源码目录/Users/shelley/Downloads/wxWidgets-2.9.5/创建自己可识别的文件夹cocoabuildwx,进入目录 $mkdir cocoabuildwx $cd cocoabuildwx 阅读全文
posted @ 2013-11-08 16:06 galoishelley 阅读(436) 评论(0) 推荐(0) 编辑
摘要: 初次使用microwindows,资料有限,我也是费了很多功夫才明白.所以记录下来,好帮助那些爱学习的童鞋,另外请大虾们多多指教.什么是microwindows,什么作用,等背景介绍我就不多说了,因为你准备写代码之前,一定研究过了.下面直接进入主题,如何把源文件编译成lib,写自己的代码,make自己代码,运行等.环境及版本说明:Ubuntu 11.04microwindows-0.92如何编译源文件:1- 从网站下载源文件ftp://microwindows.org/pub/microwindows/microwindows-full-0.92.tar.gztar zxvf microwin 阅读全文
posted @ 2013-11-08 11:34 galoishelley 阅读(804) 评论(0) 推荐(0) 编辑
摘要: 待写~ 阅读全文
posted @ 2013-11-07 13:21 galoishelley 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 1 movies = [ "hello", "world",["xin","lover",["Jerry","cat"]]] 2 3 print movies 4 print "\n" 5 6 for each_1 in movies: 7 if isinstance(each_1,l... 阅读全文
posted @ 2013-11-07 13:10 galoishelley 阅读(196) 评论(0) 推荐(0) 编辑