Next: TILEPro Options, Previous: System V Options, Up: Submodel Options [Contents][Index]
These ‘-m’ options are supported on the TILE-Gx:
-mcmodel=smallGenerate code for the small model. The distance for direct calls is limited to 500M in either direction. PC-relative addresses are 32 bits. Absolute addresses support the full address range.
-mcmodel=largeGenerate code for the large model. There is no limitation on call distance, pc-relative addresses, or absolute addresses.
-mcpu=nameSelects the type of CPU to be targeted. Currently the only supported type is ‘tilegx’.
-m32-m64Generate code for a 32-bit or 64-bit environment. The 32-bit environment sets int, long, and pointer to 32 bits. The 64-bit environment sets int to 32 bits and long and pointer to 64 bits.
-mbig-endian-mlittle-endianGenerate code in big/little endian mode, respectively.