2007年4月27日 星期五

xUbuntu(Feisty Fawn) gcc and glic and other software version

GNU C Library stable release version 2.5, by Roland McGrath et al.
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.1.2 (Ubuntu 4.1.2-0ubuntu4).
Compiled on a Linux >>2.6.15.7<< org="" software="" libc="" html="">.

透過Facebook分享

觀看系統 gcc and glibc 版本

cd /lib
./libc.so.6

GNU C Library stable release version 2.3.6, by Roland McGrath et al.
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21).
Compiled on a Linux 2.6.18 system on 2007-02-21.
Available extensions:
GNU libio by Per Bothner
crypt add-on version 2.1 by Michael Glad and others
GNU Libidn by Simon Josefsson
linuxthreads-0.10 by Xavier Leroy
BIND-8.2.3-T5B
libthread_db work sponsored by Alpha Processor Inc
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Thread-local storage support included.
For bug reporting instructions, please see:
.

透過Facebook分享

2007年4月26日 星期四

install kegel crosstool in debian

install bison
install flex
install libc6-dev

//error message
no acceptable cc found in $PATH
then,
install gcc

finally,
sh demo-i686.sh

經過了一天
看到了暌違已久的
Done!

下一步
來編輯for arm
./demo-arm9tdmi.sh

...
...
等好幾個小時


成功嚕

+ echo testhello: C compiler can in fact build a trivial program.
testhello: C compiler can in fact build a trivial program.
+ test '' = 1
+ test '' = 1
+ test '' = 1
+ test 1 = ''
+ echo Done.
Done.

透過Facebook分享

修改source list in debian

今天 debian.cse.ntu.edu.tw掛點

今天要安裝flex套件 用aptitude
發現一直連線失敗

跑去/etc/apt/sources.list修改 source

#deb http://debian.csie.ntu.edu.tw/debian/ etch main
#deb-src http://debian.csie.ntu.edu.tw/debian/ etch main

加上
deb http://debian.nctu.edu.tw/debian/ etch main
deb-src http://debian.nctu.edu.tw/debian/ etch main

要先做apt-get update
才不會有下列error message
/************************************error message****************
W: 無法讀取來源檔『http://debian.nctu.edu.tw etch/main Packages (/var/lib/apt/lists/debian.nctu.edu.tw_debian_dists_etch_main_binary-i386_Packages)』的目錄資料。 - stat (2 沒有此一檔案或目錄)
W: 用『apt-get -f install』指令或許能修正這些問題。
*****************************************************************/
然後用apt-get install flex安裝

透過Facebook分享

2007年4月24日 星期二

裝了debian using VMware

下載網路安裝版
http://debian.csie.nctu.edu.tw/debian-cd/4.0_r0/i386/iso-cd/debian-40r0-i386-netinst.iso

由於在公司安裝的關係
http_proxy設定處
就輸入
http://a.b.c.d:3128/

系統核心裝完之後
選擇軟體的地方
選擇桌面環境,Web伺服器(日後會研究到),以及標準系統


等好久喔
還在裝
裝好再來回報

透過Facebook分享