This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GCC_DRIVER_HOST_INITIALIZATION in gcc.c


Hi.

I am trying to use the same mechanism as is found in
gcc/config/i386/xm-djgpp.h, where GCC_DRIVER_HOST_INITIALIZATION and
UPDATE_PATH_HOST_CANONICALIZE are defined for the purpose of expanding an
env var that represents a path:

   /dev/env/DJDIR/....

QNX uses env vars (QNX_HOST and QNX_TARGET) that represent install paths for
our tools.  The problem is that the code in xm-djgpp.h, and now in nto.h
also, needs to update standard_exec_prefix, standard_bindir_prefix, and
standard_startfile_prefix which are declared in gcc.c.  Unfortunately the
declarations of these variables has changed from "static const char *" to
"static const char *const", so any attempt to change them fails.

Any chance of changing them back to "static const char *"?

Thanks.
GP


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]