2012年8月10日
摘要: 命令下的mount使用时带各种参数,我在写c代码时却不知道参数加在什么地方,查了下资料,自己再做个记录:命令行:1mount-oiocharset=gb2312/dev/sdb1/mnt对应的c:1rest=mount(devPath,mntPath,"vfat",S_WRITE,"iocharset=gb2312");2//如果有多个options,以“,”分开 阅读全文
posted @ 2012-08-10 16:53 J.evan 阅读(496) 评论(0) 推荐(0)
摘要: 因为工作需要,需要交叉编译iconv,对编译过程做个记录:下载地址:1http://ftp.gnu.org/pub/gnu/libiconv/编译参数:./configureCC=arm-hisiv200-linux-gcc--build=i686-pc-linux--target=arm-linux--host=arm-linuxprefix=/home/jevan/libiconv-1.14/build_dir/--enable-shared--enable-shared--enable-staticmake1make&&makeinstall收工!! 阅读全文
posted @ 2012-08-10 16:46 J.evan 阅读(690) 评论(0) 推荐(0)