Hi, everyone:

     I have ported the gcc, newlib and binutils to my new risc target.
But when I write a simple program helloworld.c:

     #include <stdio.h>
    int main(void)
   {
          printf("Hello World!!!\n");
          return 0;
   }

   run the command like this:
   rice-elf-gcc helloworld.c

    error occurred from ld which indicates some undefine reloc names.
    I just wanna get the argment passed to ld, when I could debug the
ld with gdb.
    I run the command the
        rice-elf-gcc helloworld.c -v
    But I couldn't get the parameter passed to ld.
    and I don't know what the relationship between "collect2" and
"ld". It seems they do have some connections between them.

    Thanks very much.
    Best wishes.

                             daniel

Reply via email to