Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Browsing all 21994 articles
Browse latest View live
↧

Syntax error when running setup.py egg_info

I am trying to run the installation of the OBITools package using the developers python script.When running the installation as suggested python get-obitools.py, I receive the following error message:...

View Article


How to get memory usage of program executed by gcc/g++ from MinGW under windows

As I mentioned I dont know how to get memory usage of executed program by gcc/g++ compiler of MinGW under windows. Is there a function like time from Linux on Windows. I tried Measure Command but not...

View Article


link ocilib using mingw g++ on windows

i'm trying to use ocilib.h that i downloaded from the internet. It work just find went i using visual studio 2017. But because of my machine i have to use mingw.Windows 10 - OSVSCode - Text EditorMingw...

View Article

GLIBC install failed, programs are missing or too old

I had tried to install glibc-2.15 with non-root, after googling and trying two days, I am looking help here.After configure, it output following error:../glibc-2.15/configure...

View Article

Can some one explain me what the startup code is which automatically gets...

Can some one explain me what startup code is which automatically gets added to C programs by the compiler and can someone provide me original documentations which describe about the startup code which...

View Article


How do I designate which compiler is called when running cmake + make?

I'm trying to compile a c++ project with cmake and make on OSX but it looks like make is using CXX or clang when I want to use g++ (gcc) so I can follow the answer here to tell the compiler where to...

View Article

Static library : source code into one .c file vs into multiple .c files [closed]

Since I am new into programming my question might be obvious.I am building my first C static library.In order to do so, I encounter the following dilemma : Gathering all my functions into one unique .c...

View Article

cross-compile for ARM64, understanding make TARGET=aarch64

I'm trying to cross-compile a library for ARM64, I'm using Ubuntu 18.04 x86_64 host system for a buildand the way I'm doing the cross-compile assudo apt-get updatesudo apt-get install...

View Article


How to avoid change effective UID while executing files by ld-linux-x86-64.so.2

Background:I have an executable c++ built program called UlimitUnlimiter. Currently, It produce some issues while executing on one of my server../UlimitUnlimiterUlimitUnlimiter:...

View Article


VS Code will not build c++ programs with multiple .ccp source files

Note that I'm using VS Code on Ubuntu 17.10 and using the GCC Compiler.I'm having trouble building a simple program which makes use of additional .ccp files. I'm probably missing something obvious here...

View Article

GNU Assembler .long Declaration Zeroed Out

When assembling code with GNU Binutils declarations such as:.long MY_Label.long MY_Second_labelAssemble without errors but consistently map to zeroed out 32-bit strings when doing a hex dump even when...

View Article

What is the difference between g++ and gcc?

What is the difference between g++ and gcc? Which one of them should be used for general c++ development?

View Article

GCC compilation error while building tensorflow using docker on mac(host)...

System informationOS Platform: host: mac 14.10 docker image: tensorflow/tensorflow:latest-devel TensorFlow version: 2.2Python version: 3.6.9building tensorflow from source using docker on mac with...

View Article


Questions about interrupt handler

I'm currently developing a simple ARM firmware.Among them, I'm making a part related to interrupts.I connected the IRQ exception vector in the exception vector table with the interrupt handler in the...

View Article

gcc compile, getting "clang: error: unsupported option '-fopenmp'"

I am running the command gcc -o openmptest -fopenmp openmptest.chowever am getting the error:clang: error: unsupported option '-fopenmp'I am running this on Mac Mojave. In addition I am using VS code...

View Article


How to port code using sys/ioctl.h to MinGW gcc?

My codes (https://github.com/fangq/mmc, https://github.com/fangq/mcxcl) have been compiled out-of-box using gcc on Linux & Mac, cygwin-gcc or msys2-gcc on Windows, but not with MinGW compilers...

View Article

GCC - Volatile Variable (global vs. local)

if I set a global volatile variable (uint8_t) to 0 and modify it direct by memory manipulation to 1. The programm won't go to the asm("nop") statement.If I place the variable in local scope like below,...

View Article


GCC 14 stack register address (SP) different from the ASM (__SP_L__)

I am using Eclipse IDE to develop CPP code for Arduino MEGA2560 target.I checked the SP in a CPP program compiled for Arduino Mega2560 target.The SP address is 0x5D which is correct.I inserted assembly...

View Article

The range library implementation of the copy algorithm

I am building some snippets that should work with both the C++20 Ranges library and the range-v3 library and I noticed some differences in the implementation of the copy algorithm.The following code...

View Article

what does [undefined reference to `SetLastError@4'] mean?

I use mingw-w64 to deploy C++ on windows, everything is normal except when I use the library function, the following problems will be reported at...

View Article
Browsing all 21994 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>