Ignore:
Timestamp:
Jan 21, 2018, 12:10:09 AM (6 years ago)
Author:
coas-nagasima
Message:

prototoolに関連するプロジェクトをnewlibからmuslを使うよう変更・更新
ntshellをnewlibの下位の実装から、muslのsyscallの実装に変更・更新
以下のOSSをアップデート
・mruby-1.3.0
・musl-1.1.18
・onigmo-6.1.3
・tcc-0.9.27
以下のOSSを追加
・openssl-1.1.0e
・curl-7.57.0
・zlib-1.2.11
以下のmrbgemsを追加
・iij/mruby-digest
・iij/mruby-env
・iij/mruby-errno
・iij/mruby-iijson
・iij/mruby-ipaddr
・iij/mruby-mock
・iij/mruby-require
・iij/mruby-tls-openssl

Location:
EcnlProtoTool/trunk/tcc-0.9.27
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • EcnlProtoTool/trunk/tcc-0.9.27/tcc-doc.texi

    r279 r331  
    177177@end example
    178178
    179 @item -dumpversion
    180 Print only the compiler version and nothing else.
    181 
    182179@item -v
    183180Display TCC version.
    184181
    185182@item -vv
    186 Show included files.  As sole argument, print search dirs (as below).
     183Show included files.  As sole argument, print search dirs.  -vvv shows tries too.
    187184
    188185@item -bench
    189186Display compilation statistics.
    190 
    191 @item -print-search-dirs
    192 Print the configured installation directory and a list of library
    193 and include directories tcc will search.
    194187
    195188@end table
     
    214207@item -Usym
    215208Undefine preprocessor symbol @samp{sym}.
     209
     210@item -E
     211Preprocess only, to stdout or file (with -o).
     212
    216213@end table
    217214
    218215Compilation flags:
    219216
    220 Note: each of the following warning options has a negative form beginning with
     217Note: each of the following options has a negative form beginning with
    221218@option{-fno-}.
    222219
     
    233230@item -fleading-underscore
    234231Add a leading underscore at the beginning of each C symbol.
     232
     233@item -fms-extensions
     234Allow a MS C compiler extensions to the language. Currently this
     235assumes a nested named structure declaration without an identifier
     236behaves like an unnamed one.
     237
     238@item -fdollars-in-identifiers
     239Allow dollar signs in identifiers
    235240
    236241@end table
     
    277282Link your program with dynamic library libxxx.so or static library
    278283libxxx.a. The library is searched in the paths specified by the
    279 @option{-L} option.
     284@option{-L} option and @env{LIBRARY_PATH} variable.
    280285
    281286@item -Bdir
     
    301306
    302307@item -Wl,-rpath=path
    303 Put custom seatch path for dynamic libraries into executable.
     308Put custom search path for dynamic libraries into executable.
     309
     310@item -Wl,--enable-new-dtags
     311When putting a custom search path for dynamic libraries into the executable,
     312create the new ELF dynamic tag DT_RUNPATH instead of the old legacy DT_RPATH.
    304313
    305314@item -Wl,--oformat=fmt
     
    323332Set DT_SYMBOLIC tag.
    324333
     334@item -Wl,-(no-)whole-archive
     335Turn on/off linking of all objects in archives.
     336
    325337@end table
    326338
     
    339351that the generated code is slower and bigger in this case.
    340352
    341 Note: @option{-b} is only available on i386 for the moment.
     353Note: @option{-b} is only available on i386 when using libtcc for the moment.
    342354
    343355@item -bt N
     
    356368Use @file{depfile} as output for -MD.
    357369
     370@item -print-search-dirs
     371Print the configured installation directory and a list of library
     372and include directories tcc will search.
     373
     374@item -dumpversion
     375Print version.
     376
     377@end table
     378
     379Target specific options:
     380
     381@table @option
     382@item -mms-bitfields
     383Use an algorithm for bitfield alignment consistent with MSVC. Default is
     384gcc's algorithm.
     385
     386@item -mfloat-abi (ARM only)
     387Select the float ABI. Possible values: @code{softfp} and @code{hard}
     388
     389@item -mno-sse
     390Do not use sse registers on x86_64
     391
     392@item -m32, -m64
     393Pass command line to the i386/x86_64 cross compiler.
     394
    358395@end table
    359396
     
    362399@c man end
    363400
     401@c man begin ENVIRONMENT
     402Environment variables that affect how tcc operates.
     403
     404@table @option
     405
     406@item CPATH
     407@item C_INCLUDE_PATH
     408A colon-separated list of directories searched for include files,
     409directories given with @option{-I} are searched first.
     410
     411@item LIBRARY_PATH
     412A colon-separated list of directories searched for libraries for the
     413@option{-l} option, directories given with @option{-L} are searched first.
     414
     415@end table
     416
     417@c man end
     418
    364419@ignore
    365420
     
    368423
    369424@c man begin SEEALSO
     425cpp(1),
    370426gcc(1)
    371427@c man end
     
    389445
    390446TCC implements many features of the new C standard: ISO C99. Currently
    391 missing items are: complex and imaginary numbers and variable length
    392 arrays.
     447missing items are: complex and imaginary numbers.
    393448
    394449Currently implemented ISOC99 features:
    395450
    396451@itemize
     452
     453@item variable length arrays.
    397454
    398455@item 64 bit @code{long long} types are fully supported.
     
    597654@itemize
    598655
    599 @item @code{__TINYC__} is a predefined macro to @code{1} to
    600 indicate that you use TCC.
     656@item @code{__TINYC__} is a predefined macro to indicate that you use TCC.
    601657
    602658@item @code{#!} at the start of a line is ignored to allow scripting.
     
    614670Since version 0.9.16, TinyCC integrates its own assembler. TinyCC
    615671assembler supports a gas-like syntax (GNU assembler). You can
    616 desactivate assembler support if you want a smaller TinyCC executable
     672deactivate assembler support if you want a smaller TinyCC executable
    617673(the C compiler does not rely on the assembler).
    618674
     
    703759@cindex ascii directive
    704760
    705 All directives are preceeded by a '.'. The following directives are
     761All directives are preceded by a '.'. The following directives are
    706762supported:
    707763
     
    922978@section Types
    923979
    924 The types are stored in a single 'int' variable. It was choosen in the
     980The types are stored in a single 'int' variable. It was chosen in the
    925981first stages of development when tcc was much simpler. Now, it may not
    926982be the best solution.
     
    9491005#define VT_CONSTANT   0x0800  /* const modifier */
    9501006#define VT_VOLATILE   0x1000  /* volatile modifier */
    951 #define VT_SIGNED     0x2000  /* signed type */
     1007#define VT_DEFSIGN    0x2000  /* signed type */
    9521008
    9531009#define VT_STRUCT_SHIFT 18   /* structure/enum name shift (14 bits left) */
     
    9911047
    9921048@code{Sym.v} contains the symbol name (remember
    993 an idenfier is also a token, so a string is never necessary to store
     1049an identifier is also a token, so a string is never necessary to store
    9941050it). @code{Sym.t} gives the type of the symbol. @code{Sym.r} is usually
    9951051the register in which the corresponding variable is stored. @code{Sym.c} is
     
    10341090@section Sections
    10351091
    1036 The generated code and datas are written in sections. The structure
     1092The generated code and data are written in sections. The structure
    10371093@code{Section} contains all the necessary information for a given
    10381094section. @code{new_section()} creates a new section. ELF file semantics
     
    10591115@item stab_section
    10601116@itemx stabstr_section
    1061 are used when debugging is actived to store debug information
     1117are used when debugging is active to store debug information
    10621118
    10631119@item symtab_section
     
    11591215
    11601216@item VT_LLOCAL
    1161 is a saved lvalue on the stack. @code{VT_LLOCAL} should be eliminated
    1162 ASAP because its semantics are rather complicated.
     1217is a saved lvalue on the stack. @code{VT_LVAL} must also be set with
     1218@code{VT_LLOCAL}. @code{VT_LLOCAL} can arise when a @code{VT_LVAL} in
     1219a register has to be saved to the stack, or it can come from an
     1220architecture-specific calling convention.
    11631221
    11641222@item VT_MUSTCAST
     
    12191277@item gen_opi(op)
    12201278must generate the binary integer operation @var{op} on the two top
    1221 entries of the stack which are guaranted to contain integer types.
     1279entries of the stack which are guaranteed to contain integer types.
    12221280
    12231281The result value should be put on the stack.
     
    12251283@item gen_opf(op)
    12261284same as @code{gen_opi()} for floating point operations. The two top
    1227 entries of the stack are guaranted to contain floating point values of
     1285entries of the stack are guaranteed to contain floating point values of
    12281286same types.
    12291287
Note: See TracChangeset for help on using the changeset viewer.