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

linux Ï fluent UDF ÓÃµÄ makefile

Linux ϱàÒë fluent UDF ʹµÄ makefile£¬¸ù¾Ý fluent ×Ô´øµÄ makefile Ð޸ĵġ£
µ÷ÓõÄʱºò£¬Ö±½Ó¼ÓÉÏÄ¿±ê£¬Èç
make -f makefile_linux lnamd64
#----------------------------------------------------------------------#
# makefile for user defined functions.
#----------------------------------------------------------------------#
#----------------------------------------------------------------------#
# User modifiable section.
#----------------------------------------------------------------------#
SRCDIR = ./src
MYSRCS =  mymodels.c \
          myuns.c    \
          mybc.c     \
SOURCES = $(addprefix $(SRCDIR)/, $(MYSRCS))
HEADERS =  $(SRCDIR)/myudf.h
FLUENT_INC = /opt/progs/Fluent.Inc
ARCH = lnamd64
MAKE = make -f makefile_linux
# Precompiled User Object files (for example .o files from .f sources)
USER_OBJECTS=
#----------------------------------------------------------------------#
# Build targets (do not modify below this line).
#----------------------------------------------------------------------#
CC= cc -DRP_CONFIG_3DDP=1
SHELL= /bin/sh
RELEASE= 6.3.26
VERSION= 3ddp
ARCHC=$(ARCH)
TARGET= libhylab.so
UDFDATA= udf_names.c
OBJECTS= $(UDFDATA:.c=.o) $(MYSRCS:.c=.o)
INCLUDES= -I$(FLUENT_INC)/fluent$(RELEASE)/$(ARCH)/$(VERSION) \
          -I$(FLUENT_INC)/fluent$(RELEASE)/src \
          -I$(FLUENT_INC)/fluent$(RELEASE)/cortex/src \
          -I$(FLUENT_INC)/fluent$(RELEASE)/client/src \
          -I$(FLUENT_INC)/fluent$(RELEASE)/tgrid/src \
          -I$(FLUENT_INC)/fluent$(RELEASE)/multiport/src \
      -I.
CFLAGS_ALPHA=        -c


Ïà¹ØÎĵµ£º

linuxÉÏcÓïÑÔ »ñµÃÍøÂç½Ó¿ÚµÄͳ¼ÆÖµ

Õâ¸ö¶«¶«£¬ÂùºÃÍæµÄ¡£Æäʵ¾ÍÊǶÁÈ¡ÁË/proc/net/dev Îļþ¡£
struct netdev_stats {
    unsigned long long rx_packets_m;    /* total packets received       */
    unsigned long long tx_packets_m;     &nbs ......

ѧ×öǶÈëʽLinuxϵͳ£¨×ª£©


ѧ×öǶÈëʽLinuxϵͳ£¨×ª£©
 
 
ת×Ô£ºhttp://www.dzkf.cn/html/qianrushixitong/2006/0731/120.html
×öÒ»¸öǶÈëʽLinuxϵͳ¾¿¾¹Òª×öÄÄЩ¹¤×÷
×öÒ»¸öǶÈëʽLinuxϵͳ¾¿¾¹ÐèÒª×öÄÄЩ¹¤×÷£¿Ò²¾ÍÊDZ¾Îľ¿¾¹Òª½²ÊöÄÄЩÄÚÈÝ£¿ÎÒÏȽéÉÜÒ»¸öÂöÂ磬¿ÉÒÔ×öΪÎÒÃǺóÃæ¹¤×÷µÄÒ»¸ö×ܵÄÌá¸Ù£º
µÚÒ»²½¡¢½¨Á¢½»²æ±àÒë»·¾ ......

ÔÚlinuxÏÂÉú³É¿ÉÖ´ÐÐÎļþºÍ¿âÎļþ


l        
ÔÚ
Linux
ϱàдÆÕͨ¿ÉÖ´ÐÐÎļþµÄÃüÁ
gcc –o
Ä¿±êÎļþÃû

Ô´ÎļþÃû£¨ÁÐ±í£©
Èç¹û¹¤³Ì°üº¬¶à¸ö
.c
ºÍ
.h
ÄÇôÔÚÔ´ÎļþÃûÁбíÖÐÖ»ÁгöËùÓеÄ
.c
Îļþ
Àý£º¹¤³ÌÎļþ¼ÐÀïÓÐ
des.c 
hash.c 
main.c 
des.h 
hash ......

Linuxѧϰ£¨Ò»£©


ÔÚLinuxÖУ¬²»ÓüüÈëÓ¦ÓóÌÐòµÄÍêÕû·¾¶¶øÆô¶¯Ó¦ÓóÌÐòµÄ·½·¨£º
Ô­Òò£º
   Ö®ËùÒÔҪʹÓÃÍêÕû·¾¶ÃûÀ´Æô¶¯³ÌÐòÊÇÓÉÓÚ£¬¿ÉÖ´ÐÐÎļþûÓб»·ÅÖÃÔÚÄãµÄÓû§ shell »·¾³ËùÖªµÄĿ¼ÖУ¨Èç /usr/local/bin £©¡£
 ·½·¨£º±à¼­PATH±äÁ¿
    Èç¹ûÄãÐèҪƵ·±µØÆô¶¯Î»ÓÚ shell ËÑË÷µÄ·¾¶Ö®ÍâµÄ³ÌÐò£ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ