Error Linux Cross Compiler
#1
Hello!


While following the instructions to install the RISC-V GNU compiler as listed here :https://github.com/pulp-platform/pulp-riscv-gnu-toolchain.

I installation for the linux cross compiler is failing.
On running this command on the terminal: 
Code:
./configure --prefix=/opt/riscv --with-arch=rv32g --with-abi=ilp32d
make linux


I get the error message saying:
 /include/atomic.h:826:3: error: #error ATOMIC_EXCHANGE_USES_CAS has to be defined.

I have attached a screenshot showing the error with this post. 

Is there any fix for this? or Am I doing something wrong?

I am running this on Ubuntu 18.04 and I have set the gcc version to 5. Also, the Newlib compilation is performed successfully.


Messages In This Thread
Error Linux Cross Compiler - by Athena - 01-28-2019, 09:57 PM
RE: Error Linux Cross Compiler - by akurth - 02-04-2019, 07:57 PM
RE: Error Linux Cross Compiler - by Athena - 02-05-2019, 08:36 AM
RE: Error Linux Cross Compiler - by akurth - 02-06-2019, 07:02 AM

Forum Jump:


Users browsing this thread: 3 Guest(s)