亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? build.make.html

?? ecos 文檔
?? HTML
?? 第 1 頁 / 共 4 頁
字號:
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>cdl_component CYGBLD_GLOBAL_OPTIONS {
    flavor  none
    parent  CYGPKG_NONE
    &#8230;

    cdl_option CYGBLD_GLOBAL_COMMAND_PREFIX {
        flavor  data
        default_value { "arm-elf" }
        &#8230;
    }
    cdl_option CYGBLD_GLOBAL_CFLAGS {
        flavor  data
        default_value "-Wall -g -O2 &#8230;"
        &#8230;
    }

    cdl_option CYGBLD_GLOBAL_LDFLAGS {
        flavor  data
        default_value "-g -nostdlib -Wl,--gc-sections &#8230;"
        &#8230;
    }
}</PRE
></TD
></TR
></TABLE
><P
>The <TT
CLASS="VARNAME"
>CYGBLD_GLOBAL_OPTIONS</TT
> component serves to
collect together all global build-related options. It has the flavor
<TT
CLASS="LITERAL"
>none</TT
> since disabling all of these options would
make it impossible to build anything and hence is not useful. It is
parented immediately below the root of the configuration hierarchy,
thus making sure that it is readily accessible in the graphical
configuration tool and, for command line users, in the
<TT
CLASS="FILENAME"
>ecos.ecc</TT
> save file.</P
><DIV
CLASS="NOTE"
><BLOCKQUOTE
CLASS="NOTE"
><P
><B
>Note: </B
>Currently the <SPAN
CLASS="PROPERTY"
>parent</SPAN
> property lists a parent of
<TT
CLASS="VARNAME"
>CYGPKG_NONE</TT
>, rather than an empty string. This
could be unfortunate if there was ever a package with that name. The
issue will be addressed in a future release of the component
framework.</P
></BLOCKQUOTE
></DIV
><P
>The option <TT
CLASS="VARNAME"
>CYGBLD_GLOBAL_COMMAND_PREFIX</TT
> defines
which tools should be used for the current target. Typically this is
determined by the processor on the target hardware. In some cases a
given target board may be able to support several different
processors, in which case the <SPAN
CLASS="PROPERTY"
>default_value</SPAN
> expression could select
a different toolchain depending on some other option that is used to
control which particular processor.
<TT
CLASS="VARNAME"
>CYGBLD_GLOBAL_COMMAND_PREFIX</TT
> is modifiable rather
than calculated, so users can override this when necessary.</P
><P
>Given a command prefix such as <TT
CLASS="LITERAL"
>arm-elf</TT
>, all C
source files will be compiled with <TT
CLASS="LITERAL"
>arm-elf-gcc</TT
>, all
C++ sources will be built using <TT
CLASS="LITERAL"
>arm-elf-g++</TT
>,
and <TT
CLASS="LITERAL"
>arm-elf-ar</TT
> will be used to generate the
library. This is in accordance with the usual naming conventions for
GNU cross-compilers and similar tools. For the purposes of custom
build steps, tokens such as <TT
CLASS="LITERAL"
>$(CC)</TT
> will be set to
<TT
CLASS="LITERAL"
>arm-elf-gcc</TT
>.</P
><P
>The next option, <TT
CLASS="VARNAME"
>CYGBLD_GLOBAL_CFLAGS</TT
>, is used to
provide the initial value of <TT
CLASS="LITERAL"
>$(CFLAGS)</TT
>. Some
compiler flags such as <TT
CLASS="LITERAL"
>-Wall</TT
> and
<TT
CLASS="LITERAL"
>-g</TT
> are likely to be used on all targets. Other
flags such as <TT
CLASS="LITERAL"
>-mcpu=arm7tdmi</TT
> will be
target-specific. Again this is a modifiable option, so the user can
switch from say <TT
CLASS="LITERAL"
>-O2</TT
> to <TT
CLASS="LITERAL"
>-Os</TT
> if
desired. The option <TT
CLASS="VARNAME"
>CYGBLD_GLOBAL_LDFLAGS</TT
> serves
the same purpose for <TT
CLASS="LITERAL"
>$(LDFLAGS)</TT
> and linking. It is
used primarily when building test cases or possibly for some custom
build steps, since building eCos itself generally involves building
one or more libraries rather than executables.</P
><P
>Some packages may wish to add certain flags to the global set, or
possibly remove some flags. This can be achieved by having
appropriately named options in the package, for example:</P
><TABLE
BORDER="5"
BGCOLOR="#E0E0F0"
WIDTH="70%"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>cdl_component CYGPKG_KERNEL_OPTIONS {
    display "Kernel build options"
    flavor  none
    &#8230;

    cdl_option CYGPKG_KERNEL_CFLAGS_ADD {
        display "Additional compiler flags"
        flavor  data
        default_value { "" }
        &#8230;
    }

    cdl_option CYGPKG_KERNEL_CFLAGS_REMOVE {
        display "Suppressed compiler flags"
        flavor  data
        default_value { "" }
        &#8230;
    }

    cdl_option CYGPKG_KERNEL_LDFLAGS_ADD {
        display "Additional linker flags"
        flavor  data
        default_value { "" }
        &#8230;
    }

    cdl_option CYGPKG_KERNEL_LDFLAGS_REMOVE {
        display "Suppressed linker flags"
        flavor  data
        default_value { "" }
        &#8230;
    }
}</PRE
></TD
></TR
></TABLE
><P
>In this example the kernel does not modify the global compiler flags
by default, but it is possible for the users to modify the options if
desired. The value of <TT
CLASS="LITERAL"
>$(CFLAGS)</TT
> that is used for
the compilations and custom build steps in a given package is
determined as follows:</P
><P
></P
><OL
TYPE="1"
><LI
><P
>Start with the global settings from
<TT
CLASS="VARNAME"
>CYGBLD_GLOBAL_CFLAGS</TT
>, for example
<TT
CLASS="LITERAL"
>-g&nbsp;-O2</TT
>.</P
></LI
><LI
><P
>Remove any flags specified in the per-package
<TT
CLASS="LITERAL"
>CFLAGS_REMOVE</TT
> option, if any. For example
if <TT
CLASS="LITERAL"
>-O2</TT
> should be removed for this package then
<TT
CLASS="LITERAL"
>$(CFLAGS)</TT
> would now have a value of just
<TT
CLASS="LITERAL"
>-g</TT
>.</P
></LI
><LI
><P
>Then concatenate the flags specified by the per-package
<TT
CLASS="LITERAL"
>CFLAGS_ADD</TT
> option, if any. For example if
<TT
CLASS="LITERAL"
>-Os</TT
> should be added for the current package then
the final value of <TT
CLASS="LITERAL"
>$(CFLAGS)</TT
> will be
<TT
CLASS="LITERAL"
>-g&nbsp;-Os</TT
>.</P
></LI
></OL
><P
><TT
CLASS="LITERAL"
>$(LDFLAGS)</TT
> is determined in much the same way.</P
><DIV
CLASS="NOTE"
><BLOCKQUOTE
CLASS="NOTE"
><P
><B
>Note: </B
>The way compiler flags are handled at present has numerous limitations
that need to be addressed in a future release, although it should
suffice for nearly all cases. For the time being custom build steps
and in particular the <SPAN
CLASS="PROPERTY"
>make_object</SPAN
> property can be used to work
around the limitations.</P
><P
>Amongst the issues, there is a specific problem with package
encapsulation. For example the math library imposes some stringent
requirements on the compiler in order to guarantee exact IEEE
behavior, and may need special flags on a per-architecture basis. One
way of handling this is to have
<TT
CLASS="VARNAME"
>CYGPKG_LIBM_CFLAGS_ADD</TT
> and
<TT
CLASS="VARNAME"
>CYGPKG_LIBM_CFLAGS_REMOVE</TT
> <SPAN
CLASS="PROPERTY"
>default_value</SPAN
>
expressions which depend on the target architecture, but such
expressions may have to updated for each new architecture. An
alternative approach would allow the architectural HAL package to
modify the <SPAN
CLASS="PROPERTY"
>default_value</SPAN
> expressions for the math library, but this
breaks encapsulation. A third approach would allow some architectural
HAL packages to define one or more special options with well-known
names, and the math library could check if these options were defined
and adjust the default values appropriately. Other packages with
floating point requirements could do the same. This approach also has
scalability issues, in particular how many such categories of options
would be needed? It is not yet clear how best to resolve such issues.</P
></BLOCKQUOTE
></DIV
><DIV
CLASS="NOTE"
><BLOCKQUOTE
CLASS="NOTE"
><P
><B
>Note: </B
>When generating a build tree it would be desirable for the component
framework to output details of the tools and compiler flags in a
format that can be re-used for application builds, for example a
makefile fragment. This would make it easier for application
developers to use the same set of flags as were used for building eCos
itself, thus avoiding some potential problems with incompatible
compiler flags.</P
></BLOCKQUOTE
></DIV
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="BUILD.CUSTOM">Custom Build Steps</H2
><DIV
CLASS="CAUTION"
><P
></P
><TABLE
CLASS="CAUTION"
BORDER="1"
WIDTH="100%"
><TR
><TD
ALIGN="CENTER"
><B
>Caution</B
></TD
></TR
><TR
><TD
ALIGN="LEFT"
><P
>Some of the details of custom build steps as described below are
subject to change in future revisions of the component framework,
although every reasonable attempt will be made to avoid breaking
backwards compatibility.</P
></TD
></TR
></TABLE
></DIV
><P
>For most packages simply listing one or more source files in a
<SPAN
CLASS="PROPERTY"
>compile</SPAN
> property is sufficient. These files will get built using the
appropriate compiler and compiler flags and added to a library, which
then gets linked with application code. A package that can be built in
this way is likely to be more portable to different targets and build
environments, since it avoids build-time dependencies. However some
packages have special needs, and the component framework supports
custom build steps to allow for these needs. There are two properties
related to this, <SPAN
CLASS="PROPERTY"
>make</SPAN
> and <SPAN
CLASS="PROPERTY"
>make_object</SPAN
>, and both take the following
form:</P
><TABLE
BORDER="5"
BGCOLOR="#E0E0F0"
WIDTH="70%"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>    make {
        &lt;target_filepath&gt; : &lt;dependency_filepath&gt; &#8230;
            &lt;command&gt;
            ...
    }</PRE
></TD
></TR
></TABLE
><P
>Although this may look like makefile syntax, and although some build
environments will indeed involve generating makefiles and running
<SPAN
CLASS="APPLICATION"
>make</SPAN
>, this is not
guaranteed. It is possible for the component framework to be
integrated with some other build system, and custom build steps should
be written with that possibility in mind. Each custom build step
involves a target, some number of dependency files, and some number of
commands. If the target is not up to date with respect to one or more
of the dependencies then the commands need to be executed.</P
><P
></P
><OL
TYPE="a"
><LI
><P
>Only one target can be specified. For a <SPAN
CLASS="PROPERTY"
>make_object</SPAN
> property this
target must be an object file. For a <SPAN
CLASS="PROPERTY"
>make</SPAN
> property it can be any
file. In both cases it must refer to a physical file, the use of
phony targets is not supported. The target should not be an absolute
path name. If the generated file needs to end up in the install tree
then this can be achieved using a <TT
CLASS="LITERAL"
>&lt;PREFIX&gt;</TT
>
token, for example:</P
><TABLE
BORDER="5"
BGCOLOR="#E0E0F0"
WIDTH="70%"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>    make {
        &lt;PREFIX&gt;/lib/mytarget : &#8230;
            ...
    }</PRE
></TD
></TR
></TABLE
><P
>When the build tree is generated and the custom build step is added to
the makefile (or whatever build system is used)
<TT
CLASS="LITERAL"
>&lt;PREFIX&gt;</TT
> will be replaced with the absolute
path to the install tree. </P
></LI
><LI
><P
>All the dependencies must also refer to physical files, not to phony
targets. These files may be in the source tree. The
<TT
CLASS="LITERAL"
>&lt;PACKAGE&gt;</TT
> token can be used to indicate this:
when the build tree is generated this token will be replaced with the
absolute path to the package's root directory in the component
repository, for example:</P
><TABLE
BORDER="5"
BGCOLOR="#E0E0F0"
WIDTH="70%"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>    make_object {
        xyzzy.o : &lt;PACKAGE&gt;/src/xyzzy.c
            &#8230;</PRE
></TD
></TR
></TABLE
><P
>If the component repository was installed in <TT
CLASS="FILENAME"
>/usr/local/ecos</TT
> and this custom build
step existed in version 1_5 of the kernel,
<TT
CLASS="LITERAL"
>&lt;PACKAGE&gt;</TT
> would be replaced with
<TT
CLASS="FILENAME"
>/usr/local/ecos/packages/kernel/v1_5</TT
>.</P
><P
>Alternatively the dependencies may refer to files that are generated
during the build. These may be object files resulting from <SPAN
CLASS="PROPERTY"
>compile</SPAN
>
properties or other <SPAN
CLASS="PROPERTY"
>make_object</SPAN
> properties, or they may be other
files resulting from a <SPAN
CLASS="PROPERTY"
>make</SPAN
> property, for example:</P
><TABLE
BORDER="5"
BGCOLOR="#E0E0F0"
WIDTH="70%"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>    compile plugh.c
    make_object {
        xyzzy.o : plugh.o
            &#8230;
    }</PRE
></TD
></TR
></TABLE
></LI
><LI
><P
>No other token or makefile variables may be used in the target or
dependency file names. Also conditionals such as
<TT
CLASS="LITERAL"
>ifneq</TT
> and similar makefile functionality must not
be used.</P
></LI
><LI
><P
> 
Similarly the list of commands must not use any makefile conditionals
or similar functionality. A number of tokens can be used to provide
access to target-specific or environmental data. Note that these
tokens look like makefile variables, unlike the 
<TT
CLASS="LITERAL"
>&lt;PREFIX&gt;</TT
> and
<TT
CLASS="LITERAL"
>&lt;PACKAGE&gt;</TT
> tokens mentioned earlier:</P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN2784"><P
></P
><TABLE
BORDER="1"
CLASS="CALSTABLE"
><THEAD
><TR
><TH

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩精品一区二区三区视频在线观看| 在线不卡一区二区| 亚洲va国产天堂va久久en| 欧美videos中文字幕| 91欧美一区二区| 韩国女主播成人在线| 一区二区三区四区视频精品免费 | 国产亚洲女人久久久久毛片| 91免费视频观看| 国产一区二区三区在线观看免费 | 91一区二区在线观看| 精品一区二区三区免费| 亚洲综合色自拍一区| 欧美激情在线一区二区三区| 日韩免费成人网| 欧美日韩三级在线| 在线观看一区二区精品视频| 成人美女视频在线观看| 久久99最新地址| 日韩成人免费电影| 一区二区三区在线视频播放| 国产精品免费av| 国产午夜一区二区三区| 日韩精品一区二区三区中文不卡| 欧美日韩在线三区| 色视频一区二区| 97久久超碰国产精品| 成人国产精品免费观看| 黑人精品欧美一区二区蜜桃 | 亚洲大片一区二区三区| 亚洲午夜一区二区三区| 亚洲欧美偷拍卡通变态| 亚洲天堂a在线| 中文字幕一区二区三区不卡| 国产精品拍天天在线| 中文字幕国产一区| 国产日韩欧美一区二区三区乱码| 精品国产99国产精品| 日韩精品一区二| 日韩欧美一二三四区| 日韩美女视频在线| 精品国产sm最大网站| 久久久久久97三级| 国产人伦精品一区二区| 欧美激情综合网| 亚洲视频 欧洲视频| 亚洲欧洲制服丝袜| 亚洲国产成人av网| 视频一区二区三区中文字幕| 日本欧美一区二区三区乱码| 美国毛片一区二区| 国产精品综合久久| 不卡的av电影| 色婷婷综合五月| 91精品欧美一区二区三区综合在 | 亚洲18色成人| 美腿丝袜一区二区三区| 精品一区二区影视| 成人免费观看av| 欧美在线免费播放| 日韩三级免费观看| 国产欧美一区二区精品婷婷 | 亚洲免费观看在线观看| 国产亚洲欧美在线| 中文字幕欧美一| 一区二区三区在线免费视频| 欧美精品在欧美一区二区少妇| 在线观看91精品国产麻豆| 精品久久久久久无| 中文字幕中文字幕一区| 亚洲与欧洲av电影| 久久电影国产免费久久电影| 国产91精品久久久久久久网曝门| 色综合久久中文综合久久97| 9191成人精品久久| 国产亚洲精品7777| 一区二区三区中文字幕电影| 另类专区欧美蜜桃臀第一页| 成人动漫一区二区在线| 欧美男男青年gay1069videost | 国产毛片精品视频| 日本乱人伦aⅴ精品| 日韩一二三区不卡| 中文字幕精品—区二区四季| 亚洲午夜激情av| 国产高清一区日本| 欧美日本一道本在线视频| 国产婷婷色一区二区三区在线| 一区二区在线观看免费| 国内精品视频666| 欧美性受xxxx黑人xyx性爽| 欧美精品一区二区三区一线天视频| 国产精品国产自产拍高清av| 奇米一区二区三区| 在线一区二区三区四区| 久久亚洲欧美国产精品乐播| 亚洲制服欧美中文字幕中文字幕| 精品中文字幕一区二区小辣椒| 99精品国产热久久91蜜凸| 精品欧美一区二区久久| 一区二区三区日韩欧美| 成人综合婷婷国产精品久久| 日韩写真欧美这视频| 亚洲乱码国产乱码精品精可以看| 国产在线视频一区二区三区| 在线视频一区二区三区| 久久精品免视看| 美女看a上一区| 欧美在线|欧美| 国产精品久久免费看| 九九**精品视频免费播放| 制服丝袜亚洲精品中文字幕| 亚洲激情av在线| 不卡区在线中文字幕| 国产女人18毛片水真多成人如厕| 麻豆成人av在线| 欧美巨大另类极品videosbest | 蜜臀久久久久久久| 91国模大尺度私拍在线视频| 国产精品久久精品日日| 国产一区二区三区在线看麻豆| 日韩欧美在线观看一区二区三区| 亚洲一区二区三区在线看| 91猫先生在线| 亚洲欧洲一区二区三区| 成人国产精品免费观看动漫| 国产人妖乱国产精品人妖| 国产一区二区三区四| 精品日本一线二线三线不卡| 青草av.久久免费一区| 6080国产精品一区二区| 天堂影院一区二区| 56国语精品自产拍在线观看| 日本女人一区二区三区| 7777精品伊人久久久大香线蕉超级流畅 | 悠悠色在线精品| 色综合天天狠狠| 亚洲男人的天堂av| 色狠狠色噜噜噜综合网| 一区二区三区四区国产精品| 欧美图片一区二区三区| 午夜欧美视频在线观看| 91精品国产综合久久精品| 免费欧美高清视频| 精品久久久久久久久久久久久久久 | 国产综合色精品一区二区三区| 精品久久人人做人人爱| 国产福利一区在线观看| 国产欧美1区2区3区| 91在线观看下载| 一区二区三区**美女毛片| 欧美网站大全在线观看| 男女性色大片免费观看一区二区| 日韩一区二区在线观看视频播放| 蜜桃一区二区三区在线| 久久久天堂av| a4yy欧美一区二区三区| 亚洲同性同志一二三专区| 欧美亚男人的天堂| 免费在线看成人av| 久久久美女毛片| 91美女福利视频| 日本欧美一区二区三区乱码| 久久综合色8888| 91在线看国产| 日韩成人伦理电影在线观看| 国产三级精品三级在线专区| 91在线视频在线| 热久久国产精品| 国产视频在线观看一区二区三区| av成人免费在线观看| 五月天网站亚洲| 国产日本亚洲高清| 欧美日韩国产小视频在线观看| 国产中文字幕精品| 亚洲最色的网站| 精品国产一区二区三区四区四 | 一区二区三区中文免费| 91精品国产一区二区三区蜜臀| 国产成人高清在线| 无吗不卡中文字幕| 亚洲国产精品国自产拍av| 欧美日韩国产天堂| 国产99精品在线观看| 午夜一区二区三区视频| 国产人久久人人人人爽| 91麻豆精品国产91久久久久久久久| 国产高清不卡二三区| 日韩在线播放一区二区| 中文字幕一区在线观看视频| 日韩三级.com| 欧美综合天天夜夜久久| 国产一区二区成人久久免费影院| 午夜视频在线观看一区二区三区| 久久蜜桃av一区精品变态类天堂 | 日韩一区二区免费在线电影| 成人妖精视频yjsp地址| 免费成人在线播放| 夜夜亚洲天天久久| 亚洲国产成人一区二区三区|