gentoo的services-admin
相当于RH的serviceconf
把这记下来是因为现在记忆力下降的厉害
几天前的东西都忘光光了
抓到一个大BUG,
cross compiler处理double值两个32位次序不一样
尽管同样是little endian的系统
历尽千辛万苦,费了九牛二虎之力,终于装上了GENTOO.
持续时间月余。
开始是给下载用的分区太小
然后是SATA硬盘传给kernel的参数不对(应该是root=080x,x是分区号)
期间还有修那个该死的HP机器的破声卡
终于看到了login,哈哈
本来应该写在昨天的blog的,可是昨天太兴奋了
以前改的也存下档吧,省得找不到了
为了查汇编文件输出
Rule.make
…
[snip]
%.o: %.c
$(CC) $(CFLAGS) $(EXTRA_CFLAGS_nostdinc) -DKBUILD_BASENAME=$(subst $(comma),_,$(subst -,_,$(*F))) $(CFLAGS_$@) -S $<
$(CC) $(CFLAGS) $(EXTRA_CFLAGS_nostdinc) -DKBUILD_BASENAME=$(subst $(comma),_,$(subst -,_,$(*F))) $(CFLAGS_$@) -c -o $@ $<
[snip]
…
man gcc
[snip]
-E Stop after the preprocessing stage; do not run the compiler proper.
The output is in the form of preprocessed source code, which is
sent to the standard output.
Input files which don’t require preprocessing are ignored.
[snip]
-P Inhibit generation of linemarkers in the output from the preproces-
sor. This might be useful when running the preprocessor on some-
thing that is not C code, and will be sent to a program which might
be confused by the linemarkers.
2.4 kernel /driver/block/blkpg.c 在用了新编译器后有问题,需要输出preprocess信息检查
改/driver/block/Makefile如下
#
# Makefile for the kernel block device drivers.
#
# 12 June 2000, Christoph Hellwig
# Rewritten to use lists instead of if-statements.
#
# Note : at this point, these files are compiled on all systems.
# In the future, some of these should be built conditionally.
#
O_TARGET := block.o
export-objs := ll_rw_blk.o blkpg.o loop.o DAC960.o genhd.o
obj-y := ll_rw_blk.o blkpg.o genhd.o elevator.o
[snip] … [snip]
include $(TOPDIR)/Rules.make
blkpg.o: blkpg.c
$(CC) $(CFLAGS) $(EXTRA_CFLAGS_nostdinc) -DKBUILD_BASENAME=$(subst $(comma),_,$(subst -,_,$(*F))) $(CFLAGS_$@) -E -P $<
$(CC) $(CFLAGS) $(EXTRA_CFLAGS_nostdinc) -DKBUILD_BASENAME=$(subst $(comma),_,$(subst -,_,$(*F))) $(CFLAGS_$@) -c -o $@ $<
技术上讲,这是很容易的
走CDMA1x速度足够了
GPRS也许困难点
如果skype是open source编译一下就可以了
为啥slashdot上那么兴奋?
难道他们俩以前没拿到图灵奖么?
晕,我还以为早拿过了呢
128 x 96 = subQCIF
176 x 144 = QCIF
176 × 220 = QCIF+
160 x 120 = QQVGA
320 x 240 = QVGA
320 x 200 = CGA
352 x 288 = CIF
640 x 350 = EGA (记得应该是640 x 400)
640 x 480 = VGA
800 x 600 = SVGA
1024 x 768 = XGA
1280 x 1024 = SXGA
1366 x 768 = WXGA
1400 x 1050 = SXGA+
1600 x 1200 = UXGA
1600 x 900/1200 = WSXGA
1680 x 1050 = WSXGA+
1920 x 1200 = WUXGA
2048 x 1536 = QXGA
2560 x 2048 = QSXGA
3200 x 2400 = QUXGA
3840 x 2400 = WQUXGA
PAL D1 = 720×576
HDTV 720p = 1280×720 progressive
HDTV 1080i = 1920×1080 interlaced