This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: building gcc-7.1.0 on ubuntu 12.04 failed
On 20/07/17 12:02, Alexey Egorov wrote:
> Hi,
>
> I'm trying to compile latest GCC on ubuntu 12.04 and got the following
> error: https://pastebin.com/raw/3UtMP5JV
>
> What should I do to get it working?
The error at the end of your output is the generic "an error occurred"
message from make itself. It only tells you an error occurred, not what
the error was.
The *actual* error is earlier in the build output.
Building GCC is complex, sometimes problematic, sometimes insane, has
fairly high-level "overviewish" documentation (inevitable, given how
much complexity there is - you just can't document all that) and in many
cases actually broken and simply doesn't work and you can't make it work
unless you're a GCC and/or OS developer/maintainer.
If you're working with later versions (and you are) and on x86_64 (you
probably are) you'll find life much easier, so you should be okay in th
end, and it will probably compile fairly easily.