Search:

Type: Posts; User: MASX

Search: Search took 0.00 seconds.

  1. Replies
    0
    Views
    2,512

    disable interrupts

    Hi all,

    I have a single board computer operating on linux. I want to disable all/some interrupts. How can I do this?


    thanks
  2. Thread: debugging C code

    by MASX
    Replies
    3
    Views
    1,460

    Thank you. I think I will use fflush for now.

    Thank you. I think I will use fflush for now.
  3. Thread: debugging C code

    by MASX
    Replies
    3
    Views
    1,460

    debugging C code

    Hi everyone,
    I have written a code for a single board computer (PC104). the board has linux as its operating system.
    I am having some trouble debugging the code. The way i am doin it now is to...
  4. Replies
    4
    Views
    1,579

    Thank you. It worked. I appreciate it. ...

    Thank you. It worked. I appreciate it.
    Question: Do i need to add a .exe prefix (main.exe). is it enough to just leave it (main).
  5. Replies
    4
    Views
    1,579

    compiling and linkning using gcc

    Hi,
    I have a question about compiling and linking using gcc:

    What does a file name with a suffix '.a' represent?

    If I have multiple .c and .h files, how can I link them together?
    How can I...
  6. Replies
    6
    Views
    2,596

    I followed the mentioned steps, except the...

    I followed the mentioned steps, except the following:

    I couldnt apply it, coz I didn't directly generate the .a file.



    user@user-OptiPlex-GX280:~/Desktop/NN_ev3$ gcc -g -o main main.c...
  7. Replies
    6
    Views
    2,596

    I think my problem relies in the way i am...

    I think my problem relies in the way i am defining my defining my extern variables. the extern variales are defined in one header files as:

    #ifndef __NN_EV3_DATA_H__
    #define __NN_EV3_DATA_H__
    /*...
  8. Replies
    6
    Views
    2,596

    segmentation error

    Hi,
    I have some problems when compiling a program. I compile the program using:
    gcc -o main main.c NN_ev3.a -lm, but i get a segmentation error. I suspect that the eror lies in how i am defining...
  9. Replies
    2
    Views
    2,284

    Thank you.

    Thank you.
  10. Replies
    2
    Views
    2,284

    C passing 2D arrays to function

    Hi,

    passing an array or a 2D array is causing me some trouble.

    can you please check the way i am doin it?

    Here is how i define my arrays and pass them:

    ...
Results 1 to 10 of 10