This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: building snapshots.... noob enquirey
Robert Jones <robertgbjones@gmail.com> writes:
> Am I correct in believing that snapshots include everything for all
> supported languages, rather than
> the just the core & g++ bits I've built before?
Yes.
> And consequently
> building snapshots takes a while?
Yes.
> Is there anyway to download and build just those bits I'm interested
> in, as I would for a release?
If you only want to build C and C++ compiler, then configure with
"--enable-languages=c,c++".
> My build eventually failed with this....
>
> rm -rf asm classes classes.lst asm.lst
> make Âall-am
> make[7]: Entering directory
> `/home/rgj/Download/build/x86_64-unknown-linux-gnu/32/libjava/classpath/tools'
> make[7]: Nothing to be done for `all-am'.
> make[7]: Leaving directory
> `/home/rgj/Download/build/x86_64-unknown-linux-gnu/32/libjava/classpath/tools'
> make[6]: Leaving directory
> `/home/rgj/Download/build/x86_64-unknown-linux-gnu/32/libjava/classpath/tools'
> make[6]: Entering directory
> `/home/rgj/Download/build/x86_64-unknown-linux-gnu/32/libjava/classpath'
> true ÂDO=all multi-do # make
> make[6]: Leaving directory
> `/home/rgj/Download/build/x86_64-unknown-linux-gnu/32/libjava/classpath'
> make[5]: *** [all-recursive] Error 1
> make[5]: Leaving directory
> `/home/rgj/Download/build/x86_64-unknown-linux-gnu/32/libjava/classpath'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory
> `/home/rgj/Download/build/x86_64-unknown-linux-gnu/32/libjava'
> make[3]: *** [multi-do] Error 1
> make[3]: Leaving directory
> `/home/rgj/Download/build/x86_64-unknown-linux-gnu/libjava'
> make[2]: *** [all-multi] Error 2
> make[2]: Leaving directory
> `/home/rgj/Download/build/x86_64-unknown-linux-gnu/libjava'
> make[1]: *** [all-target-libjava] Error 2
> make[1]: Leaving directory `/home/rgj/Download/build'
> make: *** [all] Error 2
>
> which I think is from building something I'm not really interested in.
> Can I get past this failure?
This doesn't show the actual failure, which occurred before the lines
you are quoting.
In any case, if you use --enable-languages=c,c++ then libjava will not
be built so this error, whatever it is, will not occur.
Ian