[svn] / branches / dev-api-4 / xvidcore / doc / INSTALL Repository:
ViewVC logotype

Diff of /branches/dev-api-4/xvidcore/doc/INSTALL

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

revision 1181, Fri Oct 17 15:25:44 2003 UTC revision 1196, Sun Nov 2 19:56:42 2003 UTC
# Line 112  Line 112 
112   # cd ${xvidcore}/build/generic   # cd ${xvidcore}/build/generic
113   # ./configure --host=i386-mingw32 --build=i386-pc-linux-gnu   # ./configure --host=i386-mingw32 --build=i386-pc-linux-gnu
114    
115  And then build as usual. You can build the vfw frontend as well,  And then build as usual.
116  specifying the CC compiler and the WINDRES tool to use on the make  
117  command line.  As the example uses the Win32 target, we can even build the vfw frontend.
118    Additional requirements are:
119     - Resource compiler (the Makefile uses the syntax of windres from the
120       GNU CC suite, but you can easily modify the cmd line)
121     - GNU make (other make programs may have problem with shell expansion)
122    
123    So to cross compile the VFW frontend, you just need to override the
124    Makefile variables pointing to the compiler and the resource compiler.
125    These variables are CC and WINDRES.
126   # cd ${xvidcore}/vfw/bin   # cd ${xvidcore}/vfw/bin
127   # make -f Makefile.cygwin CC=i386-mingw32-gcc WINDRES=i386-mingw32-windres   # make CC=i386-mingw32-gcc WINDRES=i386-mingw32-windres
128    
129    
130    1.e/ What is the meaning of xvidcore Makefile output.    1.e/ What is the meaning of xvidcore Makefile output.
# Line 138  Line 146 
146      Installing 'file' in 'a/dir'      Installing 'file' in 'a/dir'
147    - L: file    - L: file
148      Linking 'file'      Linking 'file'
149      - W: file
150        Compiling the Win32 resource 'file'
151    
152    
153    1.f/ Building a Debian package.    1.f/ Building a Debian package.
# Line 192  Line 202 
202  You have first to retrieve the sources from the xvid CVS repository  You have first to retrieve the sources from the xvid CVS repository
203  using a tool like WinCVS. Then follow the normal steps explained in  using a tool like WinCVS. Then follow the normal steps explained in
204  the previous section.  the previous section.
205    
206    NB: your CVS program may not convert text files to the cr/lf windows
207        text. In that case opening project files in MSVC will result in
208        some weird error messages from MSVC. To fix that, you have to
209        convert all .dsp files to the cr/lf format. You can do that
210        opening the .dsp file in WordPad and saving it. It should now be
211        in cr/lf format.

Legend:
Removed from v.1181  
changed lines
  Added in v.1196

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