This is the mail archive of the gcc@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]

Re: Projects for beginners


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

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