Gcc Configure System

Tom Browder tom.browder@gmail.com
Thu Jan 17 18:27:00 GMT 2008


On 16 Jan 2008 16:55:05 -0800, Ian Lance Taylor <iant@google.com> wrote:
> "Tom Browder" <tom.browder@gmail.com> writes:
...
> > I want to know if there is a preferred or defined way to refer to
> > "/path/to/gcc_src" in build scripts or configure inputs since
> > "$(srcdir)" seems to be locally defined per Makefile.
>
> Most Makefiles know where they are in the heirarchy, and thus do not
> require any special handling--they use $(srcdir)/.. or whatever.
>
> Where that is not the case, for libraries which are built using
> multilib, we use the make variable top_srcdir.  E.g.,
> libstdc++-v3/Makefile.am uses it.

Thanks, Ian, I'll try that.

-Tom



More information about the Gcc-help mailing list