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: [gfortran,patch] bootstrap broken


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


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