13.07.2015 Views

User manual - ICP DAS USA

User manual - ICP DAS USA

User manual - ICP DAS USA

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2.2.1 Introduction to CygwinWhat is Cygwn ? Cygwin is a collection of free software tools originally developed byCygnus Solutions to allow various versions of Microsoft Windows to act somewhat like aUNIX system. That is Cygwin is a Linux-like environment for Windows. It consists of twoparts:(1) A DLL (cygwin1.dll) which acts as a Linux emulation layer providing substantial LinuxAPI functionality.(2) A collection of tools, which provide users with the Linux look and feel.2.2.2 Introduction to Cross-CompilationWhat is Cross-Compilation? Generally, compiling a program takes place by runningthe compiler on the build platform. The compiled program will run on the target platform.Usually these two processes are on the same platform; if they are different, the process iscalled cross-compilation. That is the process that can compile source code on one platformto the executable files on other platforms. For example, you can compile source code in ax86 windows platform into an executable file that can run on an arm-linux platform if youuse the cross-compiler - “arm-linux-gcc”.So why do we use Cross-Compilation? In fact, Cross-Compilation is sometimes moreinvolved and errors are easier to make than with normal compilation. Therefore it is oftenonly employed if the target is not able to compile programs on its own or when we want tocompile large programs that need more resources than the target can provide. For manyembedded systems, cross-compilation is the only possible way.2.2.3 Download the LinPAC-8x4x SDK For Windows system : (Extract the .exe file into to the C: driver.)linpacsdk_for_windows.exe as below:ftp://ftp.icpdas.com/pub/cd/linpac/napdos/lp-8x4x/sdk/linpacsdk_for_windows.exe For Linux system : (Extract the .bz2 file into to the root ( / ) directory.)linpacsdk_for_linux.tar.bz2 as below:ftp://ftp.icpdas.com/pub/cd/linpac/napdos/lp-8x4x/sdk/linpacsdk_for_linux.tar.bz2Note: We recommend user to change user ID to become root by ‘sudo’ or ‘su’ command.LinPAC-8x4x SDK:12

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!