This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: new build scheme naming
Nathanael Nerode wrote:
>
> On Mon, Jul 08, 2002 at 08:44:18AM -0400, DJ Delorie wrote:
> >
> > > Of course, the executables aren't in the same directory you type 'make'
> > > in right now; they're in subdirectories.
> >
> > If you're debugging gcc, the current directory is the gcc
> > subdirectory. You type "make cc1" and it builds cc1 right there, and
>
> That actually *works*? It doesn't fail because the million Make
> variables passed down from the top level are missing?...
yup - I kind of assumed everybody did that.
> Why are we passing all these variables down to lower level makes?
One difference, which is very useful, is that a toplevel make
will pass -O2 to cflags, an in-directory build will not - hence
you can debug the compiler. Please don't destroy that convenience.
nathan
--
Dr Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
'But that's a lie.' - 'Yes it is. What's your point?'
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org