On Mon, Oct 27, 2008 at 01:23:19PM -0700, Adam Mitchell wrote: > Thanks for that tip. I can use the "-x cpppath=/usr/sfw/bin/cpp" option and > get further. > > I see that option defined in: > http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libdtrace/common/dt_options.c > > Is there a way to pass generic arguments to cpp? It looks like the > dt_opt_cpp_opts function is only called for: -D, -I, and -U > > Thanks again, > Adam
There is no generic option at present (though easy to add) but you can of course set cpppath to some shell script which calls sfw/bin/cpp with some lengthy list of arguments other than -D/I/U -Mike -- Mike Shapiro, Sun Microsystems Fishworks. blogs.sun.com/mws/ _______________________________________________ dtrace-discuss mailing list dtrace-discuss@opensolaris.org