Cătălin George Feștilă wrote: > cat hello.c > #include <iostream> > using namespace std; > int main(void) > { > std::cout << "Hello word! from Fedora Linux!" << std::endl; > return 0; > } This is C++ code and does not belong in a source file with .c extension. > I install wit the dnf tool > > dnf install -y libstdc++-static.x86_64 A static library for x86_64 will be of no use when compiling ARM executables. This is really not an issue for the devel list, there is nothing wrong with how Fedora is developed here, it is a user error. > dnf install -y llvm > dnf install -y glib-static Here, you are not specifying the architecture explicitly, but if this is on an x86_64 host, you are going to get the x86_64 versions of these too. (And you almost certainly do not want glib (version 1), maybe glib2, or did you mean glibc?) > arm-none-eabi-g++ Are you sure you want to target arm-none-eabi and not arm-linux-gnueabi or even aarch64-linux-gnu? What device are you targeting? If it runs some form of GNU/Linux, try: https://copr.fedorainfracloud.org/coprs/lantw44/arm-linux-gnueabi-toolchain/ or: https://copr.fedorainfracloud.org/coprs/lantw44/aarch64-linux-gnu-toolchain/ instead of the arm-none-eabi target. arm-none-eabi is a generic freestanding (no operating system) target. It assumes you explicitly link to an implementation of some basic operating system functions, or even include them as part of your source code. (It is common for devices truly without an operating system to build an application with a bundled small operating system, typically an RTOS (real-time operating system).) For devices with an operating system, you should instead use the specific target corresponding to that operating system. In short, this is off-topic for this list, there are many issues with what you are doing, and none in Fedora so far. Kevin Kofler _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure