| 数据搜索系统,热门电子元器件搜索 |
|
ST9 数据表(PDF) 117 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST9 数据表(HTML) 117 Page - STMicroelectronics |
|
117 / 146 page ![]() 117/146 ST9 USER GUIDE $(DEP): $(C_SRC) $(SPP_SRC) @echo Generating dependencies ... $(GCC) -MM -I$(INCDIR) $^ > $@ # Rule for cleaning the application .PHONY : clean clean : @echo off if exist *.o del *.o if exist *.u del *.u if exist *.lis del *.lis if exist *.map del *.map if exist *.dep del *.dep if exist *.hex del *.hex The syntax of this file looks complicated. In fact, you typically only have to change the DE- FINES section. The various items of the file are detailed below. 5.4.1.1 CFLAGS = -m$(MODEL) -I$(INCDIR) -c -g -Wa,-alhd=$*.lis CFLAGS is a variable that contains the options that govern the working of the C-compiler. Re- ferring to the option table of the compiler, it means: 5.4.1.2 LDFLAGS = -nostdlib -T$(SCRIPTFILE) -Wl,-Map,$(APPLI).map LDFLAGS is a variable that contains the options that govern the working of the linker. The op- tions are: Option Meaning -m$(MODEL) Defines the memory model to use. -I$(INCDIR) Defines user header files path. -c Output an object file for later linking. -g Include in the object file all necessary information for the debugger to allow it to use symbolic names. -Wa,-alhd=$*.lis Tells the gcc9 to transmit the option string -alhd=$*.lis to the assembler. These op- tions makes the assemble generate the most complete assembly listing file to help finding problems more easily. Option Meaning -nostdlib Inhibits the use of standard startup files or libraries. -T$(SCRIPTFILE) Tells the linker to use the specified script file. -Wl,-Map,$(APPLI).map Tells gcc9 to transmit the -Map $(APPLI).map option string to the linker. This option will make the linker print a link map in the map file. |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |