Questions tagged as 'gcc'

1
answer

Sum of two numbers in floating point by inline function asm in C

I am working with gcc in linux, I have an implementation of an asm inline function, which adds two numbers in floating point and returns them by reference in the variable r also passed as a parameter, compiles but the result of the sum is 0.0 ,...
asked by 12.01.2018 / 03:30
1
answer

Error calling a function in c

I have the .c file with the function I want to invoke #include <stdio.h> #include <string.h> #include <stdlib.h> #include "entrada_minishell.h" void imprimir_prompt() { printf("minishell> "); fflush(stdout);...
asked by 02.05.2018 / 12:19
1
answer

relocation R_X86_64_32S against

Hi, I am programming in assembler and when compiling it shows me the error of the title, this is all the error that generates me / usr / bin / ld: /tmp/ccbjmJPt.o: relocation R_X86_64_32S against '.data' can not be used when making a shared o...
asked by 08.08.2017 / 06:00
0
answers

Error trying to generate the executable file with gcc when updating to Mojave

Before I could compile that way, when I upgrade to Mojave I get that error. Does anyone know how to correct it?    $ gcc Factorial.c       xcrun: error: invalid active developer path (/ Library / Developer / CommandLineTools), missing xcrun a...
asked by 11.10.2018 / 05:42
0
answers

The profiler gprof does not work correctly

Well my problem is this: I'm working on c on Linux. I am evaluating the execution time of different functions and use gprof for it. I was using it without problems but I had to reinstall the operating system and now the generated reports are emp...
asked by 11.06.2018 / 01:05
0
answers

Window in c with winapi

I'm making an application in c, in windows, with mingw. Currently just write on the screen (in a console) something, and what I want is to dispense with console and print things in a simple window with a memo field and go writing things in that...
asked by 30.04.2018 / 12:36
1
answer

Pass variable by arduino library

I'm creating a new sketch in Arduino, but I have a problem, although everything compiles well without errors, it does not work, I do not know if it's a library or the sketch, to debug I would like to pass a variable that changes its value when g...
asked by 21.03.2018 / 17:56
1
answer

Problems installing MinGW on Windows

Try installing minGW on my windows 10, but I get errors and I do not know what they are, my internet works well. I leave the details in case someone knows how to solve mingw-get: *** ERROR *** Get package: http://prdownloads.sourceforge.net/mi...
asked by 27.11.2017 / 00:05
1
answer

version GLIBCXX_3.4.21 not found

When I try to install the program (./Rack.sh), I get this error: ./Rack: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version 'GLIBCXX_3.4.21' not found (required by ./Rack) ./Rack: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version 'GLIBCXX_3.4...
asked by 26.11.2017 / 22:12
1
answer

Invoke g ++ 4.9 with g ++

I want to install version 4.9 or higher of g ++. The problem that I have found is that to invoke it I need to type g ++ - 4.9. Is there any way to install and / or configure this version of g ++ to invoke it the way I want?     
asked by 21.06.2017 / 00:24