[gccsdk] Problems building crosscompiler

John Tytgat John.Tytgat at aaug.net
Sun Nov 8 07:19:22 PST 2009


In message <1257692054.2209.19.camel at ubuntu>
          Jan-Jaap van der Geer <jjvdgeer at inbox.com> wrote:

> > Just to be 100% sure: did you restart with a fresh srcdir (i.e. throw it
> > away, it will be regenerated) ? As otherwise you might still have some
> > leftovers there of the wrong auto* tools.
> 
> Yes, I started with a whole new gcc4 directory, to be on the safe side.
> 
> Does build-world also remove the srcdir?

Yes, as its calls 'create-srcdir' which starts by remove a previous
version when there was one.

> Anyway, using Ralph's suggestion worked (Thanks, Ralph!), so I now
> should have a working crosscompiler again.
> 
> Looking at my temporary autoconf directory, I suppose it is not enough
> to symlink autoconf and autoreconf, but I should also have symlinked
> autoheader, autom4te, autoscan, autoupdate and ifnames.
> 
> Maybe I should do just that, so I do not need to remember to put this
> tempdir in my path next time I want to build the compiler.

Care to craft a little paragraph describing all this so we can add this
to README ? :-) And/or a little patch for build-world or other relevant
script ?

John.
-- 
John Tytgat, in his comfy chair at home                                 BASS
John.Tytgat at aaug.net                             ARM powered, RISC OS driven




More information about the gcc mailing list