Projects for beginners

Zack Weinberg zackw@Stanford.EDU
Wed Jan 31 12:41:00 GMT 2001


On Wed, Jan 31, 2001 at 06:21:51PM -0200, Alexandre Oliva wrote:
> On Jan 31, 2001, "Zack Weinberg" <zackw@Stanford.EDU> wrote:
> 
> > - Could perfectly well be determined by autoconf even when
> >   cross-compiling
> 
> autoconf can only detect properties of the compiler for the host
> machine.  It can't figure out how the compiler for the target is
> supposed to look like before it has a compiler for the target to
> test.  Catch 22.

Yes, but all that information falls into the "belongs in tm.h or
t-target fragment" category.  xm-host.h and x-host are supposed to
describe the host only.

We could, in theory, run a configure script against the just-built
gcc, sorta like libstdc++ does.  This would require giving libgcc its
own directory.  Which would probably be worth it in the extremely long
run but way too much pain right now.

zw


More information about the Gcc mailing list