These -m options are defined for Adapteva Epiphany: -mhalf-reg-file ¶ĭon’t allocate any register in the range r32.``r63``. This is the default for all current possible values for options This implies floating-point instructionsĪre enabled. Over the appropriate part of this option.įeature modifiers used with -march and -mcpu can be one With -march or -mtune, those options take precedence The target processor for which to tune for performance (as ifīy -mtune). Generating assembly code (as if by -march) and to determine GCC uses this name to determine what kind of instructions it can emit when Where conflicting feature modifiers are specified, the right-most feature is The permissible values for feature are documented in the sub-section Processor of the host system this option has no effect. If the compiler is unable to recognize the This option causes the compiler to tune the performance of the code for the Additionally on native AArch64 GNU/Linux systems the Permissible values for cpu are the same as those available for ![]() Specify the name of the target architecture, optionally suffixed by one or This erratum workaround is made at link time and this will only pass theĬorresponding flag to the linker. mfix-cortex-a53-843419, -mno-fix-cortex-a53-843419 ¶Įnable or disable the workaround for the ARM Cortex-A53 erratum number 843419. This involves inserting a NOP instruction between memory instructions andĦ4-bit integer multiply-accumulate instructions. mfix-cortex-a53-835769, -mno-fix-cortex-a53-835769 ¶Įnable or disable the workaround for the ARM Cortex-A53 erratum number 835769. Use traditional TLS as the thread-local storage mechanism for dynamic accesses Use TLS descriptors as the thread-local storage mechanism for dynamic accesses Omit or keep the frame pointer in leaf functions. momit-leaf-frame-pointer, -mno-omit-leaf-frame-pointer ¶ Programs can beĭo not assume that unaligned memory references are handled by the system. This makes no assumptions aboutĪddresses and sizes of sections. Programs canīe statically or dynamically linked. Symbols must be within 4GB of each other. Symbols must be within 1GB of each other. This is the default when GCC is configured for anĪarch64-*-* but not an aarch64_be-*-* target. Generate code which uses only the general registers. This is the default when GCC is configured for anĪarch64_be-*-* target. The LP64 and ILP32 ABIs are not link-compatible you must compile yourĮntire program with the same ABI, and link with a compatible set of libraries. The default depends on the specific target configuration. ![]() Permissible valuesĪre ilp32 for SysV-like data model where int, long int and pointerĪre 32-bit, and lp64 for SysV-like data model where int is 32-bit, Generate code for the specified data model. These options are defined for AArch64 implementations: -mabi =name ¶ Options for Code Generation Conventions This Page Here is a summary of all the options, grouped by type.Specifying Target Machine and Compiler Version Next topic Two forms, whichever one is not the default. Most of these have both positive and negativeįorms the negative form of -ffoo is -fno-foo. fmove-loop-invariants, -Wformat and so on. Many options have long names starting with -f or with -W-for example, The placement of the -l option is significant. You specify -L more than once, the directories are searched in the order specified. Order does matter when you use several options of the same kind for example, if For the most part, the order you use doesn't Letter names therefore multiple single-letter options may not be grouped: -dv is very ![]() The gcc program accepts options and file names as operands. Programs, you should invoke GCC as g++ instead. The usual way to run GCC is to run the executable called gcc, or machine -gcc when cross-Ĭompiling, or machine -gcc- version to run a specific version of GCC. Language, you can use that option with all supported languages. ![]() If the description for a particular option does not mention a source Most of the command-line options that you can use with GCC are useful for C programs whenĪn option is only useful with another language (usually C++), the explanation says soĮxplicitly. Linker most of these are not documented here, since you rarely need to use any of them. Yet other options control the assembler and Preprocessor and others the compiler itself. Other options are passed on to one or more stages of processing. ForĮxample, the -c option says not to run the linker. The "overall options" allow you to stop this process at an intermediate stage. When you invoke GCC, it normally does preprocessing, compilation, assembly and linking. Only the most useful options are listed here see below for the remainder.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |