You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I statically compile it, but during simulation, I get:
The futex facility returned an unexpected error code.
The error appears just by including iostream. If I replace the stream with a printf, the simulation works ONLY IF I also remove the #include <iostream> directive.
Thank you for the support!
The text was updated successfully, but these errors were encountered:
mp-17
changed the title
iostream support
SPIKE + PK C++ iostream support
Aug 19, 2024
I statically compile it, but during simulation, I get:
The futex facility returned an unexpected error code.
The error appears just by including iostream. If I replace the stream with a printf, the simulation works ONLY IF I also remove the #include <iostream> directive.
@mp-17 for the c++
used this commamd riscv64-unknown-elf-g++ filename.cpp -o filename
and for c use this
riscv64-unknown-elf-gcc filename.c -o filename
and then simply run it with spike + pk
Does
spike + pk
support C++iostream
?For example, can this program be run with
spike pk
?I statically compile it, but during simulation, I get:
The futex facility returned an unexpected error code.
The error appears just by including
iostream
. If I replace the stream with aprintf
, the simulation works ONLY IF I also remove the#include <iostream>
directive.Thank you for the support!
The text was updated successfully, but these errors were encountered: