Forum Discussion
I got it working, although in a sort of hackish way.
After installing `gcc44` on manjaro. I altered the Makefile of the counter example to have this at the top:
```
SOURCE_FILES := counter.cpp
HLS_CXX_FLAGS :=
CXXFLAGS := -I/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/include/c++ -I/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/include/c++/x86_64-pc-linux-gnu
CXX := i++
```
So you can see I include the 4.4.7 library directly.
I also had to rename the `10.1.0` directory in /usr/lib/gcc/x86_64-pc-linux-gnu to `10.1.0_` so it wouldn't be able to find it and stop prioritizing it.
```
[zen x86_64-pc-linux-gnu]# pwd
/usr/lib/gcc/x86_64-pc-linux-gnu
[zen x86_64-pc-linux-gnu]# ls
10.1.0_ 4.4.7
```
After that, the example compiles!
I would try it with Quartus 20.1, but how do I install the HLS compiler for that version? I noticed that it is not under the additional software tab.