Traditionally, C compiler drivers would take a comma-separated list of
arguments to -W[pl], and pass them to a child process. TCC partly emulates
this behaviour in places, like accepting arguments to linker options (but not
preprocessor options) in the form -Wl,-opt,arg as a synonym for -Wl,-opt=arg.
This makes behaviour uniform for -Wl, and -Wp, and compatible with other
compilers.

remph (2):
  Comma-split arguments following -Wp
  Split -Wl arguments on commas completely, for parity with -Wp

 libtcc.c     | 64 +++++++++++++++++++++++++++++++++++++++++++++-------
 tcc-doc.texi |  7 ++++--
 tcc.c        |  6 ++---
 3 files changed, 64 insertions(+), 13 deletions(-)

-- 
2.48.1


_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to