armv7:

# cc -v main.c
FreeBSD clang version 17.0.6 (https://github.com/llvm/llvm-project.git 
llvmorg-17.0.6-0-g6009708b4367)
Target: armv7-unknown-freebsd15.0-gnueabihf
 . . -target-abi aapcs-linux . . . -x c main.c
 . .


aarch64:

# cc -v main.c
you have mail
FreeBSD clang version 17.0.6 (https://github.com/llvm/llvm-project.git 
llvmorg-17.0.6-0-g6009708b4367)
Target: aarch64-unknown-freebsd15.0
 . . -target-abi aapcs . . . -x c main.c
 . .


FYI:

My understanding is the that aapcs-linux uses 32 bits for enums
and aapcs uses variable length for enums. For aapcs-linux I've
also seen references to "int-sized" instead.


===
Mark Millard
marklmi at yahoo.com


Reply via email to