Is cygwin support linux header file??
On 05/02/2010 04:31, Larry Hall (Cygwin) wrote:
> On 02/04/2010 08:36 PM, phil song wrote:
>> Hi,cygwin,
>> when I compile some project in cygwin,It prompts
>>
>> /cygdrive/g/work_platform/open-s/ftk-0.2/src/os/linux/ftk_linux.h:43:22:
>> linux/fb.h: No such file or
>> directory
>> /cygdrive/g/work_platform/open-s/ftk-0.2/src/os/linux/ftk_linux.h:44:22:
>> linux/kd.h: No such file or
>> directory
>> /cygdrive/g/work_platform/open-s/ftk-0.2/src/os/linux/ftk_linux.h:45:25:
>> linux/input.h: No such file
>> or directory
>>
>>
>> who can tell me how to operate to let fb.h in cygwin enviroment?
>
> You can't. You're compiling code built to depend of Linux-specific
> features. If you want to build it on another platform, you're going
> to need to figure out what it's doing on Linux and figure out how
> to accomplish that on the target platform. Some would call this
> non-portable code. And they'd be right.
It does support "Windows", though:
http://code.google.com/p/ftk/
Phil, you could probably try building a MinGW version by adding
CC="gcc-3 -mno-cygwin" CXX="gcc-3 -mno-cygwin"
to the configure line, but how well it would interoperate with cygwin apps is
not guaranteed.
cheers,
DaveK
True but that's not what the OP was trying to build. ftk also supports
VS2008 express edition. But that's also off-topic for this list.
--
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
216 Dalton Rd. (508) 893-9889 - FAX
Holliston, MA 01746
相关文档:
转载:http://www.cnblogs.com/hexapodsoft/archive/2007/04/24/724902.html
I/O重定向详解及应用实例
1、 基本概念(这是理解后面的知识的前提,请务必理解)
a、 I/O重定向通常与 FD有关,shell的FD通常为10个,即 0~9;
b、 常用FD有3个,为0(stdin,标准输入)、1(stdout,标准输出)、2(stderr,标准错误输 ......
当执行
ls -l
或
ls -al
命令后显示的结果中,最前面的第
2
~
10
个字符是用来表示权限。第一个字符一般用来区分文件和目录:
d
:表示是一个目录,事实上在
ext2fs
中,目录是一个特殊的文件。
-:表示这是一个普通的文件。
l:
表示 ......
一、安装JDK
安装包名为:jdk-1_5_0_18-linux-i586.rpm.bin
安装步骤:
1. 以root身份登录Linux操作系统
2. 将jdk-1_5_0_18-linux-i586.rpm.bin安装包上传到/tmp目录下, 检测确保jdk-1_5_0_18-linux-i586.rpm.bin有可执行权限;
如果jdk-1_5_0_18-linux-i586.rpm.bin没有可执行权限,可使用一下命令添加
#c ......
原文:Android and the Linux kernel community
在 Linux kernel 2.6.33 版本,Android 程式码,已经被移除。很多人开始询问我到底发生了什么事?Android 下一步又该怎么办?所以,以下就是我对这整件事情的意见……
首先,我要说,我是很喜欢 Android 手机平台。直到上周,我还是每天,使用我买的 dev ......