Hi,
I wonder what the clang unix style equivalent of /point=64=arg is. (-pointer=64=arg seems not to work)
Jouk
/point=64=arg for clang
Re: /point=64=arg for clang
-pointer-size=argv64
It is in the release notes
Code: Select all
$ cxx/verbose/pointer=64=arg dka300:[jreagan]hw.cxx
X86VMS$DKA0:[SYS0.SYSCOMMON.][SYSEXE]CXX$COMPILER.EXE;1 --std=gnu++98 -pointer-size=argv64 -extern-model=relaxed_refdef -Wno-no
nportable-include-path -x c++ -D__RTTI DKA300:[jreagan]hw.cxx;6
-pointer-size={long|short|64|32|argv64}
* "argv64" means:
- The main argument argv will be an array of 64-bit pointers. The default
is an array of 32-bit pointers
- Enables processing of '#pragma pointer_size'
- Sets the initial default pointer size to 64-bit for translation unit
- Predefines the preprocessor macro __INITIAL_POINTER_SIZE to 64
* "long" or "64" means:
- Enables processing of '#pragma pointer_size'
- Sets the initial default pointer size to 64-bit for translation unit
- Predefines the preprocessor macro __INITIAL_POINTER_SIZE to 64
* "short" or "32" means:
- Enables processing of '#pragma pointer_size'
- Sets the initial default pointer size to 32-bit for translation unit
- Predefines the preprocessor macro __INITIAL_POINTER_SIZE to 32
Last edited by jreagan on Mon Dec 04, 2023 12:14 pm, edited 1 time in total.
Re: /point=64=arg for clang
Thanks
I tried to find it with "clang --help", but there the arg64 is not listed.
Jouk
I tried to find it with "clang --help", but there the arg64 is not listed.
Jouk
Last edited by joukj on Tue Dec 05, 2023 3:01 am, edited 2 times in total.