Search:

Type: Posts; User: mario++

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,030

    Simply question about Pthread

    Hi,
    If I open a file for writing in main(), will all threads see the file already open? So can threads write directly to the file?

    Thanks!
  2. Replies
    23
    Views
    20,176

    It works Thanks for replies

    It works




    Thanks for replies
  3. Replies
    23
    Views
    20,176

    My Windows 7 runs in x86 mode (CPU: Athlon 64),...

    My Windows 7 runs in x86 mode (CPU: Athlon 64), and Debian i386 (CPU AMD Athlon XP).

    As I said, my intention is to produce a code (two executables, one for Windows OS and the other for Linux) that...
  4. Replies
    23
    Views
    20,176

    As I found in manual for -m32: "The 32-bit...

    As I found in manual for -m32:
    "The 32-bit environment sets int, long and pointer to 32 bits and generates code that runs on any i386 system."

    What do "generates code that runs on any i386...
  5. Replies
    23
    Views
    20,176

    Thanks, I lerned that MinGW GCC 3.4.5 does not...

    Thanks, I lerned that MinGW GCC 3.4.5 does not support -mtune=generic option


    What does -mtune=generic mean on Linux? Do it mean -mtune=i386?
  6. Replies
    23
    Views
    20,176

    The problem is that I don't need an executable...

    The problem is that I don't need an executable optimized for my machine but a generic executable for the most common processors. And on linux it works fine...
  7. Replies
    23
    Views
    20,176

    I need to compile hello.c for a generic x86...

    I need to compile hello.c for a generic x86 CPU...
    am I dooing wrong?
  8. Replies
    23
    Views
    20,176

    [GCC] Compiling for a generic x86 architecture

    Hi,
    I wrote a simple hello world program,
    when I try to compile it on Linux with the following option, I have no problem:

    gcc hello.c -mtune=generic


    While on Windows (MinGW) I get this...
  9. What I mean: Is it possible to distinguish a...

    What I mean: Is it possible to distinguish a Windows Shortcut (.lnk) from a file?
  10. Yes, I'm refferring to Windows Shortcut

    Yes, I'm refferring to Windows Shortcut
  11. Is there a way to fix the problem on Windows?

    Is there a way to fix the problem on Windows?
  12. Why on Debian it is not identified as a link?

    Why on Debian it is not identified as a link?
  13. Distinguish symbolic link from file (stat function)

    Hi, I'm new to the forum. Sorry fo my bad English :)
    I've a problem to distinguish symbolic link from file, I created a link ("mylink") to a file, but when I run the following code,
    1. On Debian...
Results 1 to 13 of 13