Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged gcc

0 votes
1.1k views
1 answer
    My system compiler (gcc42) works fine with the TR1 features that I want, but trying to support newer compiler ... arriving before TR4... hehe. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I just downloaded CLion from https://www.jetbrains.com/ because I just love the rest of their products. However, ... it work. Can anyone advise? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
993 views
1 answer
    The Intel ISA reference documentation for this instruction is clear: VPBLENDVB xmm1, xmm2, xmm3/m128, xmm4 Select ... $xmm1 or something else? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
952 views
1 answer
    Question about type punning: why does this code break strict aliasing rules: int main() { int a = 1; short ... gcc -fstrict-aliasing. Thank you! See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
973 views
1 answer
    I'm currently trying to build a Cuda project with Cmake on MacOS 10.9. My C and C++ compiler are gcc, ... make clang work without "dumpspecs"? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    Currently, with g++-4.8.1 you have to compile a file in C++11-mode via g++ -std=c++11 -o prog.x prog. ... " myt(const char*, sze_t); and so on. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    I have worked on a project where I was using g++ to compile C code in files that end in .c. The reason is ... to use g++ to compile C files. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    On Windows, I'm cross-compiling a program for ARM/Linux using CodeSourcery's cross-compiler suite. I use ... turn off this annoying behavior? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
979 views
1 answer
    When writing C/C++ code, in order to debug the binary executable the debug option must be enabled on the ... the debugger function as it does? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    In fact, -static gcc flag on Linux doesn't work now. Let me cite from the GNU libc FAQ: 2.22. ... of glibc environment and Linux versions; See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
882 views
1 answer
    I′m learning to do some low level VGA programming in DOS with C and inline assembly. Right now I′m trying to ... help me correct my code? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
921 views
1 answer
    From Thinking in C++ - Vol 1: In the second pass, the code generator walks through the parse tree and ... then translate it to machine language? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    When I try to execute a 32-bit file compiled with gcc -m32 main.c -o main on Windows Subsystem for Linux, ... running 32-bit executable on WSL? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    I have a problem with this CMakeLists.txt file: cmake_minimum_required(VERSION 2.6) SET(CMAKE_C_COMPILER C:/MinGW/bin/gcc) ... 7 MinGW/GCC 4.6 See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    Folks, in my application I'm using clock_gettime(CLOCK_MONOTONIC) in order to measure the delta time between frames (a typical ... ), gcc-4.4.3. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.5k views
1 answer
    I have a virtual Debian system which I use to develop. Today I wanted to try llvm/clang. After installing clang I ... anyone have any idea how I can fix this? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I'm trying to figure out whether I can build a static library that hides all of its internal objects and ... symbols are formally exported or not.) Thanks. Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    How can I statically link only a some specific libraries to my binary when linking with GCC? gcc ... -static .. ... static version of some of them (eg: libX11). Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
917 views
1 answer
    How can I tell, with something like objdump, if an object file has been built with -fPIC? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
955 views
1 answer
    I experienced some odd behavior while using C++ type traits and have narrowed my problem down to this quirky little ... me to repeat code all over the place. Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.5k views
1 answer
    gcc and ld provide many ways to specify a search path for libraries-among them the -rpath and -L flags. ... the differences, if any, between these two options? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
898 views
1 answer
    I have the following makefile that I use to build a program (a kernel, actually) that I'm working on. Its ... 'm fairly certain I've seen in other projects. Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    I have started programming practice on codechef and have been confused by the difference between C and C99. What does ... by ANSI like C89, C99 and C11. Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.5k views
1 answer
    I want to setup a custom toolchain with cmake. I've set the compiler but I don't know how to set the ... compiler but the linker problem will not be solved. Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    Is typeof in C, really an operator? I'm thinking because there is no polymorphism in C, that there is nothing to ... use any (processor) run-time (in GCC)? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.6k views
1 answer
    I'm trying to use GCC (linux) with a makefile to compile my project. I get the following error which is can't seem to ... .o: enode.cpp enode.h g++ -c node.cpp Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    In TurboC++, I can use the getch() function from conio.h. But in Linux, gcc doesn't provide conio.h. How can I get the functionality of getch()? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I am implementing a divide and conquer polynomial algorithm so I can benchmark it against an OpenCL implementation, ... compiler error, but I really doubt it. Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
To see more, click for the full list of questions or popular tags.
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...