-- 作者:wangxinxin
-- 發布時間:2010-11-23 14:00:31
-- mips linux技術經驗總結
1: mipsel-linux-gcc xxxx.o -L/xxxx/lib -lixml -lthreadutil -lpthread -lupnp -o ushare -static /xxxx/upnpapi.c:216: undefined reference to `pthread_rwlock_init\' 應該使用下面的命令 mipsel-linux-gcc -o ushare -static -Wall -Wl,--start-group xxxxxx.o -L/xxxx/lib -lixml -lthreadutil -lpthread -lupnp -Wl,--end-group 原因未知 2: echo -ne "string \\n" -ne參數解釋轉義字符 -n do not output the trailing newline -e enable interpretation of the backslash-escaped characters listed below 3: sed /^$/d 刪除文件中的空行
|