This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

run a program??

Other Parts Discussed in Thread: TMS320DM6446

I want to run a program on dm6446 EVM.

I followed the instructions in "TMS320DM6446 DVEVM Getting start guide",but when I entered:

arm-none-linux-gnueabi-gcc hello.c -o hello (I'm using arago file)

I received this error:

/home/mosol2005/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot open output file hello: Permission denied
collect2: ld returned 1 exit status

when I use "sudo",I received this error:

sudo: arm-none-linux-gnueabi-gcc: command not found

I tried Montavista,but I received the same error

  • Hi,

    Can you attach your hello.c ?

    I have attached a test program which just prints I have successfully

    cross compiled see if it works for you I am attaching the file.

    Command: arm-none-linux-gnueabi-gcc test.c -o test

    #include <stdio.h>
    
    int main(int argc, char *argv[])
    {
    	   printf("\nSuccesfully cross compiled");
    	   return 0;
    }

    Regards,

    --Prabhakar Lad

  • The issues might be with the makefile .... or the problem with the arm-none-gnueabi cross compiler installation.. please send me the make file ans hello.c file... i will have a look on that...

  • so here we do'nt require a makefile ??

  • still the same error.I dont know what must do.....

    .

    #include <stdio.h>
    int main()
    {
    printf("salam davinci\n");
    return 0;
    }
    
    this is my hello.c file.

    and this is my makefile

    8611.Makefile.rar

  • Mostafa,

    Add the path of your compiler bin directory in /etc/enviornment file. This will get solved.