[svn] / trunk / xvidcore / build / generic / Makefile.linux Repository:
ViewVC logotype

Diff of /trunk/xvidcore/build/generic/Makefile.linux

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 276, Tue Jul 9 21:39:19 2002 UTC revision 314, Fri Jul 19 09:56:59 2002 UTC
# Line 4  Line 4 
4  #  #
5  # Edit this file to enable/disable optimizations  # Edit this file to enable/disable optimizations
6  #  #
7  # $Id: Makefile.linux,v 1.5 2002-07-09 21:39:19 chl Exp $  # $Id: Makefile.linux,v 1.6 2002-07-19 09:56:59 edgomez Exp $
8  #  #
9  #############################################################################  #############################################################################
10    
# Line 65  Line 65 
65        # To detect non ANSI C code (xvid is not ANSI C (yet?))        # To detect non ANSI C code (xvid is not ANSI C (yet?))
66    # CFLAGS += -pedantic    # CFLAGS += -pedantic
67    
68    
69    # General Optimization options    # General Optimization options
70        # Optimize code for size (implies -O2)        # Optimize code for size (implies -O2)
71    CFLAGS += -Os    CFLAGS += -Os
# Line 80  Line 81 
81        # Generates Position Independant Code depending on your nasm version,        # Generates Position Independant Code depending on your nasm version,
82        # this could generate shared libraries that segfault because of a nasm        # this could generate shared libraries that segfault because of a nasm
83        # bug        # bug
84    # CFLAGS += -fPIC    CFLAGS += -fPIC
85    
86      # Debugging and Profiling options
87         # Writes debugging symbols in object files
88      # CFLAGS += -g
89         # Includes profiling code in generated code, don't forget to disable
90         # -fomit-frame-pointer as these 2 options are exclusive.
91      # CFLAGS += -p
92    
93    
94    # Architecture options : Valid for every gcc version    # Architecture options : Valid for every gcc version
# Line 107  Line 115 
115    # CFLAGS += -march=athlon-xp -mcpu=athlon-xp    # CFLAGS += -march=athlon-xp -mcpu=athlon-xp
116    # CFLAGS += -march=athlon-mp -mcpu=athlon-mp    # CFLAGS += -march=athlon-mp -mcpu=athlon-mp
117    
118    # Architecture specific optimization for every gcc    # x86 specific optimization for every gcc
119        # Aligns the stack to 2^4=16bytes boundaries in each function        # Aligns the stack to 2^4=16bytes boundaries in each function
120        # Local variables should be aligned and make the code faster        # Local variables should be aligned and make the code faster
121        # some gcc versions (3.0.4) have problems with this option        # some gcc versions (3.0.4) have problems with this option

Legend:
Removed from v.276  
changed lines
  Added in v.314

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4