Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

gcc-4.1 toolchain on Ubuntu

Hi all,

I just successfully built the gcc-4.1 toolchain on my Ubuntu box, it should be mentrioned

that gawk is required for building the toolchain (glibc does not compile with mawk which

is the default awk on Ubuntu)

Hope that helps ...

- Johannes

4 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Never ran into this issue, on my system I have gawk, but I've gone through a few upgrades. What version of Ubuntu?

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Looks like 10.04 changed to gawk by default, but I updated the wiki page anyway.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi,

    Thank you for updating the Wiki, I also found that after installing gcc-4.3 packages,

    a symbolic link is required to make the build script happy:

    sudo ln -s /usr/bin/gcc-3.4 /usr/bin/gcc34

    All the best ...

    - Johannes