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.

5.2.1 Compile without linking the LinPAC-8000 library(1) Purpose:*. c to *. exeCommand:arm-linux-gcc –o target source.cParameter:-o target:assign the name of output filesource.c:source code of CExample:arm-linux-gcc –o helloworld.exe helloworld.cOutput File:helloworld.exe(2) Purpose:*. c ... *.c to *. exeCommand:arm-linux-gcc –c source.cCommand:arm-linux-gcc –o target object.oParameter:-o target:assign the name of output filesource.c:source code of Cobject.o:object fileExample:arm-linux-gcc –c main.c helloworld.c hi.carm-linux-gcc –o main.exe main.o helloworld.o hi.oOutput File:main.exe5.2.2 Compile with linking the LinPAC-8000 library ( libi8k.a )(1) Purpose:*. c to *. oCommand:arm-linux-gcc –IincludeDIR -lm –c –o target source.c libraryParameter:LinPAC-8x4x SDK:28

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

Saved successfully!

Ooh no, something went wrong!