Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

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 


Ïà¹ØÎĵµ£º

Linuxϵĵ÷ÊÔ¹¤¾ß

×ªÔØÊ±Çë×¢Ã÷³ö´¦ºÍ×÷ÕßÁªÏµ·½Ê½
ÎÄÕ³ö´¦£ºhttp://www.limodev.cn/blog
×÷ÕßÁªÏµ·½Ê½£ºÀîÏȾ² <xianjimli at hotmail dot com>
Ëæ×ÅXPµÄÁ÷ÐУ¬ÈËÃÇÔ½À´Ô½×¢ÖØÈí¼þµÄǰÆÚÉè¼Æ¡¢ºóÆÚµÄʵÏÖ£¬ÒÔ¼°¹á´©ÓÚÆäÖеIJâÊÔ¹¤×÷£¬¾­¹ýÕâ¸ö¹ý³Ì³öÀ´µÄ×ÔÈ»ÊǸßÖÊÁ¿µÄÈí¼þ¡£ÉõÖÁÓÐÈËÉù³ÆXP»áÌÔÌ­µ÷ÊÔÆ÷£¡Õ⵱ȻÊÇÓÐÒ»¶¨µÀÀíµÄ£¬È ......

linuxÉèÖà ÈÃoracle10g×ÔÆô¶¯


ÔÚ/etc/rc.d/init.d/ ´´½¨oracle10gÎļþ
touch oracle10g
chmod a+x oracle10g
[root@test~]# vi /etc/rc.d/init.d/oracle10g
#!/bin/bash
#chkconfig:345 51 49
#description:starts the oracle database deamons
#
ORACLE_HOME=/oracle/product/10.2.0/db_1
ORACLE_OWNER=oracle
case "$1" in
start)
echo ......

linux 0.11 ÄÚºËѧϰ file_dev.c


/*
 *  linux/fs/file_dev.c
 *
 *  (C) 1991  Linus Torvalds
 */
#include <errno.h>
#include <fcntl.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <asm/segment.h>
#define MIN(a,b) (((a)<(b))?(a):(b))
#defi ......

Ò룺Android ±» Linux kernel ÉçȺ¿ª³ý

Ô­ÎÄ£ºAndroid and the Linux kernel community
ÔÚ Linux kernel 2.6.33 °æ±¾£¬Android  ³ÌʽÂ룬ÒѾ­±»ÒƳý¡£ºÜ¶àÈË¿ªÊ¼Ñ¯ÎÊÎÒµ½µ×·¢ÉúÁËʲôÊ£¿Android ÏÂÒ»²½ÓÖ¸ÃÔõô°ì£¿ËùÒÔ£¬ÒÔϾÍÊÇÎÒ¶ÔÕâÕû¼þÊÂÇéµÄÒâ¼û……
Ê×ÏÈ£¬ÎÒҪ˵£¬ÎÒÊǺÜϲ»¶ Android ÊÖ»úƽ̨¡£Ö±µ½ÉÏÖÜ£¬ÎÒ»¹ÊÇÿÌ죬ʹÓÃÎÒÂòµÄ dev ......

LinuxÉϹ¹ÖþiPhone OS3.1.2¿ª·¢»·¾³Ö®±àÒëHELLO WORLD

ÖÕÓÚµ½Á˱àÒë·¶ÀýµÄʱºòÁË£¬·¶ÀýÔÚAPPSĿ¼ÀºÃÐË·Üѽ¡£¡£¡£
¿ªÊ¼±àÒ룺
zhaowei@zhaowei-ubuntu:~/toolchain/apps/HelloToolchain$ make
arm-apple-darwin9-gcc -lobjc -bind_at_load -framework Foundation -framework CoreFoundation -framework UIKit -w -o HelloToolchain HelloToolchain.o
ld: library not fou ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ