Skip to content

sim_use_getopt_long

Tsukasa OI edited this page Oct 30, 2022 · 7 revisions

sim: Use getopt_long instead of getopt

Related

Issue Solved

Because of Libiberty hack, getopt on GNU libc (2.25 or before) is currently unusable on sim, causing a regression on CentOS 7.

Getting rid of include/getopt.h is the best solution to avoid hacking but as a short-term solution, this commit replaces calls to getopt to call getopt_long.

Clone this wiki locally