[kernel] compatibility between machdep and CPP options
- Extend machdep information to include required CPP arguments (p.ex. -m32); - Check supported architecture options during configure; - Automatically apply options according to chosen machdep. Note: this may generate extra warnings when using old versions of GCC or compilers that do not support options -m32/-m64 and similar.
Showing
- Makefile.generating 1 addition, 0 deletionsMakefile.generating
- configure.in 33 additions, 0 deletionsconfigure.in
- share/Makefile.config.in 1 addition, 0 deletionsshare/Makefile.config.in
- src/kernel_internals/runtime/config.ml.in 2 additions, 0 deletionssrc/kernel_internals/runtime/config.ml.in
- src/kernel_internals/runtime/config.mli 7 additions, 0 deletionssrc/kernel_internals/runtime/config.mli
- src/kernel_internals/runtime/machdeps.ml 5 additions, 0 deletionssrc/kernel_internals/runtime/machdeps.ml
- src/kernel_services/ast_data/cil_types.mli 2 additions, 0 deletionssrc/kernel_services/ast_data/cil_types.mli
- src/kernel_services/ast_queries/file.ml 27 additions, 2 deletionssrc/kernel_services/ast_queries/file.ml
- tests/misc/custom_machdep/custom_machdep.ml 1 addition, 0 deletionstests/misc/custom_machdep/custom_machdep.ml
- tests/syntax/machdep_char_unsigned.ml 1 addition, 0 deletionstests/syntax/machdep_char_unsigned.ml
Loading
Please register or sign in to comment