From: Philippe E. <ph...@wa...> - 2003-04-17 00:06:03
|
Nicholas Nethercote wrote: > On Wed, 16 Apr 2003, Philippe Elie wrote: > > >>>This works, but it would be better if the GDB variable was put into a .h >>>file, so it's available everywhere -- that's better than having to feed it >>>in to every file that needs it with -D. This could be done by introducing >>>eg. vg_skin.h.in, but that would be a pain, especially just for one >>>variable. >> >>Yes, it's a better way but the trivial: > > > [snip] > > >>Not very elegant but the only way I found > > > Hmm, pretty ugly... if that's the only way to do it, I can live with > passing in the option using -D :) But the dependencies problem ? If the flags change you don't recompile the right file. A user with two gdb version, can change $PATH to select a different version and run configure; make but he will not get the right gdb version. regard, Phil |