Re: update_path in gcc/prefix.h?

2008-03-14 Thread Daniel Jacobowitz
On Fri, Mar 14, 2008 at 10:13:01AM +0100, Basile STARYNKEVITCH wrote: > So how do I get $(libexecsubdir)/melt-private-include/ from within C code > of cc1? Either by replicating code from the gcc driver, or by adding it to cc1's command line. -- Daniel Jacobowitz CodeSourcery

Re: update_path in gcc/prefix.h?

2008-03-14 Thread Basile STARYNKEVITCH
Hello All I = Basile STARYNKEVITCH wrote: Daniel Jacobowitz wrote: On Wed, Mar 12, 2008 at 04:06:52PM +0100, Basile STARYNKEVITCH wrote: What is the exact intent of the update_path in gcc/prefix.[hc]? Very complicated and underdocumented; I avoid it for that reason. Can't you use an existing

Re: update_path in gcc/prefix.h?

2008-03-12 Thread Basile STARYNKEVITCH
Daniel Jacobowitz wrote: On Wed, Mar 12, 2008 at 04:06:52PM +0100, Basile STARYNKEVITCH wrote: Hello all, What is the exact intent of the update_path in gcc/prefix.[hc]? Very complicated and underdocumented; I avoid it for that reason. Can't you use an existing directory variable, like gcc_l

Re: update_path in gcc/prefix.h?

2008-03-12 Thread Daniel Jacobowitz
On Wed, Mar 12, 2008 at 04:06:52PM +0100, Basile STARYNKEVITCH wrote: > Hello all, > > > What is the exact intent of the update_path in gcc/prefix.[hc]? Very complicated and underdocumented; I avoid it for that reason. Can't you use an existing directory variable, like gcc_libexec_prefix? -- Dan

update_path in gcc/prefix.h?

2008-03-12 Thread Basile STARYNKEVITCH
Hello all, What is the exact intent of the update_path in gcc/prefix.[hc]? I would guess it is related to the -B option to gcc driver executable. But I'm not sure how exactly. I don't exactly understand what it means to pass "GCC" (or "BINUTILS") as the key (2nd) argument to update_path.