11.07.2015 Views

Imagecraft c compiler and development environment for the atmel avr

Imagecraft c compiler and development environment for the atmel avr

Imagecraft c compiler and development environment for the atmel avr

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ICCV8 <strong>for</strong> AVR – C Compiler <strong>for</strong> Atmel AVR -lLink in <strong>the</strong> specific library files in addition to <strong>the</strong> default libc<strong>avr</strong>.a. This can beused to change <strong>the</strong> behavior of a function in <strong>the</strong> default library libc<strong>avr</strong>.a, since<strong>the</strong> default library is always linked in last. The libname is <strong>the</strong> library file namewithout <strong>the</strong> lib prefix <strong>and</strong> without <strong>the</strong> .a suffix. For example:-llp<strong>avr</strong> “liblp<strong>avr</strong>.a” using full printf-lfp<strong>avr</strong> “libfp<strong>avr</strong>.a” using floating-point printf -mSpecify <strong>the</strong> device name. This is emitted to <strong>the</strong> top of <strong>the</strong> .mp map file. -nb:Specify <strong>the</strong> Build number of <strong>the</strong> project. The linker emits <strong>the</strong> build number, <strong>the</strong><strong>compiler</strong> version <strong>and</strong> o<strong>the</strong>r documentary in<strong>for</strong>mation to <strong>the</strong> top of <strong>the</strong> .mp mapfile. -RDo not link in <strong>the</strong> startup file or <strong>the</strong> default library file. This is useful if you arewriting an assembly-only application. -S0Generate COFF <strong>for</strong>mat compatible with AVR Studio 3.x. -S1Generate COFF <strong>for</strong>mat compatible with AVR Studio 4.00 to 4.05. -S2Generate COFF <strong>for</strong>mat compatible with AVR Studio 4.06+. -OEnable <strong>the</strong> Code Compression optimization. ADV or PRO versions only. -uUse as <strong>the</strong> startup file. If <strong>the</strong> file is just a name without path in<strong>for</strong>mation,<strong>the</strong>n it must be located in <strong>the</strong> library directory. -WTurn on relocation wrapping. See Device-Specific Instructions. Note that you needto use <strong>the</strong> -Wl prefix, since <strong>the</strong> driver does not know of this option directly (<strong>for</strong>example,-Wl-W).163

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

Saved successfully!

Ooh no, something went wrong!