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
636 views
1 answer
    I was wondering if there was any way that would allow me to specify anything other than eax, ebx, ecx and edx as output ... : /* no input */ ); See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
585 views
1 answer
    I have recently started learning C as a side project. I am working under OpenSuse with the latest NetBeans using the ... am I doing wrong here? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
620 views
1 answer
    How do I return in Assembler a 64bit value ? I tried this: C-program: #include <stdio.h> double result=0; ... always 10.0 What did I wrong? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
500 views
1 answer
    1)How C structures get passed to function in assembly. I mean pass by value, not pass by reference. 2)By the ... code above showed it wasn't. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
553 views
1 answer
    I'm using GNU C Vector Extensions, not Intel's _mm_* intrinsics. I want to do the same thing as Intel ... while the second results in segfaults. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
466 views
1 answer
    The question title should say it all, but here's an example of what sort of thing I'm looking for: #ifndef ... and close this as a dupe.) See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
986 views
1 answer
    The mulx instruction was introduced with the BMI2 instruction set starting with the Haswell processor. According to ... Intel's documentation? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
572 views
1 answer
    I've been working on reading through some different arm assembly code generated by gcc, and I came across ... am I missing something magical? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
842 views
1 answer
    I was looking at H.J. Lu's PATCH: Update x86 rdrand intrinsics. I can't tell if I should be using _rdrand_u64, ... , or how to generate a block. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
792 views
1 answer
    I tried to run gcov with -fprofile-arcs & -ftest-coverage and nothing for linking. It was giving this ... appreciated with vote up. Thanks. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
820 views
1 answer
    Simple question: Can scanf read/accept a "small integer" into an unsigned char in ANSI C? example code un_char.c ... be used in this situation? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
589 views
1 answer
    Is there a script available for post processing some objdump --disassemble output to annotate with cycle counts? ... for a simple script. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
985 views
1 answer
    Any reason cc -g -lm -DBLITZ_HOST_IS_LITTLE_ENDIAN would produce an error with code using math.h? Is it possible ... a comment in the gist. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
424 views
1 answer
    As a dyed-in-the-wool functional programmer I find it hard not to try to shoehorn my favourite paradigm into ... this in the real world. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
826 views
1 answer
    I'm trying a simple cross compile (cc) for an ARM-CORTEX-A9: To keep things simple thats the c-code: ... helloworld.c -o helloworld_cc -static See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
764 views
1 answer
    I have the following code: int main(void) { struct { int x; } a, b; struct { int x; } c; struct { int x; ... *pList = &list1; /* Doesn't work */ See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
716 views
1 answer
    I'm working on some code where it would be highly desirable to take condition-flags output from an inline asm ... an operation in inline asm. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
467 views
1 answer
    I am coming from Java and learning C++ in the moment. I am using Stroustrup's Progamming Principles and Practice ... ways of compiling C++? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
936 views
1 answer
    I am trying to build program with multiple files for the first time. I have never had any problem with compliling ... .7.2-2ubuntu1). Thank you See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
595 views
1 answer
    I am writing some C code and in my code I have two nested loops. On a particular condition I want to ... is a sub array break_then_continue: } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
569 views
1 answer
    According to https://sourceware.org/glibc/wiki/libmvec GCC has vector implementation of math functions. They can be ... or in any other way? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
764 views
1 answer
    Issue: I have a weird issue that I wasn't expecting. I have a class called Answers and within the header is ... codeblocks.x86_64 13.12-14.fc22 See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
619 views
1 answer
    How would one go about linking (some) symbols to specific fixed addresses using GNU ld so that the binary could ... to the correct "addresses". See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
556 views
1 answer
    If I want to compile my project with -flto is it enough to have built gcc with --enable-gold or do I also need ... this gcc -flto one.c two.c See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
602 views
1 answer
    I've run into this issue in the past: LLVM defines __GNUC__, but it can't consume a program GCC can. ... char16_t and char32_t as builtin types. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
653 views
1 answer
    I've tried for hours to find the implementation of rand() function used in gcc... It would be much ... implementations for the gcc compiler? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
737 views
1 answer
    My Xcode target links against hdf5 library (using the Link Binary with Libraries build phase). libhdf5 is installed ... in the same location. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
889 views
1 answer
    How to add ctr0.o ? I get this error: yagarto-4.7.2/bin/arm-none-eabi-ld: cannot find ... entry symbol _start; defaulting to 0000000000008000 See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...