This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: i370 port - constructing compile script
Hi,
On Tue, 6 Oct 2009, Paul Edwards wrote:
> Thanks Michael. That's exactly the sort of thing I was after. Just
> one thing - I'll need more than cc1. I need the files that normally
> go into gcc as well. So a combination of those two sets of source,
> so that I can get a single standalone executable. So I'll need to
> create a new Makefile target that's a bit bigger than cc1. But
> cc1 will come close.
Add whatever targets you need:
make CC=collect-stuff.sh cc1 xgcc
If you also need some libraries that are normally linked into xgcc or cc1
(probably at least libiberty and libcpp) do
make CC=collect-stuff.sh -C ../libiberty
too (after having configured everything already). You'll figure out the
missing stuff :)
Ciao,
Michael.