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
893 views
1 answer
    I was reading some answers and questions on here and kept coming up with this suggestion but I noticed no one ever ... getchar(); return 0; } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
800 views
1 answer
    I am trying to invoke the following macro in my .cpp file: #define IAP_ROM_LOCATION 0x1FFF1FF1UL #define IAP_EXECUTE_CMD( ... GCC for Cortex-M3. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
986 views
1 answer
    What does this line in ARM assembly do? mrc p15, 0, %0, c9, c13, 0" : : "r" (counter) What is p15? ... and what are the roles or c9, c1? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
721 views
1 answer
    I have been trying to create an ISR handler following this tutorial by James Molloy but I got stuck. Whenever I ... . What am I doing wrong? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
722 views
1 answer
    If I do this: // In header class Foo { void foo(bar*); }; // In cpp void Foo::foo(bar* const pBar) { // ... is going on? I'm using gcc 4.1.x See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    I am trying to get call stack backtrace at my assert/exception handler. Can't include "execinfo.h" ... reproduce full call stack backtrace? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
738 views
1 answer
    I am trying to compile a simple test app using a library I've written. This compiles and runs fine on ... other machines for many months... See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
726 views
1 answer
    In this C program, data is not being shared between process i.e. parent and child process. child has it's ... What is going on in background? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
718 views
1 answer
    I'm trying to get my head around how the linking process works when producing an executable. To do that I'm reading ... puts("Hello, world"); } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
944 views
1 answer
    I am currently working to debug a subroutine of some software that my boss has written back in the 90s. ... Why does gfortran now complain? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
752 views
1 answer
    I am coming up against a vexing conundrum in my code base. I can't quite tell why my code generates this ... can I achieve the same behavior?? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
798 views
1 answer
    I was looking through an Intel provided reference implementation of RDRAND instruction. The page is Intel Digital ... the extended assembler? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    I know that to compile to assembly, I should use the -Soption with gcc or g++, but how do I get MIPS ... using Ubuntu 64-bit, if that helps. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
822 views
1 answer
    At least Debian does not provide a usable toolchain to cross develop for the Raspberry Pi 1. The Linaro toochain ... programs from a Linux host? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
863 views
1 answer
    I have following struct: typedef struct my_struct { int a; int b; int *c; } my_struct; is: my_struct n = (my_struct) { ... ) { .b = 3, 0 }; See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
798 views
1 answer
    I'm using :make from vim and ending up jumping to the file with issues. Recently, at least I noticed with gcc 4 ... a known fix for this in vim? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
837 views
1 answer
    I have a large code base that uses the c++ <complex> header and many std::complex<double> objects. But now ... than just a small slice of gccs? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
814 views
1 answer
    I am having problems getting any kernel modules to build on my machine. Whenever I build a module, modpost always ... /tmp/mod-test/hello.ko See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
983 views
1 answer
    I have a 32 bit machine and I am running Ubuntu 9.10 on it. I have the latest gcc compiler. The problem ... it over my existing gcc compiler. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.1k views
1 answer
    I recently explored distcc and couldn't make it work. So I sudo apt-get remove distcc After that, I ... symbolic links and removing the exports See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
844 views
1 answer
    I'm trying to use cmpxchg with inline assembly through c. This is my code: static inline int cas(volatile void ... is using AT&T style. Thanks See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
756 views
1 answer
    I'm currently in the process of writing an intermediate-memory bootloader for an ATMega. I'd like to place a ... sure what I'm doing there. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.7k views
1 answer
    I'm trying to use the new version of libyaml-cpp and having linker problems (undefined reference to 'YAML: ... something wrong with the library. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    On upgrading to boost 1.60.0 some applications are failing to link with boost log when built with MinGw 4.9 ... linking to fail on Windows? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
761 views
1 answer
    With the following code: int main(){ printf("%f ",multiply(2)); return 0; } float multiply(float n){ ... scenes? Thanks a lot in advance. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
995 views
1 answer
    I have a lengthy numeric integration scheme written in C. I'd like to test my algorithm in floating point ... float in the entire program? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
812 views
1 answer
    When using va_start(), va_arg() and va_end() to read parameters passed to a method, is there a way to ... promotions), random errors will occur. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I have a static library of C files, compiled with g++ on Cygwin. I wish to unit test one function that is ... t have this problem. Ideas please? 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

...