Skip to content

Commit f68a2f2

Browse files
authored
Merge pull request #6964 from tautschnig/bugfixes/arch-os-help
Document all supported options for --arch and --os
2 parents 026931f + 7c89e91 commit f68a2f2

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

src/util/config.h

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,15 +82,25 @@ class symbol_tablet;
8282
"(gcc)" \
8383

8484
#define HELP_CONFIG_PLATFORM \
85-
" --arch set architecture (default: " \
85+
" --arch <arch> set architecture (default: " \
8686
<< configt::this_architecture() << ")\n" \
87-
" --os set operating system (default: " \
87+
" to one of: alpha, arm, arm64, armel, armhf,\n"\
88+
" hppa, i386, ia64, mips, mips64, mips64el,\n" \
89+
" mipsel, mipsn32, mipsn32el, powerpc, ppc64,\n"\
90+
" ppc64le, riscv64, s390, s390x, sh4, sparc,\n" \
91+
" sparc64, v850, x32, x86_64, or none\n" \
92+
" --os <os> set operating system (default: " \
8893
<< configt::this_operating_system() << ")\n" \
94+
" to one of: freebsd, linux, macos, solaris,\n" \
95+
" or windows\n" \
8996
" --i386-linux, --i386-win32, --i386-macos, --ppc-macos\n" \
9097
" --win32, --winx64 set architecture and operating system\n" \
91-
" --16, --32, --64 set width of int\n" \
9298
" --LP64, --ILP64, --LLP64,\n" \
93-
" --ILP32, --LP32 set width of int, long and pointers\n" \
99+
" --ILP32, --LP32 set width of int, long and pointers, but\n" \
100+
" don't override default architecture and\n" \
101+
" operating system\n" \
102+
" --16, --32, --64 equivalent to --LP32, --ILP32, --LP64 (on\n" \
103+
" Windows: --LLP64)\n" \
94104
" --little-endian allow little-endian word-byte conversions\n" \
95105
" --big-endian allow big-endian word-byte conversions\n" \
96106
" --gcc use GCC as preprocessor\n" \

0 commit comments

Comments
 (0)