This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fold cross-make and build-make into configure


On Sun, Dec 02, 2001 at 12:50:52PM +0100, guerby@acm.org wrote:
> > Ada folks, any time frame on converting your front end to use
> > nonrecursive make like all the other live languages do?
> 
> I understand this means having "langdir/object: langdir/source"-like
> dependancies in langdir/Make-lang.in and no langdir/Makefile.in, am I
> correct?

Yes, this is correct.  This should happen as soon as possible as it
dramatically reduces the difficulty of maintaining the Makefiles.

> Also using program_transform_cross_name stuff. 

This is a separate issue.

> The big point remaining being the Ada RTS build process. Any doc or
> Makefile to look at?

I'm not aware of any formal documentation.  I'd recommend looking at
gcc/objc/Make-lang.in and libobjc/Makefile.in, these are the simplest
language and runtime makefiles we have.

Ignore the libtool gunge in libobjc/Makefile.in, you don't need or
want to deal with getting shared libgnat support running at the same
time as a major rearrangement like this.

If it is not practical to remove the runtime from the compiler
directory at this time, you can just transplant the rules which are
relevant during "make bootstrap" to Make-lang.in, leaving only the
rules for "make gnatlib_and_tools" in Makefile.in.

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]