[gfortran,patch] bootstrap broken

Tobias Schlüter tobias.schlueter@physik.uni-muenchen.de
Fri Sep 17 17:05:00 GMT 2004


Feng Wang wrote:
> 
> I have to say that I *did not* do cross-compile and the fortran did be
> compilered by system gcc. This is what I did:
> 
> [ Build logs ]
>
> Please note the compiler is gcc, not *xgcc*. I think it is the system gcc.
> 
> If it should be xgcc from the same tree, there must be something wrong in
> config or makefile. 
> 
> p.s. Indeed the libgfortran is compilerd by xgcc.
> 

Indeed, my original assertion was wrong. The difference between libgfortran
and f951 is that libgfortran is code for the target, and f951 is code for the
host. The former needs to be compiled by a compiler for the target (=xgcc),
the latter by a compiler for the host (=system compiler in a non-bootstrapped
build). Of course in a native compiler this distinction makes no sense, but
I'm not volunteering to change the build machinery.

So indeed, we need to fix those appearances of code which doesn't compile with
 GCC 2.95 (the documented minimum for building a cross-compiler).

Thanks to the people who explained this to me off-list.

- Tobi



More information about the Gcc-patches mailing list