aarch64-linux-gnu-gcc: note: valid arguments to ‘-mabi=’ are: ilp32 lp64
时间: 2023-12-14 10:05:31 浏览: 28
These are options for the -mabi flag in the aarch64-linux-gnu-gcc compiler:
- ilp32: This stands for "integer long pointer 32-bit". It specifies that integer and long types should be 32 bits in size, and that pointers should also be 32 bits in size. This ABI is used for systems where memory is limited, such as embedded devices.
- lp64: This stands for "long pointer 64-bit". It specifies that integer types should be 32 bits in size, but long and pointer types should be 64 bits in size. This ABI is used for systems with larger amounts of memory, such as desktop computers and servers.
The note is simply informing the user that these are the only valid options for the -mabi flag, and that any other options will not be recognized by the compiler.