Forum Discussion

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

Install older version of GCC compiler for HLS

I'm following the intel® high level synthesis compiler getting started guide for the Linux version it states that GCC compiler must be version 4.4.7 and newer ones are not supported.

I'm running Ubuntu 16.04 LTS and gcc version is 5.4.0.

How can I install the 4.4.7 version?

Thank you.

1 Reply

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

    I have installed it from Ubuntu trusty repositories. I don't know if this is the optimal solution but it worked.

    edit the apt sources file: sudo nano /etc/apt/sources.list

    add the trusty repo at the end: deb http://us.archive.ubuntu.com/ubuntu/ trusty universe

    reload the sources: sudo apt-get update

    install gcc 4.4: sudo apt-get install gcc-4.4