易截截图软件、单文件、免安装、纯绿色、仅160KB

贪心安装64位linux的尴尬

administer@administer-laptop:~/tem/tt$ cat hello.asm
[section .data]
strHello db "Hello, world!",0Ah
STRLEN  equ $-strHello
[section .text]
global _start
_start: 
mov edx,STRLEN
mov ecx,strHello
mov ebx,1
mov eax,4
int  0x80
mov ebx,0
mov eax,1
int 0x80
administer@administer-laptop:~/tem/tt$ nasm -f elf hello.asm -o hello.o
administer@administer-laptop:~/tem/tt$ ls
a  b  boot.asm  boot.bin  Coded  f  g  hello  hello.asm  hello.c  hello.o
administer@administer-laptop:~/tem/tt$ ld -s hello.o -o hello
ld: i386 architecture of input file `hello.o' is incompatible with i386:x86-64 outputadminister@administer-laptop:~/tem/tt$
使用64位操作系统的尴尬,相当的窘,可惜当时贪心了,
一听说Intel从酷睿开始全面采用64位CPU,就装了,囧。


相关文档:

Linux的mount命令简介


 在Linux系统中,如果要使用硬盘、光盘、软盘或MO盘等存储设备,必须先进行挂装(Mount)。当存储设备挂装完成之后,就可以将其作为一个目录来进行访问了。挂装设备需要使用mount命令。执行这一命令,至少要先确定下列三种信息: 
  1. 要挂装(Mount)对象的文件系统类型;
  2. 要挂装(Mount)对象的设备� ......

构建基本的嵌入式Linux根文件系统

构建基本的嵌入式Linux根文件系统
其实在去年8月份我做系统移植时就构建好了一个可以用的根文件系统,但是那时是跟着别人的《Linux全线移植文档》做的。有些东西我也不清楚,只是跟着做,做出来能用就了事了,没有深究其中的规范,以及文件系统中哪些要,哪些不要。
趁着今年过年的几天假期,我移植重新移植了U-Boot1.3.1 ......

Linux Kernel API (2.6)

#protect share data
spin_lock/spin_unlock: protect the data during process context(and only at process context), and make sure your code bewteen lock/unlock is fast enough.There may deadlock if the same spin_lock is called at interrupt context.
spin_lock_irq/spin_unlock_irq: call it during interru ......

Linux的工作队列

1,先看看工作队列和tasklet的区别:
    (1) 定时器和tasklet:
    Tasklets resemble kernel timers in 3 ways.
      1)They are always run at interrupt time,
      2)they always run on the same CPU that schedules the ......

Linux下nginx的安装

nginx("engine x")是一个高性能的HTTP和反向代理服务器,是由俄罗斯人Igor Sysoev建立的项目,超轻量级,超快处理能力。
目前使用的nginx版本是0.7.61
nginx的官言网站为:http://nginx.net/
下载地址为:http://sysoev.ru/nginx/nginx-0.7.61.tar.gz
nginx需要pcre的支持,所以我们需要下载pcre
pcre全名为Perl Compa ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号