I am struggling to fix error: linking with 'x86_64-w64-mingw32-gcc; failed: exit code: 1, I have installed TDM-GCC-64 and Cygwin and added the
When I run fma-optimized horner-scheme polynomial computation (for cosine approximation), it makes 0.161 ulps error on FX8150 but 0.154 ulps on godbolt.org serv
I am new to Openmp and now trying to use Openmp + SIMD intrinsics to speedup my program, but the result is far from expectation. /* program:s
I want to use make to compile my c programs, but make seems to throw an error when simply using gcc doesn't. What I tried: ┌─γ
I am writing a program in c, but i need to use a c++ library to work with an ADC's. In my code I have a library that I wrote called scheduler, this library comp
I'm trying to implement an error handler using the clock() function from the "time.h" library. The code runs inside an embeeded system (Colibri IMX7 - M4 Proces
I have a c code file and I would like to compile it as an efi application. How can this be done using linux and windows cli tools (i.e. without creating a visua
I am trying to build a objective-c library integrated to a swift project on linux. I have this Package.swift for my main project: // swift-tools-version:5.5 //
I have the following code #include <tuple> struct A{ int a; int b; }; std::tuple<A,bool> get(){ return {{}, true}; } With GCC 9.* an
So, I'm making a game with raylib and I need to compile all the .c files at once. The files are in separate folder inside the 1st one(Like "MainFolder/PlayerFil
fatal error: experimental/coroutine: No such file or directory this is the error the compiler gives me here's main.cpp #include <fstream> #include <io
I'm trying to implement an embedded firmware on an stm32 F4 micro that takes an binary code from the serial and execute it on the micro. The idea is pretty simp
When I compile this code using different compilers and inspect the output in a hex editor I am expecting to find the string "Nancy" somewhere. #include <stdi
Installed clang 14.0 using GNU/Guix's clang-toolchain package. I am getting depreciated feature usage error when trying to compile a simple code: //build with:
I am trying to get some data from the user and send it to another function in gcc. The code is something like this. printf("Enter your Name: "); if (!(fgets(Na
I'm building GCC 8.5.0 on a Devuan Chimaera GNU/Linux system (using GCC 10). I've configured with ./configure --disable-gnat, then ran make. At some point, I ge
Im a Windows dev who has no expirience on building C/C++ programs on Linux, but now I need to. Right way would be to go and learn Make and g++ compiler, but bef
I am trying to compile Deepstream 6.0 Python bindings. My guess it that the issue not related to Deepstream, but to general C/C++ compiling issues: sudo apt ins
I have noticed this for a while. After building a cpp console application, when i run it through command prompt, the first time it takes some time to run. The s
In Ubuntu20.04 gcc9.4.0 `void read_txt_config(const std::string &path) { std::cout << std::endl << "Reading configuration file: "; std::ostr