Search:

Type: Posts; User: pulio

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    7,259

    It contains a reference to: -dynamic-linker...

    It contains a reference to: -dynamic-linker /lib64/ld-linux-x86-64.so.2

    Is it not being overrided when I call -dynamic-linker in my post above ?
  2. Replies
    4
    Views
    7,259

    myuser@linux:~/Desktop$ gcc -nostdlib...

    myuser@linux:~/Desktop$ gcc -nostdlib -Wl,-dynamic-linker,/home/myuser/Desktop/ld-linux-x86-64.so.2,-rpath,/home/myuser/Desktop libc.so.6 libgcc_s.so.1 simple.c
    /usr/bin/ld: warning: cannot find...
  3. Replies
    4
    Views
    7,259

    gcc and -nostdlib

    How can I link files manually to gcc rather than use the ones installed in the OS ? The point is that the only the manually provided files should be used when executing the program: glibc, libgcc,...
  4. Replies
    12
    Views
    14,206

    Ok, so what method would you suggest me to use ?...

    Ok, so what method would you suggest me to use ? I wish to code my own method rather than use a library.
  5. Replies
    12
    Views
    14,206

    That function attempts to replace UTF-8 chars...

    That function attempts to replace UTF-8 chars with html-decimal-entity strings (which are essentially ASCII strings).

    So the question is:
    Obviously, an ASCII char can be replaced by an ASCII...
  6. Replies
    12
    Views
    14,206

    Ok, so substituting a UTF-8 char with a...

    Ok, so substituting a UTF-8 char with a html-decimal is correct ?



    char *chartodecimal(const char *string) // replaces all occurrences of CHARs to DECIMALs.
    {
    conversionpointer = (char...
  7. Replies
    12
    Views
    14,206

    char array in UTF-8 ?

    I'm using gcc (c99) in Debian-linux.

    Can somebody clarify why this works ? I thought a char array could only hold ASCII chars.

    Since it works, what is wchar_t and unsigned char used for ?

    ...
  8. Thread: getnameinfo()

    by pulio
    Replies
    0
    Views
    2,086

    getnameinfo()

    N00B. I'm trying to feed an IP into a function and return it's host name. I'm using this website's manual but cannot figure out how to feed the actual IP inside the function. Anybody can help? I'm...
Results 1 to 8 of 8