de     

This is an old revision of the document!


Tutorial -- Compilation of an example

This tutorial explains how the examples from the package can be build. The building rules are described by Makefile's, i.e. an appropriate GNU environment is required.

  1. Make sure that the System requirements are satisfied. Make sure the javac – the Java compiler can be found, i.e. make sure that the PATH environment variable contains the the location of javac or javac.exe, respectively
  2. Open a terminal (Linux) or start MSys (Windows).
  3. Let's assume you have installed the package under $HOME/ztex (Linux) or under c:\ztex (Windows) and you want to compile the example examples/usb-fpga-1.2/ucecho/. Go to the example directory, e.g. using
    cd $HOME/ztex/examples/usb-fpga-1.2/ucecho/

    under Linux, or

    cd /c/ztex/examples/usb-fpga-1.2/ucecho/       

    under windows.

  4. The command
    make

    builds everything (including the firmware) and packs it into a .jar archive.

 
en/software/tutorial_compiling.1265295492.txt.gz · Last modified: 2010/02/04 14:58 by stefan
 
Recent changes RSS feed Creative Commons License Powered by PHP Debian Driven by DokuWiki
[ZTEX Home] [Imprint] [Privacy policy]