Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |
en:software:tutorial_compiling [2016/08/17 21:34] – stefan | en:software:tutorial_compiling [2016/09/14 17:33] (current) – stefan |
---|
* ''JAVAC_PATH'' should be point to the directory where ''javac(.exe)'' can be found. It must end with '/'. If location javac is in the ''PATH'' environment variable ''JAVAC_PATH'' can be empty | * ''JAVAC_PATH'' should be point to the directory where ''javac(.exe)'' can be found. It must end with '/'. If location javac is in the ''PATH'' environment variable ''JAVAC_PATH'' can be empty |
* If you want compile FX3 firmware, ''FX3_INSTALL_PATH'' must point to to the Cypress FX3 SDK location (this directory should contain the directory ''firmware/u3p_firmware'') and ''ARMGCC_INSTALL_PATH'' must point to the location of the ARM gcc cross compiler (this directory should contain the files ''bin/arm-*'') | * If you want compile FX3 firmware, ''FX3_INSTALL_PATH'' must point to to the Cypress FX3 SDK location (this directory should contain the directory ''firmware/u3p_firmware'') and ''ARMGCC_INSTALL_PATH'' must point to the location of the ARM gcc cross compiler (this directory should contain the files ''bin/arm-*'') |
* **Avoid spaces in directory names**. If this is not possible, escape them using '''\''', e.g. '''/c/Program\ Files'''. If this does not work (no guarantee for this), use symlinks. | * **Avoid spaces in directory names**. If this is not possible, escape them using '''\''', e.g. '''/c/Program\ Files'''. If this does not work (no guarantee for this), use symlinks (also see [[en:software:windows_hints]]) |
- Open a terminal (all proper OS) or start MSys (Windows). | - Open a terminal (all proper OS) or start MSys (Windows). |
- Let's assume you have installed the package under $HOME/ztex (Linux) or under c:\ztex (Windows) and you want to compile the example ''example/memfifo/''. Go to the example directory, e.g. using <code>cd $HOME/ztex/examples/memfifo</code> under Linux, or <code>cd /c/ztex/examples/memfifo </code> under windows. | - Let's assume you have installed the package under $HOME/ztex (Linux) or under c:\ztex (Windows) and you want to compile the example ''example/memfifo/''. Go to the example directory, e.g. using <code>cd $HOME/ztex/examples/memfifo</code> under Linux, or <code>cd /c/ztex/examples/memfifo </code> under windows. |