Print this page
10051 cw(1) shouldn't have to translate -g

*** 35,45 **** * Since the translation is inexact, this is something of a work-in-progress. * */ /* If you modify this file, you must increment CW_VERSION */ ! #define CW_VERSION "3.0" /* * -# Verbose mode * -### Show compiler commands built by driver, no compilation * -A<name[(tokens)]> Preprocessor predicate assertion --- 35,45 ---- * Since the translation is inexact, this is something of a work-in-progress. * */ /* If you modify this file, you must increment CW_VERSION */ ! #define CW_VERSION "4.0" /* * -# Verbose mode * -### Show compiler commands built by driver, no compilation * -A<name[(tokens)]> Preprocessor predicate assertion
*** 213,223 **** * -xarch=<a> table * -xbuiltin[=<b>] -fbuiltin (-fno-builtin otherwise) * -xCC ignore * -xchip=<c> table * -xcode=<c> table - * -xdebugformat=<format> ignore (always use dwarf-2 for gcc) * -xcrossfile[=<n>] ignore * -xe error * -xF error * -xhelp=<f> error * -xildoff ignore --- 213,222 ----
*** 730,742 **** newae(ctx->i_ae, arg); break; } error(arg); break; - case 'g': - newae(ctx->i_ae, "-gdwarf-2"); - break; case 'E': if (arglen == 1) { newae(ctx->i_ae, "-xc"); newae(ctx->i_ae, arg); op = CW_O_PREPROCESS; --- 729,738 ----
*** 760,769 **** --- 756,766 ---- break; } error(arg); break; case 'A': + case 'g': case 'h': case 'I': case 'i': case 'L': case 'l':
*** 1074,1088 **** } if (strncmp(arg, "-xcrossfile", 11) == 0) break; error(arg); break; - case 'd': - if (strncmp(arg, "-xdebugformat=", 14) == 0) - break; - error(arg); - break; case 'F': /* * Compile for mapfile reordering, or unused * section elimination, syntax can be -xF or * more complex, like -xF=%all -- ignore. --- 1071,1080 ----