1. How to checkout gcc 4.1? 2. Outputing dependancy headers in a way that's not make specific

Ian Lance Taylor ian@airs.com
Thu Feb 23 18:16:00 GMT 2006


Asfand Yar Qazi <email@asfandyar.cjb.net> writes:

> 1.  How on earth do you checkout the 4.1 release?  I've looked
> everywhere for the SVN tag name, and can't find it.

There is no 4.1 release yet, so there is no SVN tag for it.  You can
check out the branch from
    svn://gcc.gnu.org/svn/gcc/branches/gcc-4_1-branch

> 2.  I want to generate dependancies for a non-Makefile build system
> (the Ruby 'rake' build system) which is unfortunately a bit immature,
> and doesn't do automatic dependancy generation for C/C++.  It'd be
> useful if the GCC dependancy generation system could output
> dependancies in an easy to parse non-Makefile format and a few regexps
> would do the rest.  Know of a way?  Or plans to generalise the
> dependancy generation features of GCC?

I imagine that you could apply sed to the output of -M and friends (or
the DEPENDENCIES_OUTPUT environment variable).  Other than that I do
not know of a way.  Nor do I know of any plans to generalize this
feature, though I suspect that a clean patch would be accepted.

Ian



More information about the Gcc-help mailing list