In message <DUB002-W3374BEE9DB6DD4EE650E45BCA50@phx.gbl>
Chris Syntichakis <csynt@hotmail.com> wrote:
> Hello,
>
>
> > I see that you do have flex and bison installed, but if this was done as
> > a result of a failed build, then you may need to reconfigure GCC as John
> > says above.
> >
> > Lee.
> >
>
>
> Thank you Lee,
>
> I followed John's advice but I got the same error,
That advice was for the GCCSDK 4.1.2 build, with GCCSDK 4.7.x currently
at trunk you need to remove buildstepsdir/src-gcc-copied (as this will
trigger the gcc recofinguring step and rebuilds the gcc part from scratch
while reusing whatever was built as binutils, gmp, mpc, mpfr and ppl).
> then I issued a "make clean all" and started rebuild...
That's the alternative, a full rebuild.
> after a while I got a "fatal error: archive.h: No such file or directory"
> so I completely deleted the gccsdk folder , got the files again (svn .....) and started
> the build-world script, but this, too, stops on the same error:
>
> /home/gccsdk/gcc4/riscos/asasm/elftoolchain/current-trunk/ar/ar.c:65:21: fatal error: archive.h: No such file or directory
>
> so I assume something is broken there ...
The good news is that the cross compiler is now fully built and installed.
This is the asasm assembler part failing (asasm is not needed if you're
going to use gcc+binutils only) which I'm changing to use
elftoolchain/libdwarf. So a fallout of my last asasm changes. Note trunk
is still in development but of course we do our best to keep everything
buildable and usable.
This build error is because of a missing host library, called libarchive
(Ubuntu, Debian, etc this is the libarchive-dev package). So install the
libarchive library + headers and re-issue 'make'.
BTW, libarchive is only needed for testing asasm and I will do some changes
to avoid this libarchive dependency for those just building and using
gccsdk.
Hope this helps,
John.
--
John Tytgat, in his comfy chair at home BASS
John.Tytgat@aaug.net ARM powered, RISC OS driven
_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK
No comments:
Post a Comment