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
880 views
1 answer
    In the following line of code: bootrec_reset(File(path, size, off), blksize); Calling a function with ... jibberish about rvalue references? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
475 views
1 answer
    I'm using g++ and it told me that I defined _GNU_SOURCE on the command line, but I didn't. I now ... to #undef _GNU_SOURCE in every source file. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
428 views
1 answer
    Is there any way that I can discover the type of a variable automatically in C, either through some mechanism ... a different language. Thanks! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
729 views
1 answer
    I cut&pasted the below code from a previous question into a file called "avishay.cpp" and then ran gcc avishay.cpp only ... A!!!" return 1; } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
562 views
1 answer
    I'm running Ubuntu 12:04LTS and installed arm-linux-gnueabi C and C++ compiler. The compiled binary won't run on ... World"<<endl; return 0; } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
539 views
1 answer
    Here is the Makefile code: CC=gcc CXX=g++ OBJS=OMXComponent.o Event.o hello_jpeg.o JPEG.o OMXCore.o Locker.o ... o hello_jpeg.o Locker.o Event.o See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
871 views
1 answer
    In the following line of code (which declares a global variable), unsigned int __attribute__((section(".myVarSection ... around the nobits flag? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
649 views
1 answer
    I have encountered this piece of code: struct test { uint32 num_fields; char array_field []; }; How can I ... gcc extension for the C language? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
750 views
1 answer
    I am trying to cross-compile the Azure IoT SDK C for a Mips processor. Cross-compiling an older version ... 1) SET (CMAKE_CXX_COMPILER_WORKS 1) See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
576 views
1 answer
    two shared libraries liba.so and libb.so. liba.so uses libb.so. All c files are compiled with -fPIC. Linking uses - ... .# at the end of libb??? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
730 views
1 answer
    I am a Linux Mint 15 User. i wanted to write simple program in C. Below is my code.(hw.c) #include< ... /usr/lib/syslinux/com32/include/stdio.h See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
552 views
1 answer
    I am trying to use C++11 threading facilities with Android NDK, but not sure how to make it use the latest compilers ... I build with gcc 4.8? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
966 views
1 answer
    I am using amazon ec2 ubuntu 11.04 server sudo pip install python-snappy also I tried to downloaded package ... /github.com/andrix/python-snappy See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
551 views
1 answer
    For example could I mix a set of libraries that have been compiled in say GCC-4.6 with GCC-4.9. I'm ... issues likely to occur? If so what? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.5k views
1 answer
    I wonder how to check the version of OpenMP on a Linux remote machine? I don't know where it is installed either. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
627 views
1 answer
    #pragma pack(L1_CACHE_LINE) struct A { //... }; #pragma pack() A a; and struct A { //... }; ... L1_CACHE_LINE))) What's difference between them? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
775 views
1 answer
    This is strange because I was able to get the error below to go away by removing the reference to libm. gcc ... , and that bothers me... See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    I would like to print a macro value (expand the macro) in the #warning directive. For example, for the code: ... how do I augment the code? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
777 views
1 answer
    all,I write a code like this in my mac os x 10.8,and when I use "gcc use_new.cpp -o use_new " to compile it ... How are you!"<<endl; return 0; } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
794 views
1 answer
    I'm trying to compile a simple app with gcov and getting the following link errors: gcc AllTests.o CuTestTest.o ... c -o CuTest.o CuTest.c See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
551 views
1 answer
    My Code const int howmany = 5046; char buffer[howmany]; asm("lea buffer,%esi"); //Get the address of ... each element to the al register. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
572 views
1 answer
    How do I write a portable GNU C builtin vectors version of this, which doesn't depend on the x86 set1 ... the division calls an SVML function! See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
611 views
1 answer
    When attempting to call functions in math.h, I'm getting link errors like the following undefined reference to ... the definition for sqrt? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
537 views
1 answer
    The C standard states: ISO/IEC 9899:1999, 6.2.5.15 (p. 49) The three types char, signed char, ... to be defined as standard compatible? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
698 views
1 answer
    I have installed GCC and GTK+. Its working fine, but i need to statically link GTK+ libraries with my application ( ... exist only one '.exe'. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
718 views
1 answer
    I have been trying to follow the tutorial at http://gnuu.org/2009/09/18/writing-your-own-toy-compiler/5/ ( ... that, could someone help me out? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
642 views
1 answer
    I would like to compute the sum, rounded up, of two IEEE 754 binary64 numbers. To that end I wrote the C99 program ... required. in <fenv.h> | | See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
914 views
1 answer
    Example: struct Foo { Foo() { printf("foo "); } }; static Foo foo; __attribute__((constructor)) static void ... doesn't say anything about it.) See Question&Answers more detail:os...
asked Oct 17, 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

2.1m questions

2.1m answers

60 comments

57.0k users

...